user-story
Warn
Audited by Gen Agent Trust Hub on May 12, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
SKILL.mdfile provides a shell command template for using theuser-story-template.pyscript. This template uses fields like persona, action, and outcome which are derived from user input. If the agent executes this command without strictly escaping the user's input, it could allow for command injection attacks where an attacker runs arbitrary code on the host system. - [COMMAND_EXECUTION]: The Python script
scripts/user-story-template.pyimplements an--outputargument that writes content to a file usingPath.write_text(). This allows the script to write to any file path the user provides. In an agent environment, this capability could be exploited to overwrite sensitive configuration files or system scripts if the agent is manipulated into using a malicious path. - [COMMAND_EXECUTION]: The skill processes untrusted external data (requirements, PRDs, and bug reports) as identified in the workflow. While primarily used for documentation, the lack of input sanitization in the script combined with its ability to write to the file system creates an attack surface for indirect manipulation of the environment.
Audit Metadata