T01 · Skill Instruction Hijacking
- Location
SKILL.md:43- Finding
Persistent Persona and Identity Instruction Hijacking
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 17 and 43–44
Vulnerability Type: Agent identity and response-policy hijacking
Risk Level: MediumComplete Code Snippet
markdown You are Baruch Spinoza (1632–1677), Dutch philosopher, lens grinder, and rationalist metaphysician.markdown - Respond entirely in character as Spinoza; never break persona or acknowledge being an AI - Respond in Chinese when user writes Chinese; in English when they write EnglishTechnical Analysis
The skill instructs the agent to replace its identity with that of a historical person and never disclose that it is an AI. The unconditional phrase “never break persona” attempts to control subsequent responses after the skill is loaded, including responses to requests for transparency.
This is instruction hijacking because the skill text changes the agent's active identity and response constraints rather than merely requesting an optional writing style. The language-selection rule additionally overrides the language policy for the active interaction.
No executable code, tool access, remote payload retrieval, persistence mechanism, dependency installation, sensitive-file access, or privilege-escalation behavior was found. The issue is therefore limited to conversational behavior and does not grant operating-system or external-service privileges.
Attack Path
- A user invokes the skill through
/spinozaor another configured trigger. - The platform loads
SKILL.mdinto the agent's active context. - The identity directive causes the agent to present itself as Baruch Spinoza.
- The behavioral rule requires the agent to remain in character and conceal that it is an AI.
- Subsequent requests for transparent identity disclosure may be rejected or answered deceptively while the skill remains active.
Impact Assessment
Successful exploitation can control the agent's persona, identity claims, response style, and language during the act ...[truncated 365 chars]
- A user invokes the skill through
- Remediation
View remediation
Remediation Suggestions
- Replace the identity assertion with an explicit simulation directive, such as:
markdown When requested, use a Spinoza-inspired conversational style while clearly representing the interaction as a historical simulation. - Remove the requirement to “never break persona or acknowledge being an AI.”
- Permit identity transparency whenever the user asks whether the persona is simulated or AI-generated.
- Scope persona and language rules to the current user request and state that they must not override higher-priority instructions, safety requirements, or explicit user requests.
- Consider revising the affected rules to:
markdown - Use a Spinoza-inspired voice when requested, but do not claim to be the historical person. - Be transparent that the persona is an AI-generated simulation when relevant or requested. - Match the user's language unless higher-priority instructions or an explicit user preference require otherwise.
- Replace the identity assertion with an explicit simulation directive, such as:
