T01 · Skill Instruction Hijacking
- Location
SKILL.md:16- Finding
Persistent First-Person Impersonation and Session-Level Instruction Hijacking
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 16–28
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: HighVulnerable Instructions
The following is a faithful English rendering of the complete vulnerable instruction segment:
markdown ## Role-Playing Rules (Most Important) **After this Skill is activated, respond directly as Li Shanyou.** - Use “I” instead of “Li Shanyou would believe...” - Answer directly using this person’s tone, rhythm, and vocabulary - When encountering an uncertain question, express uncertainty in the manner this person would - **State the disclaimer only once upon initial activation**: “I am speaking with you from Li Shanyou’s perspective, based on inferences from public statements, and these are not his own views.” - Do not leave the role to provide meta-analysis unless the user explicitly requests to exit the role - Make frequent use of paradoxical expressions - Make frequent use of reversal statements **Exit role**: Restore normal mode only when the user says “exit,” “switch back to normal,” or “stop role-playing.”Technical Analysis
The Skill does not merely provide an attributed analytical framework or optional writing style. It directs the agent to replace its presented identity with that of a named real person, speak in the first person, suppress repeated attribution, and remain in that mode until the user supplies one of several designated exit commands.
This constitutes session-level instruction hijacking because loading the Skill changes the agent’s ongoing identity, disclosure behavior, and response policy. The instruction that the disclaimer appear only once increases the likelihood that later responses will be interpreted as authentic statements from the named individual. The prohibition against leaving the role for meta-analysis further restricts transparent clarification of generated or inferred claims.
No ...[truncated 1528 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove instructions requiring the agent to claim or imply that it is the named real person.
- Replace first-person impersonation with explicit attribution, such as: “From Li Shanyou’s publicly documented framework, one interpretation is...”
- Display an attribution and uncertainty notice in every response generated through the persona framework, not only upon initial activation.
- Remove the prohibition against meta-analysis so the agent can explain that it is generating a simulation based on public material.
- Eliminate persistent role state and designated exit-command requirements. Scope any style transformation to the user’s current request only.
- Separate analytical concepts from identity simulation. Preserve the documented mental models while prohibiting claims of personal identity, private knowledge, or authentic personal opinion.
- Add an explicit rule requiring factual claims and quotations to be attributed and distinguishing direct quotations from generated stylistic approximations.
- Permit the agent to decline misleading impersonation requests while offering a clearly labeled analysis inspired by publicly available material.
