There is nothing that can be done. Any moderation can be easily bypassed (for example, obfuscated code, code loaded from external servers etc.). You just should not install software that you don't trust.
For example I don't use any browser extensions because I don't have time to inspect their code after every update.
I wonder why both Google and Mozilla don't write this at the front page of their extension stores?