The coverage workflow instructs the agent to execute code from the audited repository without warning about the risks of running untrusted project code.
- Category
- Output Handling
- Confidence
- 95% confidence
- Finding
The coverage workflow directs the agent to run tests from the repository under audit without requiring isolation or establishing that its code is trusted. Commands such as go test and pytest can execute attacker-controlled initialization, plugins, build hooks, or tests with the agent's permissions, exposing credentials and allowing filesystem modification. Auditing potentially hostile repositories makes this omission particularly dangerous, even though collecting coverage is a legitimate objective.
- Content
