I think no theory of anonymity works. A villain isn't going to keep their pinky-promise to not tell everyone that your prestigious institution took their money.
It’s not particularly difficult to make a donation anonymous in a way that the recipient genuinely doesn’t know who made the donation. Just have a neutral third party handle it. This could be a donor advised fund or a trustee, for example. I suspect this isn’t particularly rare.