That's sort of the argument for why we have so much faith in set theory though, and things provable under it. It's not a system with some special powers that let us prove more things, it's a system that only lets us prove things that are intuitively true under "any" proof system (not actually any of course - but as you say a variety of equivalent foundations).
Reducing the correctness of the lean code here to set theory is then also reducing it to everything you can reduce the correctness of set theory to.