improving-test-suites

Pass

Audited by Gen Agent Trust Hub on May 18, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The test-validator subagent (subagents/test-validator.md) is designed to execute shell commands provided by the user via the TEST_COMMAND input. This is the primary mechanism for validating that refactored tests pass as expected.
  • [EXTERNAL_DOWNLOADS]: The skill fetches testing best practices and security guidance from several well-known and trusted external organizations listed in references/external-sources.md. These include official documentation and blogs from Google, Microsoft, Martin Fowler, OWASP, and Kent C. Dodds. These resources are used to provide the AI with context for making informed testing decisions.
  • [PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection (Category 8) because it is designed to ingest and process the content of user-specified files (TARGET_TEST_FILES).
  • Ingestion points: Target source files are read and analyzed in subagents/test-value-reviewer.md and subagents/test-refactorer.md.
  • Boundary markers: The instructions do not employ explicit delimiters or instructions to ignore embedded commands within the analyzed code files.
  • Capability inventory: The agent has the capability to execute arbitrary shell commands via subagents/test-validator.md and write to the file system via subagents/test-refactorer.md.
  • Sanitization: There is no explicit sanitization or filtering of the ingested file content before it is processed by the AI.
Audit Metadata
Risk Level
SAFE
Analyzed
May 18, 2026, 04:54 PM
Security Audit — agent-trust-hub — improving-test-suites