tdd-guide
Warn
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The module
scripts/coverage_analyzer.pyutilizesxml.etree.ElementTree.fromstring()to parse XML-based coverage reports (e.g., Cobertura). This specific XML parser is not secure against maliciously constructed data and is vulnerable to XML External Entity (XXE) attacks, which could be used to read local files or perform server-side request forgery (SSRF). - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze external, untrusted data including source code files and test coverage reports. This creates a vulnerability where an attacker could embed malicious instructions (e.g., within code comments or XML metadata) that the agent might inadvertently execute while performing analysis or test generation.
- Ingestion points:
scripts/test_generator.pyaccepts source code via the--inputflag, andscripts/coverage_analyzer.pyaccepts coverage reports via the--reportflag. - Boundary markers: Absent. The skill does not employ specific delimiters or instructions to the agent to treat the ingested file content as purely passive data.
- Capability inventory: The skill utilizes file system access (read/write) and executes local Python scripts to perform its functions.
- Sanitization: No sanitization or validation of the content within the ingested files is performed before processing.
Audit Metadata