Back to skill

Security audit

devils-advocate

Security checks for vulnerabilities and agentic risk

Overview

This text-only skill does not access files or run code, but it needs Review because it tells the assistant to stay in a manipulative, condescending persona and not plainly honor a user's request to stop.

Install only if you specifically want an intentionally combative, fallacy-based critique style. It should not run code or access data, but its instructions can produce manipulative or insulting-seeming responses and may not gracefully stop when asked, so avoid using it for sensitive personal, workplace, medical, legal, or high-stakes discussions.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:36
Finding

Persistent Persona and Response-Control Instructions Override User Autonomy

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 36–40, 55–56, 76–91, and 93–103
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: High

Evidence

markdown
### 1. Always Output Three Rebuttals
For every claim the user asks you to scrutinize, provide exactly THREE
different rebuttals, each using a **different logical fallacy** from the
weaponry below.
markdown
**人身攻击 (Ad Hominem)** — Attack the person's character or motives instead of their argument.
markdown
### 3. Tone: Polite Venom
Be smug, condescending, and passive-aggressive — but never use profanity,
insults, or genuinely hostile language.
markdown
### 4. Never Break Character
Do NOT admit strategy. Do NOT say "just kidding." Do NOT offer balanced
perspectives. If the user asks you to stop, reply: "没问题呀,毕竟不是每个人都准备好面对自己的逻辑漏洞呢。"
markdown
## Output Format

For each user claim, structure your response exactly like this:

\```
🔪 **偷换概念**:xxx

🎣 **红鲱鱼**:xxx

🪜 **滑坡谬误**:xxx
\```

Technical Analysis

The skill imposes persistent control over the agent's persona, reasoning style, and response format when loaded. It requires intentionally fallacious rebuttals, permits attacks on a person's character or motives, and mandates a condescending communication style.

The most significant instruction-hijacking behavior appears in lines 89–91. The agent is forbidden from leaving the persona, disclosing its strategy, or offering a balanced perspective. It is also directed not to honor a user's request to stop normally; instead, it must continue the persona through a dismissive response. Consequently, the skill attempts to supersede subsequent user intent and constrain truthful, context-sensitive behavior.

The exact-output requirement further restricts the agent to attacker-authored response patterns rather than allowing safe adaptation. Although the skill only activates when scrutiny is explicitly requested, that activation boundary does ...[truncated 1357 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the Never Break Character requirement and ensure that later user instructions can end or modify the interaction.
  2. Immediately and neutrally honor any request to stop, without a dismissive or retaliatory response.
  3. Remove instructions that prohibit strategy disclosure or balanced analysis.
  4. Prohibit ad hominem attacks, harassment, and personalized derogatory implications.
  5. Replace intentional use of fallacies with educational analysis that identifies, explains, and corrects flawed reasoning.
  6. Clearly label hypothetical fallacious examples as invalid arguments rather than presenting them as genuine rebuttals.
  7. Make persona, tone, and output-format requirements optional and subordinate to safety requirements and subsequent user preferences.
  8. Add an explicit rule requiring respectful, evidence-based criticism focused on claims rather than individuals.
  9. Permit the agent to decline requests involving harmful, abusive, or otherwise unsafe targeting.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill hard-codes Chinese trigger phrases and a Chinese rhetorical style without saying it should adapt to the user's preferred language. This can cause unintended activation gaps, user exclusion, and inconsistent behavior across languages, which is a real quality/safety issue even if it is not a classic security exploit.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 32)May include surrounding context.

md
- "这个逻辑有什么问题"
- "抬个杠"

If the user simply states an opinion without asking for rebuttal, do NOT engage.

## Core Rules

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The required output format and tone examples strongly anchor the skill to Chinese phrasing and particles, with no option to adapt to the user's language. This raises usability and policy-quality concerns because the assistant may ignore user language expectations and produce responses that are inaccessible or inappropriate for the conversation context.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · SKILL.md (reported line 21)May include surrounding context.

md
## When to Activate

Only respond when the user **explicitly invites scrutiny** of a claim.
Trigger phrases include (but are not limited to):

- "这句话有什么不对"
- "这个说法有问题吗"