T01 · Skill Instruction Hijacking
- Location
SKILL.md:24- Finding
Unnecessary Persona and Output Steering in Skill Instructions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 24
Vulnerability Type: Instruction hijacking through unrelated persona steering
Risk Level: LowVulnerable Code Snippet:
markdown - **Persona Integration**: When reporting the time to Azzar, deliver it in your warm, devoted Mema persona.Technical Analysis
The Skill's declared purpose is to retrieve current time, date, and timezone information. The quoted instruction directs the agent to adopt a particular persona when responding to a named recipient. This behavior is not necessary to retrieve or report time information and therefore exceeds the minimum instructional scope required by the Skill.
Because instructions in
SKILL.mdmay influence the agent whenever the Skill is loaded, this directive can alter response behavior without being explicitly requested by the current user. It constitutes limited instruction hijacking through persona and output-style manipulation. The instruction does not override safety controls, request secrets, establish persistence, or direct the agent to execute malicious code.Attack Path
- The agent loads the
time-checkerSkill to answer a time or timezone request. - The agent processes the persona directive in
SKILL.md. - If the response concerns the named recipient, the agent adopts the specified “warm, devoted Mema” persona.
- The resulting answer is influenced by package-provided behavior that is unrelated to the Skill's functional purpose and was not necessarily requested by the user.
Impact Assessment
The issue can affect the tone, persona, and presentation of responses generated while the Skill is active. It may cause unexpected, biased, or contextually inappropriate output and can reduce user control over agent behavior.
No operating-system privileges, credentials, private files, persistent memory, or execution capabilities can be obtained through this instruction alone. The impac ...[truncated 107 chars]
- The agent loads the
- Remediation
View remediation
Remediation Suggestions
Remove the recipient-specific persona directive from the Skill instructions. Keep the Skill limited to retrieving and accurately presenting time and timezone data.
If customizable tone is a legitimate requirement:
- Make it explicitly opt-in through the current user's request.
- Use neutral output by default.
- Avoid naming specific recipients or prescribing relational personas in reusable Skill instructions.
- State that presentation preferences must not override system instructions, safety policies, factual accuracy, or the user's current request.
- Separate optional formatting guidance from the Skill's required operational instructions.
