If the game has access to the repository then surely it would be able to check if a mod works. Then it would run the code and see if there is an exception. If not then it could be approved using that.
Ok, because i thought you guys had to manually download the mod and test it. Which takes a very long time. Good thinking