PowerShell script risk reviewer
Paste a PowerShell script to see which risky patterns it contains, on which lines, why they matter and a safer alternative, with a risk score you can check by hand.
Checked locally in this browser with a fixed rule table; the script is not run, sent or saved. Remove real passwords first. If you press the optional Explain with AI button below, only a short summary of the findings and a few masked matched lines are sent, not the whole script; the preview under "Exactly what will be sent" shows them.
Limits: this is static pattern matching on text. Obfuscation, string building, encoded or downloaded code and variables can hide behaviour, and a clean result does not mean a script is safe. It is not a malware scanner and does not execute, emulate or test the script. Never run a script you do not understand or trust; test in a lab with -WhatIf first.