This project runs commands on your machine when you open it
Infection level: HIGHEX-066 · Project settings that run commands on your machine
What the attacker is trying to do
A settings file that comes with the project lists commands (hooks, a key helper or a status line) that run on your machine without asking, as soon as a session starts. Whoever wrote the file chooses what runs.
Defanged example
No example file exists for this rule yet.
How to fix it
A settings file that comes with the repository can run commands the moment you open the project or start a session. Read the command and what it runs; remove it from the committed file and, if you want it, put it in your own user settings. Do not trust a project with such a hook until you have read it.
Technical details
- Detected by
- Checks files of type
- mcp-config, config
- OWASP
- ASI05 Unexpected Code Execution; LLM06:2025 Excessive Agency; ASI07 Supply Chain Vulnerabilities