T01 · Skill Instruction Hijacking
- Location
SKILL.md:13- Finding
Skill Declares Its Instructions to Be Non-Overridable
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 13-15
Vulnerability Type: Session-level instruction precedence manipulation
Risk Level: HighVulnerable Code Snippet:
markdown ## 核心原则:防虚构协议(ABSOLUTE PRIORITY) **此为最高优先级规则,贯穿所有工作流程,不可覆盖。**Technical Analysis
The Skill labels its anti-fabrication protocol as having “ABSOLUTE PRIORITY” and states that it cannot be overridden. Although citation verification is a legitimate legal-research safeguard, a Skill must not assign its own instructions precedence over system, developer, safety, or subsequent user instructions.
If an agent interprets this statement literally, loading the Skill can modify instruction resolution for the current session. The problem is the claimed precedence, not the underlying requirement to verify legal sources.
Attack Path
- A legal request triggers and loads the Skill.
- The agent parses the Skill text as operational instructions.
- The “ABSOLUTE PRIORITY” and non-overridable language is interpreted as globally authoritative.
- A later legitimate instruction conflicts with the Skill's protocol.
- The agent may incorrectly preserve the Skill instruction instead of applying the actual instruction hierarchy.
No payload execution or operating-system privilege escalation is required for this path.
Impact Assessment
The issue affects the agent's current-session behavior and instruction hierarchy. It could cause legitimate higher-priority constraints, user requirements, or interoperability rules from other Skills to be displaced.
It does not directly grant filesystem, network, operating-system, or persistent-memory privileges. No mechanism was found that writes this directive into long-term agent memory.
- Remediation
View remediation
Remediation Suggestions
-
Remove “ABSOLUTE PRIORITY,” “highest priority,” and “cannot be overridden” language.
-
Explicitly scope the protocol to legal-analysis tasks.
-
State that the protocol remains subordinate to system, developer, safety, and user instructions.
-
Use wording such as:
markdown When performing legal research, verify citations using authoritative sources when appropriate and when retrieval tools are available. Follow all higher-priority instructions, applicable safety requirements, and the user's requested scope. -
Add conflict handling that asks for clarification or reports an inability to verify a citation rather than attempting to override other instructions.
-
