Nine patterns, two levels.
A flag means the pattern has no place in a skill and you should read the file before installing. Review means the pattern is sometimes legitimate; the finding shows you the exact line so you can decide.
Downloads and executes code in one step
flagcurl or wget piped straight into a shell, or Invoke-Expression on a download. Common in installers, and still the single easiest way to run anything on your machine.
Destructive command against the system or home directory
flagrm -rf on /, ~ or $HOME, fork bombs, mkfs, dd to a disk. rm -rf on a project folder such as node_modules does not match.
Sends data to an outside endpoint
flagSlack or Discord webhooks, request-catcher services, ngrok tunnels and similar collectors.
Obfuscated or encoded code that is then executed
flagbase64 decoded into a shell, eval of decoded strings, python -c with exec.
Contains rules-override phrasing
review"Ignore previous instructions", "do not tell the user" and similar. Security documents quote these as warnings, so this is a review item: read the line.
References credential files or secrets on disk
review~/.ssh, id_rsa, AWS credentials, reading or printing .env files, the keychain.
Asks for elevated privileges
reviewsudo, chmod 777, chown to root. Often legitimate for installing a system package.
Installs something that runs on its own later
reviewcrontab, launchctl, systemctl enable, Windows Run keys.
Rewrites shared git history
reviewgit push --force, git reset --hard origin.