improving-test-suites
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands for test validation via the
test-validatorsubagent. It implements a robust security control throughscripts/check-test-command.sh, which validates command prefixes against an allowlist (e.g., pytest, npm test, go test) and strictly rejects shell metacharacters like;,&,|, and$(to prevent arbitrary command injection.\n- [INDIRECT_PROMPT_INJECTION]: Because the skill ingests untrusted user code and web content, it is exposed to indirect prompt injection. This is mitigated by thereferences/untrusted-content-policy.md, which is loaded by all subagents and mandates treating all inspected content as data rather than instructions. Subagents are specifically instructed to quote instruction-like patterns as risks instead of obeying them.\n- [EXTERNAL_DOWNLOADS]: The skill fetches content from external documentation sites to inform its refactoring decisions. This behavior is restricted by a strict fetch allowlist inreferences/external-sources.md, which is limited to reputable HTTPS sources such as Google's Testing Blog, OWASP, and official framework documentation sites.
Audit Metadata