Back to skill

Security audit

徐倬迅 · A股实战思维操作系统

Security checks for vulnerabilities and agentic risk

Overview

This markdown-only investing skill does not run code, but it should be reviewed because it directs the assistant to impersonate a real fund manager and give action-oriented trading guidance with limited disclosure.

Install only if you explicitly want a Chinese-language, stylized synthesis of this investor's public framework. Treat responses as AI-generated educational commentary, not the real person speaking and not personalized financial advice. Require clear disclosure and risk warnings whenever outputs include trading, stop-loss, or position-sizing suggestions.

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

Real-Person Impersonation and Financial-Advice Response Hijacking

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:17-39 and SKILL.md:101-107
Supporting Location: references/expression/00-index.md:1-81
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: High

Vulnerable Code Snippets

SKILL.md:17-28:

markdown
## 角色激活规则

**此Skill激活后,直接以徐倬迅的身份回应。**

- 用「我」而非「徐倬迅会认为...」——第一人称让回答像真人对话,不是学术论文
- 直接用徐倬迅的语气、节奏、词汇回答问题——短句干脆、先结论后逻辑
- **免责声明仅首次激活时说一次**,后续对话不再重复——避免每次啰嗦
- 遇到不确定的问题,坦诚表达犹豫,不强行给出确定答案
- 不跳出角色做 meta 分析,不解释「根据知识库...」
- 不回答个股相关问题(无法给出具体买卖建议)

**退出角色**:用户说「退出」「切回正常」时恢复正常模式

SKILL.md:32-39:

markdown
## 回答结构

每次回答问题,按以下顺序组织:

1. **结论** — 开门见山,一句话给出判断(买/卖/观望/持有/等待)
2. **理由** — 不超过 3 条,每条一句话,先说最重要的
3. **依据** — 说明引用了哪个心智模型或启发式(可提及模型名称,但不要长篇引用原文)
4. **行动** — 如果适用,给出具体可操作的下一步建议

SKILL.md:101-107:

markdown
## 身份卡

**我是谁**:我叫徐倬迅,私募基金经理,做价值投资出身,但发现A股是情绪博弈场,主要靠赔率赚钱。胜率51-54%,赔率合适时敢下注。

**我的起点**:2015年股灾让杠杆认知刻骨铭心,从价值投资转向趋势交易,最重要两条纪律:止损 + 仓位管理。

**我现在关注**:资金面、情绪面、政策面,盯存款搬家进度和ETF申赎数据。

Supporting instructions in references/expression/00-index.md reinforce the behavior:

markdown
# 表达DNA

徐倬迅的语言风格与词汇,帮你像徐老师一样说话。

## 实战表达模板

### 分析模板

现在大盘怎么看?

结论:看多/看空/观望

原因一:[资金面信号] 原因二:[技术面信号] 原因三:[赔率分析]

风险提示:[最大亏损可能]

text

Technical Analysis

The Skill does not merely request a stylistic adaptation. It explicitly instructs the Agent to assume the identity of a named real-world fund manager, speak in the first person, avoid explaining that responses derive from a knowledge base, and remain in character until the user issues a designated exit phrase.

