How to check Roblox models and assets for backdoors
The patterns that hide malicious code in free models and bought assets, and a 15-minute check you can run before anything goes into your game.
On this page
A backdoor is code hidden in a model or plugin that lets someone else run code in your game, show their own purchase prompts, or send your game's details somewhere. They spread through free models, "leaked" assets and infected plugins. This is the same checklist Rodex staff use when reviewing listings, written for your own place.
Before you start
- Open the asset in an empty baseplate, not your real game.
- In Game Settings > Security, turn off Allow HTTP Requests. In ServerScriptService, make sure LoadStringEnabled is off.
- Do not play test until you have looked at the scripts.
Find every script
Backdoors rarely sit in a script called "Backdoor". Use the Explorer search for Script, LocalScript and ModuleScript, and look inside models, packages, MeshParts and anything named like a Roblox internal (Animate, Health, Weld, ThumbnailCamera). Check disabled scripts too: another script can enable them later.
A quick way to list them all is a command bar snippet that prints each script's full path and line count. Anything deep inside a prop model deserves a look.
The patterns to search for
Use Find All (Ctrl + Shift + F) across all scripts for these:
require(followed by a number. Legitimate code requires modules inside the game, likerequire(script.Parent.Config). A numeric ID loads code from outside, and the author can change it any time.loadstring,getfenvandsetfenv. Rare in honest code, common in hidden code.string.char, long lists of numbers,string.reverseor escaped bytes like\114\101. These build hidden words such as "require".HttpService,PostAsync,webhookandpastebin. Sending data out should be documented, optional and off by default.PromptPurchaseandPromptGamePassPurchase. A model should never prompt players to buy the author's items.TeleportService. Props should not teleport players anywhere.UserId ==andGetRankInGroup. Hard-coded admin for someone who is not you.