unit-testing-test-generate
Warn
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
CoverageAnalyzerclass inSKILL.mdimplements a method that runs shell commands viasubprocess.run. Thetest_commandparameter is passed directly as the executable, which allows the execution of arbitrary binaries or scripts if the input is attacker-controlled. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and parses local source files to identify testable units, which is a potential vector for indirect prompt injection attacks where malicious code could influence the agent's behavior.
- Ingestion points: Local source files are accessed via
open()andast.parse()in theTestGeneratorclass. - Boundary markers: No boundary markers or 'ignore' instructions are used when processing the analyzed code.
- Capability inventory: The skill possesses file read capabilities and the ability to execute shell commands for coverage analysis.
- Sanitization: There is no evidence of input validation, escaping, or sanitization for the source code being analyzed or the commands being executed.
Audit Metadata