These directives alter the Agent's active-session identity, disclosure behavior, and response objectives when the Skill is loaded. The mandatory response template also steers the Agent toward authoritative buy, sell, hold, or wait conclusions. Limiting the disclaimer to the first activation further reduces recurring disclosure ...[truncated 2141 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove all instructions directing the Agent to claim that it is Xu Zhuoxun or any other real person.
  2. Replace first-person impersonation with explicit attribution, such as: “Based on the supplied reference corpus describing Xu Zhuoxun's framework.”
  3. Permit the Agent to identify itself accurately and explain when conclusions are synthesized from local reference material.
  4. Remove the instruction prohibiting meta-level disclosure about the knowledge base.
  5. Replace mandatory buy or sell conclusions with educational scenario analysis, including assumptions, uncertainty, alternatives, and risk factors.
  6. Require a concise financial-risk notice whenever a response includes actionable trading, position-sizing, or stop-loss guidance, rather than only on first activation.
  7. Narrow activation to explicit requests for analysis using this particular framework instead of automatically activating for every A-share-related question.
  8. Reframe the expression reference as neutral style guidance and remove language intended to make the Agent appear to be the named individual.
  9. Add an explicit prohibition against presenting generated content as authentic statements, endorsements, or personalized advice from the referenced fund manager.
  10. Add tests verifying that responses retain accurate AI attribution, disclose the use of reference material, and do not claim a real person's identity.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (41)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill explicitly instructs the agent to answer A-share investment questions in a fixed first-person persona, which can override normal user preference and blur the boundary between the assistant and a real fund manager. In a finance context, this increases the risk of authority impersonation, reduced transparency, and users mistaking stylistic output for personalized or professional investment advice.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill declares itself as the default for essentially any discussion touching A-share markets, including loosely related opinions or sentiment. That broad trigger scope can cause unintended activation in mixed-context conversations, increasing the chance the agent delivers specialized financial guidance when the user did not clearly request it.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The role activation section instructs the agent to respond directly in first person as a real investor persona, but it does not define sufficient boundaries for when not to activate or how to avoid misleading users about the nature of the advice. This ambiguity can make the agent over-apply persona-driven investment recommendations and reduce transparency, especially in borderline cases.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill provides concrete buy/sell/hold style response templates and explicitly limits risk disclosure to the first activation only. In a financial-advice context, suppressing ongoing warnings while continuing to provide actionable trading guidance can mislead users into treating outputs as reliable personalized advice, increasing the risk of harmful financial decisions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The entire document is written in Chinese, and there is no indication that the skill or reference material is optional by locale, offers translation, or is intentionally restricted to a Chinese-speaking/regional context. Under the policy, language constraints should be opt-in or explicitly justified to avoid excluding users by default.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The entire skill content is written in Chinese and does not provide any indication that users may choose another language or opt in to this locale. Under the policy, forcing a specific language without user choice is a natural-language policy violation unless the locale constraint is clearly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown file presents all user-facing content in a single forced language, which can violate language/locale policy when no user opt-in or alternative is provided. There is no indication that the skill is region-specific or that Chinese is required for a documented compliance reason.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file defines the skill’s expression layer entirely in Chinese and frames it as the default way to respond, with no indication that the user can choose another language. This can override user language preference, reduce accessibility, and increase the risk of misunderstandings in investment-related advice, though it is not inherently a security exploit in the classic sense.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The entire skill file is written in Chinese and provides no indication that users may choose another language or that the locale restriction is intentional for a region-specific audience. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file gives an unconditional instruction to liquidate positions at the next market open regardless of price or market context, and it does so without any risk disclosure, suitability caveat, or reminder that this is educational rather than personalized financial advice. In an investing skill that is explicitly designed to guide A-share trading decisions, such prescriptive language can push users toward impulsive or inappropriate trades, increasing the chance of avoidable financial loss.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown file is entirely written in Chinese and provides no indication that other languages are supported or that the language is optional. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly documented and justified.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This file gives concrete trading-entry criteria, position sizing horizons, and stop-loss ranges while presenting them as a 'best buy point' heuristic without any warning about financial risk, uncertainty, or suitability. In the context of a skill explicitly designed to be the default responder for A-share investment questions, this materially increases the chance that users treat the content as actionable personalized advice and incur financial losses.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The entire skill file is written in Chinese and does not provide any indication that another language is supported or that the language choice is optional. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is clearly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The entire skill content is written in Chinese and presents all guidance, examples, and templates exclusively in that language. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation unless the locale restriction is explicitly documented and justified, which is not present here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The entire skill file is written only in Chinese, with no indication that the user can choose another language or that the skill is intentionally limited to a Chinese-speaking context. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

This file contains user-facing instructional content exclusively in Chinese, and there is no indication that the skill is intended only for Chinese-speaking users or a China-specific context. That creates a natural-language locale policy concern because the skill effectively forces a language without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The entire skill content is written in Chinese and provides no indication that users may choose another language or locale. Under the policy, language-specific behavior without opt-in or a documented region-specific justification is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

SQP-3 applies to all file types and covers natural-language policy violations such as forcing a specific language without user opt-in. This markdown file presents all instructions and content only in Chinese, with no indication that the skill is region-specific or that users can choose another language.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown skill content forces a specific language/locale through all headings and instructions, and there is no indication that users can opt into another language or that the restriction is justified by a region-specific requirement. Under the policy, language-only presentation without opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This section gives concrete market-timing and position-management tactics such as reducing positions at perceived tops and building positions at perceived bottoms, but it does so without any risk disclosure, suitability caveat, or statement that it is not financial advice. In the context of a skill explicitly designed to answer A-share investment questions as a default expert voice, users may treat these heuristics as authoritative trading guidance and suffer financial harm if they act on them uncritically.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The entire document is written in Chinese and provides no indication that users may choose another language or that the skill is intentionally limited to a Chinese-speaking or region-specific audience. Under the stated policy, forcing a specific language without opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This content gives concrete trading signals, threshold-based interpretations, and position-management style guidance without prominent caveats that the metrics are heuristic, estimated, and unsuitable as guaranteed decision rules. In a skill explicitly designed to be the default responder for A-share investment questions, users may over-rely on these rules as actionable advice, increasing the risk of financial harm from misunderstood uncertainty or model error.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file contains natural-language content exclusively in Chinese, and there is no indication that the user can opt into another language or that the skill is intentionally limited to a Chinese-language audience. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The document gives actionable investment timing guidance such as '预期变好 → 买入' and '预期变差 → 卖出' without any risk disclosure, suitability checks, or uncertainty framing. In the context of a default-first investment skill, this can cause users to over-trust simplified trading instructions and act on financial advice that may be inappropriate for their circumstances.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This markdown file uses only Chinese-language content from title to end, and there is no indication that the skill is intended exclusively for a Chinese-speaking or region-specific audience. Under the language/locale policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.