EX-069: This project runs a command as soon as you open the folder

This project runs a command as soon as you open the folder

Infection level: HIGHEX-069 · Project files that run a command when the folder is opened

What the attacker is trying to do

A task that runs on folder open, or a dev container command that does more than install dependencies, runs before you have read anything in the project.

Defanged example

No example file exists for this rule yet.

How to fix it

This file makes the editor or the container run a command as soon as the folder is opened, before you have read anything. Read the command; remove it, or make it a task you start by hand. Open untrusted folders in restricted mode.

Technical details

Detected by
Checks files of type
config, mcp-config
OWASP
ASI05 Unexpected Code Execution; ASI07 Supply Chain Vulnerabilities