Is this script safe?
Paste code on the left. It is checked automatically, and the verdict appears here.
The report shows what the code can reach — network, files, commands, credentials — and flags the combinations dangerous scripts rely on.
Checks run locally in your browser. Nothing is uploaded, logged or stored.
Results update as you type.
How it works
A script from a tutorial, a forum thread, a YouTube description or an AI answer can do anything your user account can do the moment you run it. Paste it here first: the language is detected automatically, and the checker reports every capability it finds, from network access to persistence, before a single line executes on your machine.
- The language is detected from the code, and you can override it in the dropdown.
- JavaScript and TypeScript are parsed into an abstract syntax tree, so function calls, imports and property accesses are matched structurally rather than as text. Python, PowerShell and shell are scanned with rules that first mask comments and string contents. HTML is scanned tag by tag, with inline scripts handed to the JavaScript analyzer.
- Findings are split into capabilities (what the code can do) and suspicious behaviour (patterns typical of malicious code).
- Behaviour chains are evaluated: reading cookies is one thing, reading cookies and posting them to a hardcoded host is another.
- A risk level is assigned and every finding links to the line it came from, so you can jump straight to the code responsible.
What it detects
- downloads that are piped straight into execution, such as curl | bash and irm | iex
- commands and child processes the script launches, including ones assembled from strings
- files it reads, writes or deletes, with special attention to SSH keys, browser data and wallets
- code decoded from Base64 or hex and executed at runtime
- persistence: cron jobs, scheduled tasks, registry Run keys, systemd units and shell profiles
- security tool tampering, history clearing and other evasion
- the exact hosts the script contacts, so you can judge whether you trust them
Privacy: your code stays in your browser
The whole static analysis, including parsing, rule matching and risk scoring, is compiled into the page and runs on your machine. Checking code never sends it anywhere and nothing is logged. Without an account nothing is stored either: close the tab and it is gone.
Signing in is optional. If you do, the code on your desk (up to 3,000 characters) is saved to your account so you can open it on your other devices. Only you can read it, pressing Clear deletes it, and it is deleted automatically 24 hours after your last edit.
Why we never say "this code is safe"
Nobody can prove a piece of code is harmless by inspecting it. Code can fetch its real payload at runtime, behave differently on another machine, or hide its intent in a dependency you cannot see. So the verdict is always one of four: low apparent risk, potential risk, high risk, or unable to determine. "Low apparent risk" means these particular patterns are absent — nothing more.
Frequently asked questions
- How do I check if a script is safe to run?
- Paste it into the checker before running it. The scanner detects the language, lists everything the script is able to do and flags combinations typical of malicious scripts, such as downloading a payload and executing it. Read the findings, check the hosts it contacts, and only run it once you understand each capability.
- Which kinds of scripts are supported?
- PowerShell, Bash and other POSIX shells, Python, JavaScript and TypeScript, plus HTML pages with embedded scripts. The language is detected automatically and you can override it from the dropdown.
- If the checker finds nothing, is the script safe to run?
- Treat it as "no known dangerous patterns", not as a guarantee. A script can fetch its real payload at runtime or hide behavior in heavy obfuscation, which is why the best verdict here is "low apparent risk" and why obfuscated scripts are rated "unable to determine" instead.
- The script got a high risk rating. What should I do?
- Do not run it. Read the flagged lines: the rating comes from behavior like piping a download into execution, touching credential files or installing persistence. If the script came with instructions that pressure you to run it quickly or paste it into a terminal, that is a strong scam signal in itself.