tdd-cycle-manager
Warn
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/check_phase.pyusessubprocess.run()withshell=Trueto execute input received from command-line arguments. - Evidence: In
scripts/check_phase.py, the variabletest_commandis constructed fromsys.argv[1:]and passed directly tosubprocess.run(test_command, shell=True, capture_output=True, text=True). - Risk: This allows for arbitrary shell command execution. An attacker could potentially use shell metacharacters (e.g.,
;,&&,|) in the input to execute unintended system commands.
Audit Metadata