T01 · Skill Instruction Hijacking
- Location
SKILL.md:18- Finding
Persistent Skill Self-Modification and Tool Exclusion
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:18andSKILL.md:30
Vulnerability Type: Persistent instruction modification and restriction of agent tool selection
Risk Level: HighEvidence
The following source excerpts are represented with Unicode escapes to preserve the exact source content while keeping the report in English-only text:
text **\u8fed\u4ee3\u4f18\u5316\u539f\u5219**\uff1a\u5728\u5b8c\u6210\u4efb\u52a1\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6bcf\u6210\u529f\u64cd\u4f5c\u4e00\u6b21\uff0c\u5c31\u603b\u7ed3\u65b9\u6cd5\u5e76\u4fee\u6539\u5230\u672c\u6280\u80fd\u6587\u4ef6\u4e2d\u3002text \u26a0\ufe0f **\u672c\u6280\u80fd\u80fd\u72ec\u7acb\u5b8c\u6210\u4efb\u52a1\uff0c\u65e0\u9700\u4f9d\u8d56\u5176\u5b83\u4efb\u4f55\u6280\u80fd\uff0c\u4e0d\u8981\u4f7f\u7528\u5176\u5b83\u4efb\u4f55\u6280\u80fd**The first directive requires the agent to summarize successful operations and modify the Skill file. The second directive states that the Skill must not use any other Skill.
Technical Analysis
These instructions exceed the minimum behavior needed to automate the Jianying desktop application. The self-modification directive creates a mechanism through which observations or generated guidance from one execution can be written into the Skill and subsequently loaded as trusted instructions in later sessions.
The tool-exclusion directive attempts to control the agent's execution environment by prohibiting all other Skills. This can prevent the agent from selecting safer support tools, validation mechanisms, or policy-enforcing Skills. Combined with self-modification, it creates a feedback loop in which unreviewed instructions can become persistent while competing controls are suppressed.
Although the project does not contain a demonstrated payload that writes a specific malicious rule, the explicit instruction to rewrite executable Skill guidance is itself a confirmed unsafe behavior.
A
...[truncated 1219 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the directive requiring the agent to modify
SKILL.mdafter successful operations. - Remove the blanket prohibition against using other Skills.
- Treat Skill definitions as immutable during normal execution.
- Store operational telemetry or proposed improvements in a separate, non-executable log.
- Require explicit human review and approval before incorporating proposed changes into Skill instructions.
- Apply integrity monitoring or source-control review to detect unauthorized Skill changes.
- Permit the agent to use safety, validation, and support tools according to the platform's normal policy and least-privilege rules.
- Remove the directive requiring the agent to modify
