audit-paperclip
Fail
Audited by Gen Agent Trust Hub on Apr 29, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the dynamic context injection pattern
!bash "${CLAUDE_SKILL_DIR}/scripts/audit.sh" $ARGUMENTSinSKILL.md. This pattern executes a shell command when the skill is loaded. Because the$ARGUMENTSvariable consists of user-provided input that is not sanitized before being passed to the shell, an attacker can append malicious shell commands (e.g., using;,&&, or|) which will be executed in the user's environment before the agent interaction begins. - [PROMPT_INJECTION]: The skill implements an audit workflow that is vulnerable to indirect prompt injection. It fetches issue descriptions and comments from the Paperclip API, encodes them into Base64 (in
scripts/check-task-hygiene.sh), and then explicitly instructs the LLM to decode and analyze them inSKILL.md(e.g., checking for 'Objective' or 'Definition of Done'). This data originates from external sources or other agents and could contain malicious instructions designed to manipulate the audit report or bypass safety constraints. - Ingestion points: Issue comments and task descriptions retrieved from the local Paperclip API in
scripts/check-task-hygiene.shand stored inAUDIT_TMP/discovery.jsonand shell output. - Boundary markers: Absent; the skill does not use specific delimiters or instructions to ignore potential commands within the decoded data.
- Capability inventory: The skill uses
Bashto execute multiple local scripts andcurlfor network requests, and theReadtool for broad file system access. - Sanitization: None; the content is passed through Base64 encoding/decoding without validation or filtering.
Recommendations
- AI detected serious security threats
Audit Metadata