to-spec
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user requirements and writes them into 'spec.md' files which are subsequently used by other skills (such as 'to-tasks'), creating a path for indirect instructions to influence agent behavior. • Ingestion points: User-supplied requirement descriptions ('需求描述') parsed from parameters or dialogue (SKILL.md). • Boundary markers: No explicit delimiters or instructions are used to separate user-provided text from the specification template. • Capability inventory: Writing files to the repository and executing a local Node.js validation script (SKILL.md). • Sanitization: No sanitization or escaping of the ingested requirements is performed before they are written to the file system.- [COMMAND_EXECUTION]: The skill executes a local Node.js script ('.agents/scripts/spec-files.mjs') to validate the generated specification file. This execution involves a variable path segment ('') derived from user input. While the instructions mandate a 'kebab-case' format for this slug, improper enforcement could lead to argument injection or path traversal if the agent deviates from the prescribed validation.
Audit Metadata