test-driven-development
Warn
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill includes instructions that attempt to override the agent's standard behavior of preserving user-authored content. The 'Iron Law' section explicitly states: 'Write code before the test? Delete it. Start over.' and 'Delete means delete.' These imperatives instruct the agent to prioritize a specific development methodology over the safety and integrity of the user's work, encouraging destructive behavior if process rules are perceived to be violated.
- [COMMAND_EXECUTION]: The skill mandates the use of file system operations to delete production code based on a subjective heuristic (whether a failing test preceded the implementation). This creates a high risk of loss of availability and integrity of user work, as the agent is directed to autonomously delete files ('Delete code. Start over with TDD') if it misinterprets the development sequence or fails to find a corresponding test.
Audit Metadata