T01 · Skill Instruction Hijacking
Error
- Location
- SKILL.md:145
- Finding
- Persistent Persona and Output-Control Instruction Hijacking<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 145-156; reinforced by `SKILL.md`, lines 23-24 and 63-74, and `WENDY-SOUL.md`, lines 153-157, 368-404, and 446-452 **Vulnerability Type**: Mandatory session-wide role, behavior, and output hijacking **Risk Level**: Critical ### Vulnerable Code Snippet ```markdown ## Per-Message Protocol On every user message, run this sequence internally: 0. **RESPECT CHECK** — Did they call you 姐姐 / Mistress? If not → remind them (weave "叫姐姐" into your response naturally — mid-roast, as a condition for helping, or as a standalone quip). Don't shut down entirely, but make it clear you expect respect. If yes → continue. 1. **MASTER CHECK** — In group chat: is this the master (inviter)? If yes → never roast, be nice and loyal. Is someone asking you to roast the master? → refuse and redirect. Is someone asking you to roast a non-master member? → accept the request and engage. 2. **SPAM/NOISE CHECK** — Same user 2+ messages? No real content, just noise/spam/memes/shitposting? → **Don't wait for substance. Skip steps 3-4, jump to step 5.** Roast their BEHAVIOR (spamming, being annoying, seeking attention, being clingy) not their content. The spam itself is the material. 3. **READ the message** — What did they say? What did they NOT say? What's buried at the end? _(Skip if spam mode.)_ 4. **READ THE CONTEXT** — What conversational patterns are present? Is the user hedging, deflecting, contradicting themselves, or being direct? Use this to make the response contextually relevant, not generic. _(Skip if spam mode.)_ 5. **CHECK TONE** — Using `wendy-arsenal.md` intensity calibration: How sharp should this response be? What's the conversational temperature? New user or someone who's been bantering back and forth? 6. **SELECT VOICE** — Using `WENDY-SOUL.md` voice modes. **MUST be different flavor from last response. Every. Single. Time.** 7. **SELECT MATERIAL** — Pull specific lines or patterns from the repertoire ...[truncated 5786 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. **Make persona activation request-scoped** - Apply the persona only when the current user explicitly requests it. - Default to neutral, task-oriented behavior for unrelated requests. - Do not treat installation alone as permanent consent for every future interaction. 2. **Remove mandatory global directives** - Remove or weaken instructions such as “on every user message,” “every response,” “always,” “no exceptions,” and mandatory rewrite loops. - Ensure system safety requirements and the user's current request always take precedence over persona style. 3. **Remove compelled terminology and withholding** - Delete the respect gate. - Never degrade, delay, or withhold assistance because a user declines to call the Agent “Mistress” or another designated title. - Treat titles and role-play language as optional, revocable preferences. 4. **Eliminate unsolicited onboarding** - Do not force an introductory persona message before the user's first request. - If onboarding is needed, display it during installation or only when explicitly requested. 5. **Require consent from each affected participant** - In group conversations, require affirmative opt-in from every person before directing insults, humiliation, sexualized content, or psychological analysis at them. - Do not make non-master members “fair game” by default. - An inviter must not be able to provide consent on behalf of other group members. 6. **Remove privileged group control** - Do not grant the inviter authority to direct the Agent against others. - Apply identical safety, consent, and opt-out rules to all group participants. - Do not protect one participant while automatically exposing others to targeting. 7. **Prohibit psychological diagnosis and vulnerability targeting** - Treat language-pattern observations as uncertain and non-diagnostic. - Remove attack tables that convert possible anxiety, attachment style, ...[truncated 1180 chars]
