skills/jinsyin/skills/write-fspec/Gen Agent Trust Hub

write-fspec

Fail

Audited by Gen Agent Trust Hub on Nov 6, 2026

Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the Bash tool to execute git commands (git log and git diff) using variables derived from $ARGUMENTS. Specifically, the workflow instruction git diff <hash> -- <prototype> interpolates the <prototype> variable, which is directly provided by the user via command arguments. This allows for arbitrary command execution if the user input contains shell metacharacters such as ;, &, or |.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from product prototypes and feature specifications (.scratch/*/spec.md) to generate functional documentation. Malicious instructions embedded in these source files could influence the agent's behavior during the drafting or merging process.
  • Ingestion points: Content from the <prototype> directory (defaulting to products/prototype/) and markdown files within .scratch/*/spec.md.
  • Boundary markers: The skill does not define any delimiters or provide instructions to the agent to disregard commands or formatting embedded within the source files.
  • Capability inventory: The skill is granted powerful tools including Write, Edit, and Bash, which could be abused if the agent is manipulated by input data.
  • Sanitization: There is no evidence of sanitization or structural validation of the content read from prototype files before it is processed by the agent.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 6, 2026, 09:17 AM