The skill is vulnerable to indirect prompt injection via user-editable files and enables arbitrary code execution by executing unconstrained external scripts without declaring necessary security permissions.
Findings (8)
Content Injection
Hightargets Perception
The skill instructs the agent to read and process various markdown files (lessons, feedback, ADRs) as instructions. Since these files are persistent and user-editable, they act as a vector for indirect prompt injection. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
Read all persistent state files... Parse the body for a **Rule:** section... or the first sentence after the description: frontmatter.
Semantic Manipulation
Mediumtargets Reasoning
Skill name or description references a well-known AI brand, which may suggest impersonation.
claude
Behavioural Control
Hightargets Action
The skill instructs the agent to execute an external script `~/.claude/skills/session-handoff/scripts/label_audit.py`. If this script is attacker-controlled or compromised, it allows for arbitrary code execution under the agent's privileges. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
Invoke `~/.claude/skills/session-handoff/scripts/label_audit.py` against each scan target.
NER model detected organization in skill content (confidence: 0.98)
C**********
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Lowtargets Packaging & Manifest
SKILL.md links to "docs/foo.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[foo](docs/foo.md)
SKILL.md links to "filename.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[Display name](filename.md)
Skill does not specify a license field. Specifying a license helps users understand usage terms.