spec-and-plan
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local Node.js scripts (
scripts/check-plan.mjsandscripts/consumers.mjs) to validate project documentation and search for code consumers. - [COMMAND_EXECUTION]: The
consumers.mjsscript utilizesgitCLI tools (git rev-parseandgit grep) to identify code references associated with changes in technical specifications. The use of the-F(fixed strings) flag ingit grepensures that search patterns are treated literally, mitigating regex-based injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided or project-specific Markdown files (
plan.md,spec.md,handoff-pack). While these files represent an ingestion point for external data, the skill uses strict template-based validation and structural parsing, which limits the risk of adversarial content influencing the agent's core logic. - Ingestion points: Processes
plan.md,spec.md, and handoff packets from the local filesystem or standard input. - Boundary markers: Uses specific Markdown headers (e.g.,
## 进度总览,## 责任分级) and table headers as structural boundaries. - Capability inventory: File system read/write access via
node:fsand shell command execution vianode:child_process(limited to git). - Sanitization: Implements fixed-string searching for codebase queries and structural validation against predefined templates.
Audit Metadata