ai-test-generation

Pass

Audited by Gen Agent Trust Hub on Nov 17, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted external data—such as PRDs, bug reports, code diffs, and API schemas—to derive test requirements and generate executable test code.
  • Ingestion points: The skill accepts input from external sources as described in the Discovery section and Step 1 of the pipeline.
  • Boundary markers: Prompt templates in references/prompt-patterns.md utilize --- delimiters to isolate external content, though they lack explicit instructions to the model to ignore embedded malicious instructions.
  • Capability inventory: The skill environment allows for shell command execution (npx, grep, tsc, ruff), file system interactions (generating test files), and significant agent autonomy in code generation.
  • Sanitization: The process relies on a structured multi-step pipeline and a mandatory human review step (Step 7) to mitigate risks, rather than programmatic sanitization of the input text.
  • [DYNAMIC_EXECUTION]: The core functionality of the skill involves the automated generation of test scripts (Step 6) which are intended for execution in a development or CI environment. The skill includes a verification step that invokes compilers (tsc --noEmit) and linters (ruff, pyflakes) on this generated content.
  • [COMMAND_EXECUTION]: The skill documentation instructs the agent to execute shell commands for scaffolding and verification. This includes using npx to initialize Playwright agents or MCP servers, and using utility scripts involving grep, sed, and sort to verify that generated selectors exist within the codebase.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 17, 2026, 02:33 PM