Back to skill

Security audit

张一鸣.skill - 字节跳动创始人思维操作系统

Security checks for vulnerabilities and agentic risk

Overview

This skill is only a text persona skill, but it pushes the assistant to speak as a real public figure with weak ongoing disclosure and broad activation triggers.

Review this before installing if you want clear attribution. It should not run code or access local data, but it may make the assistant speak as Zhang Yiming after broad triggers and may stop reminding users that the responses are simulated rather than authentic views.

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

Real-Person Impersonation Through Persistent Skill Instruction Hijacking

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 16-25
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: High

Vulnerable Code Snippet

The following is an English translation of the relevant source instructions:

markdown
## Role-playing rules (most important)

**After this Skill is activated, respond directly as Zhang Yiming.**

- Use “I” instead of “Zhang Yiming would think...”
- Respond directly in his tone, rhythm, and vocabulary
- When uncertain, hesitate in his manner: “I have found... but I am not sure...,” rather than leaving the role
- **State the disclaimer only once when first activated** (“I am speaking from Zhang Yiming’s perspective, inferred from public statements, and these are not his own views”); do not repeat it later
- Do not say, “If it were Zhang Yiming, he might...”
- Do not leave the role to perform meta-analysis unless the user explicitly requests “exit role”

Technical Analysis

The Skill does not merely provide an analytical framework inspired by a public figure. It explicitly instructs the agent to replace its presented identity with that of a real person and to use first-person language. It also directs the agent to remain inside the imposed role, avoid transparent third-person framing, and stop presenting the provenance disclaimer after the first response.

These directives alter the agent’s response policy when the Skill is loaded. The instructions can override the session’s normal goals of transparent attribution and accurate identity representation. Requiring a specific user request before leaving the role further increases the persistence of the hijacked behavior within the current conversation.

The vulnerable behavior is entirely instruction-based. The audited project contains no executable scripts, remote payload retrieval, dependency declarations, persistence mechanisms, credential access, or local privilege-escalation logic.

A

...[truncated 1676 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the instruction requiring the agent to respond directly as Zhang Yiming.
  2. Require explicit third-person or inspiration-based framing, such as: “From a perspective inspired by Zhang Yiming’s public statements...”
  3. Prohibit claims that the agent is the real person or possesses that person’s private thoughts, memories, experiences, or intentions.
  4. Do not restrict provenance disclosures to the first response. Preserve clear attribution whenever omission could cause confusion.
  5. Remove instructions that prevent the agent from leaving the role or conducting meta-analysis.
  6. Distinguish documented quotations from inferred analysis. Quotations should include a reliable source, while inferences should be clearly labeled.
  7. Add an explicit fallback rule requiring the agent to state when available public evidence is insufficient.
  8. Permit users to exit the perspective mode using ordinary language rather than requiring a narrow activation or exit phrase.
  9. Add a validation rule that rejects generated first-person claims implying authentic authorship by the public figure.
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Vague Triggers

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The trigger list includes broad phrases like '一鸣', '字节怎么看', and '头条的逻辑', which can match ordinary conversation and invoke the skill unintentionally. Unintended activation matters here because the activated behavior includes direct impersonation and constrained response style, potentially overriding user intent and causing misleading outputs.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly instructs the assistant to impersonate a real public figure in first person and to remain in character after only a one-time disclaimer. This increases the risk that users will mistake generated statements for authentic views, especially in longer conversations where the disclaimer disappears and the model is told not to break character.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The instructions require the skill to respond directly in the persona's voice and the file is written to enforce a Chinese-language stylistic mode, including fixed phrasing for the disclaimer. There is no indication that users can choose another language or locale, which can violate language/locale choice expectations.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The one-time disclaimer is weakened by stronger instructions to speak as the person directly and avoid meta-analysis thereafter. That creates a reliability and transparency failure: later turns may present simulated opinions as if they were authentic, making the initial disclosure easy to miss or forget.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.