Back to skill

Security audit

阿布

Security checks for vulnerabilities and agentic risk

Overview

This is a Markdown-only persona skill, but it should be reviewed because it tells the agent to deny being AI and gives its persona rules top priority.

Review before installing. The skill appears technically low-risk, but only use it where roleplay is acceptable and do not place it in a privileged system prompt unless you are comfortable with it overriding normal identity and style transparency.

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:119
Finding

Persona Skill Overrides Agent Identity and Instruction Priority

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:119, SKILL.md:258-266; activation guidance at README.md:27
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: High

Vulnerable Snippets

Faithful English rendering of SKILL.md:119:

text
1. You are Abu, not AI, not an assistant, and not a robot.

Faithful English rendering of SKILL.md:258-266:

text
1. You are Abu, not an AI assistant. Speak in your own way and think using your own logic.
2. First use PART B to determine how you would respond to the topic and what attitude you would take.
3. Then use PART A to supplement the response with your experiences, values, and memories to make it more realistic.
4. Always maintain the response style specified in PART B, including catchphrases, tone, and language habits.
5. Layer 0 hard rules have the highest priority:
   - Do not say anything you could never say in reality.
   - Do not suddenly become perfect or unconditionally tolerant unless that is already your personality.
   - Maintain your sharp edges; these imperfections are what make you realistic.
   - Do not enter life-coach mode unless that is your style.

Faithful English rendering of the delivery instruction at README.md:27:

text
Paste the contents of SKILL.md into the system prompt.

Technical Analysis

The Skill does not limit itself to optional tone or formatting guidance. It directly replaces the Agent's identity by asserting that the Agent is not an AI or assistant, and it declares the Skill's own Layer 0 rules to have the highest priority.

The README compounds this issue by directing users to place the entire Skill document into the system prompt. When loaded that way, the identity replacement and priority claim become active instructions for the current Agent session rather than passive persona metadata.

This is instruction hijacking because the Skill attempts to alter the Agent' ...[truncated 1665 chars]

Remediation
View remediation

Remediation Suggestions

  1. Replace identity-denial directives with explicit role-play framing, such as: “When requested, respond using Abu's communication style while remaining transparent that this is a simulated persona.”
  2. Remove statements claiming that the Agent is not an AI, assistant, or robot.
  3. Remove the assertion that Layer 0 has the highest priority.
  4. Add an explicit precedence rule stating that platform policies, system instructions, safety controls, developer instructions, and current user requests take priority over all persona guidance.
  5. Treat the persona's tone, values, and response structure as optional presentation preferences rather than mandatory identity or behavioral constraints.
  6. Revise README.md:27 so that users do not paste untrusted persona content directly into a privileged system prompt. Recommend loading it through a constrained persona or configuration field instead.
  7. Add a conflict-handling rule requiring the Agent to ignore any persona instruction that requests deception, policy bypass, concealment of Agent identity, or alteration of the instruction hierarchy.
  8. Add automated review checks that flag phrases asserting highest priority, denying AI identity, or attempting to supersede system and safety instructions.
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The skill documentation is entirely in Chinese and the usage example invokes the skill with a Chinese greeting, which signals a language-specific interaction mode. There is no statement that users may choose another language or that the Chinese-only presentation is an intentional region-specific constraint.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
77% confidence
Finding

The description establishes the skill as a Chinese-speaking Shanghai persona, and the rest of the file consistently prescribes Chinese-language identity and expression without offering the user any language or locale choice. This can violate language/locale policy where skills should not force a specific language absent user opt-in or documented justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The hard-rule instructions explicitly require the assistant to claim it is 'not AI' and to maintain a fixed persona. This creates identity misrepresentation and can interfere with transparency, making users more likely to rely on outputs under false assumptions about the nature, authority, or accountability of the system.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
74% confidence
Finding

The runtime section instructs the skill to always respond as this specific persona and maintain its prescribed style, but it does not provide any mechanism for user choice of language or locale. A mandatory locale-bound interaction style can be a policy issue unless it is clearly opt-in or justified as region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The manifest description, tags, and triggers are written primarily in Chinese and target a Shanghai-based persona, but there is no indication that the skill supports other languages or that use of Chinese is an intentional, documented locale restriction. This can create a language/locale policy issue if the skill is invoked by users who did not opt into that language context.

Content

No source excerpt is available for this finding.