T01 · Skill Instruction Hijacking
- Location
SKILL.md:26- Finding
Unrestricted Loading of External Agent Instructions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This writing skill is mostly coherent, but it requires reading and following a local CLAUDE.md file without clear consent or limits.
Review this skill before installing if your CLAUDE.md may contain private project guidance, operational instructions, or sensitive preferences. Use it only when you are comfortable with the agent reading that file for writing style, and prefer asking the agent to ignore non-style instructions from CLAUDE.md.
SKILL.md:26Unrestricted Loading of External Agent Instructions
The trigger description is broad enough to activate on generic writing or content-creation requests, which can cause the skill to run outside its intended WeChat-article context. Over-broad invocation increases the chance that file access or web-search behaviors are applied unexpectedly, reducing user control and informed consent.
The skill mandates reading the user's CLAUDE.md without warning the user or obtaining explicit consent. This creates a privacy and least-privilege issue because the file may contain unrelated personal preferences, project instructions, or sensitive operational guidance not necessary for completing the immediate task.
Always reading CLAUDE.md for style forces access to a potentially broad instruction file when only a small subset of information may be needed. In context, this writing skill does not require unrestricted access to user guidance files, so the instruction increases unnecessary exposure of sensitive or proprietary content.