What about reviews and review certificates then?
If you review a the package foo@1.0 you could publicly certify that it is not malicious and maybe earn some money with it.
In turn, you back your claim with a financial security that you pay in case the package actually contains malicious code.