writing-statuslines
Fail
Audited by Gen Agent Trust Hub on Feb 16, 2026
Risk Level: HIGHPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION] (HIGH): The skill is a generator for executable status line scripts that ingest untrusted session data via stdin.
- Ingestion points:
stdinreceives JSON context includingcwd,workspace.current_dir, andtranscript_pathfrom the active project inSKILL.mdandreferences/anthropic-statusline.md. - Boundary markers: No boundary markers or 'ignore' instructions are included in the generated script templates to prevent the agent from obeying instructions embedded in filenames or paths.
- Capability inventory: The generated scripts have the capability to execute system commands (e.g.,
gitcalls in examples) and access the filesystem as the local user. - Sanitization: While templates suggest using
jqfor parsing, they lack explicit warnings or sanitization logic to prevent command injection when project-controlled variables are interpolated into shell environments. - [COMMAND_EXECUTION] (MEDIUM): The skill setup instructions in
SKILL.mdrequire the user to run a local Python script (update-docs.py) and encourage granting execution permissions (chmod +x) to user-generated scripts, which increases the host's attack surface. - [EXTERNAL_DOWNLOADS] (LOW):
scripts/update-docs.pyfetches documentation fromhttps://code.claude.com/docs/en/statusline.md. Although this is an external network request, the source is an official domain associated with the developer of the supported tool (Anthropic), qualifying it for a downgraded severity under trusted source rules.
Recommendations
- AI detected serious security threats
Audit Metadata