Sometimes for commissions, people use their own scripts by doing
require(script_model_id)
Is it possible for a backdoor to but put there, and how can you tell?
If someone, for example, used something like require(83734781)
and the script was super important to the whole game, and I’m not sure if I can trust it, how can I see the contents of that script?
Purchase the model, insert it in a game in studio, inspect contents.
Repeat as many times as needed since backdoors/malicious models often have multiple layers of requires.
Yes, this can be abused. Assets can be updated to include malicious code, even if at first it was harmless. If you’re paranoid about this kind of thing, I don’t think it’d be much to ask the person you’re commissioning to not use require(id) but to instead have the require be a ModuleScript in the game.
If you’re a bit suspicious about who you commission your best bet is to manually insert the modules in the game, review the code, and require the modules path instead of the website id. The website version can become public and get updated at any time, which means whoever owns it have full access of the game.