Regarding trust in automated proof systems, one of the more popular such systems is Lean. Recently a bug was found in Lean which allowed creation of an incorrect “proof” that the Collatz Conjecture was false. (It would have been front page news if Collatz had actually been disproven.) Interestingly, there is a separate system called Nanoda whose purpose is to independently verify Lean proofs and guard against this exact situation: a Lean bug allowing Lean to accept an incorrect proof. In this case, somewhat astonishingly, there was a completely independent bug in Nanoda that caused it to accept the faulty Lean proof as valid.
It is a computer-science issue, not just with automated proof systems, that even if you have a formal [and machine-checked
] proof that an algorithm is correct, that does not imply that any particular code implementing it is correct, so that needs to be mechanically verified, and why should you always trust the compiler, maybe you need a checkable certificate that the actual machine-language code satisfies some formal specification, etc.
I would not know about specific issues with the Lean kernel (seems to be a bunch of C++ code in there so it does not seem like it can directly check itself), except that they do seem to have a page listing a dozen or so (hopefully) independently written programs that can verify Lean-compiled proofs, not just one separate system.