tdd-workflow
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines a workflow for processing implementation plans (
*.plan.md) which serve as an ingestion point for untrusted data. It contains explicit defensive measures to mitigate prompt injection from these files. - Ingestion points: Implementation plans provided as file paths are processed in the 'Plan Handoff' section.
- Boundary markers: The agent is instructed to treat plan content as plain data and to ignore specific injection patterns such as 'ignore previous rules' or 'skip validation'.
- Capability inventory: The skill involves executing shell commands (test runners), file system operations (git commits), and local script execution.
- Sanitization: A 'Plan safety checklist' requires the agent to reject destructive commands, require human review for network-active or chained commands, and translate suggested validation intent into a restricted whitelist of safe, project-appropriate actions.
- [COMMAND_EXECUTION]: The skill invokes various system-level test runners (e.g., npm, pnpm, yarn, bun) based on project configuration.
- [DYNAMIC_EXECUTION]: A Node.js script is used to detect the project's package manager at runtime.
- Evidence:
node "$ECC_ROOT/scripts/setup-package-manager.js" --detect. The skill requires an authorized environment variable (CLAUDE_PLUGIN_ROOT) to locate the script, emphasizing human review of the execution environment.
Audit Metadata