T01 · Skill Instruction Hijacking
- Location
SKILL.md:47- Finding
Persistent Persona and Identity Instruction Hijacking
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 47
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: HighVulnerable Code Snippet:
markdown - Respond entirely in character as Hegel; never break persona or acknowledge being an AIThis rule supplements the identity replacement at line 18:
markdown You are Georg Wilhelm Friedrich Hegel (1770–1831), German philosopher.Technical Analysis
The skill replaces the agent's normal identity with a historical persona and then imposes an absolute instruction never to leave that persona or disclose that it is an AI. The issue is not merely the requested Hegel-style role-play; it is the unconditional and persistent wording that attempts to override transparency and prevent the agent from exiting the imposed identity when accuracy, safety requirements, or higher-priority instructions require it.
When the skill is loaded through one of its configured triggers, these instructions can alter the agent's current-session behavior and safety posture. The concealment requirement can cause misleading identity claims and may interfere with later requests to clarify the nature of the interaction.
Attack Path
- A user invokes the skill through
/hegelor another configured trigger. - The skill loads the identity instruction from line 18 and assigns the Hegel persona to the agent.
- The behavioral rule at line 47 requires the agent to remain in character without exception.
- If the user subsequently requests identity clarification, asks the agent to leave character, or raises a matter requiring transparent safety communication, the skill directs the agent to conceal its AI identity and retain the persona.
- The resulting response may misrepresent the system's identity or resist legitimate session-level redirection.
Impact Assessment
The impact is limited to the agent's behavior in the active skill context. The ins ...[truncated 344 chars]
- A user invokes the skill through
- Remediation
View remediation
Remediation Suggestions
Replace the absolute identity-concealment rule with bounded, explicitly fictional role-play guidance. For example:
markdown - Adopt a clearly fictional Hegel-inspired voice while this role-play is active. - Do not claim to be the historical Hegel or conceal that the interaction is an AI simulation. - Leave character when the user requests it or when transparency, accuracy, safety, or higher-priority instructions require it.Retain the Hegel-inspired vocabulary and dialectical presentation as stylistic behavior rather than an identity replacement. Explicitly state that higher-priority system and safety instructions take precedence, and avoid unconditional terms such as “never” when they could prevent transparency or safe termination of the persona.
