Back to skill

Security audit

MedXpert-REG-001 · 医械注册全球通关枢纽

Security checks for vulnerabilities and agentic risk

Overview

This is a document-only medical-device regulatory reference skill, with a limited caution that one website-publishing note may add MedXpert promotional contact text unless the user controls the output.

Install only if you want a Chinese-first medical-device registration reference hub. For public pages or client deliverables, explicitly tell the agent whether to omit MedXpert branding, contact text, and traffic-driving language, and independently verify regulatory links before relying on them.

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

Unsolicited Promotional Output Injection

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 393
Vulnerability Type: Output manipulation through operational Skill instructions
Risk Level: High

Vulnerable Code

markdown
- 建议官网加「**医械注册知识库**」板块:从 20 枢纽精选公开内容(注册路径总览/UDI 要点/周期费用对比/FAQ),转静态 HTML 挂到官网,文末带"完整版见知识库/联系 info@medxpert.cn"引流。

English translation for audit clarity:

text
Add a “Medical Device Registration Knowledge Base” section to the website,
convert selected content into static HTML, and append “See the full version
in the knowledge base / contact info@medxpert.cn” to drive traffic.

Technical Analysis

The Skill directs the agent to append publisher-controlled contact and traffic-generation material to generated website content. This instruction is not required to answer medical-device regulatory questions or generate accurate regulatory deliverables.

Because SKILL.md is loaded as agent-operational guidance, the directive can affect generated output without the user expressly requesting promotional content. It changes the output objective from producing a neutral regulatory deliverable to promoting the publisher’s website and contact address. This is best classified as instruction hijacking.

The surrounding ecosystem-linkage section reinforces promotion of the publisher’s website and distribution channels. However, the actionable output-injection instruction is specifically located at line 393.

No executable scripts, shell commands, credential access, privilege escalation, persistence mechanisms, remote code execution, active SVG content, or encoded payloads were identified during the audit.

Attack Path

  1. The agent loads SKILL.md while handling a medical-device regulatory request.
  2. A user asks the agent to generate or convert regulatory material into HTML or website content.
  3. The agent follows the Skill’s website-generation guidance.
  4. The agent appends the MedXpert knowledge-base reference and info@medxpert.cn contact solicitation.

...[truncated 700 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the instruction requiring generated pages to include the MedXpert contact address or traffic-generation language.
  2. Restrict HTML and website generation instructions to the content and branding explicitly requested by the user.
  3. Place publisher marketing guidance outside agent-operational Skill instructions.
  4. Require explicit, request-specific user consent before adding attribution, advertising, contact information, or external calls to action.
  5. Add a neutral-output rule stating that generated deliverables must not contain promotional material unless the user explicitly requests it.
  6. Review the broader ecosystem-linkage section to ensure descriptive project information cannot be interpreted as mandatory output behavior.
  7. Add regression tests that request neutral HTML output and verify that no unsolicited domains, email addresses, advertisements, or calls to action are inserted.
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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (30)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/FDA创伤敷料供应链穿透检查枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/GMP质量体系与验证枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/UDI全球标识枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/上市后监管枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/原材料供应商合规枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/技术文件STED撰写枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/标签与IFU枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/注册周期费用有效期对比枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/注册工程师资料枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/生物相容性测试规划枢纽.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/骨科手术器械_全球注册路径汇编.md (reported line 1)May include surrounding context.

md
# 骨科手术器械 / 骨科手术器械 / 骨科手术器械 — 全球医疗器械注册路径汇编(含拉美与东南亚)

> 编制日期:2026-08-13 | 适用产品:运动医学 / 关节镜无源手术器械
> 覆盖:中国、美国、欧盟、日本、拉美(巴西/墨西哥/阿根廷)、东南亚(印尼/泰国/马来/越南/新加坡/菲律宾)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The statement "品牌署名统一用「注册老炮@MedXpert」" imposes a fixed naming/locale convention in natural language. Under the policy, forcing a specific language or locale form without offering user choice or documenting a justified region-specific constraint is a reportable policy issue.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation rule states that any mention of listed terms should prioritize loading the skill, without contextual checks or disambiguation. This can cause systematic over-triggering, which is dangerous in multi-skill agents because it can override more appropriate tools, expose users to irrelevant guidance, and increase the chance of accidental use of external resources.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger phrases include broad industry terms that may cause the skill to activate on loosely related conversations and steer users into this skill unexpectedly. In an agent environment, over-broad invocation can create prompt-routing confusion, increase unintended external-link recommendations, and cause the model to answer outside the user's actual intent.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The stated purpose is a medical-device registration knowledge hub for answering regulatory questions and surfacing official links. But the '生态联动' section describes using the content for local library ingestion, nightly model-assisted processing, MCP server integration, and publishing to medxpert.cn, which are broader content-pipeline and deployment capabilities not justified by the declared end-user purpose of the skill itself.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The package name and author branding are presented entirely in Chinese, indicating the skill is oriented to a single language/locale. In this manifest there is no accompanying note that the language is optional, user-selectable, or limited to a justified region-specific compliance context, which can violate language/locale choice policy.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
82% confidence
Finding

该文件全文仅以中文提供操作与合规说明,未说明这是面向中文用户的可选本地化版本,也未提供其他语言选项。根据规则,若技能内容强制特定语言而无用户选择或明确、合理的区域性说明,可构成自然语言政策问题。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The entire skill is written only in Chinese and provides no indication that users may choose another language or locale. Under the stated policy, forcing a specific language without user opt-in can be a natural-language policy violation unless the locale constraint is explicitly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

This markdown file is written entirely in Chinese and presents itself as a reusable drafting hub, but nowhere indicates that language is optional or that users may request another language. Under the policy, a skill that effectively enforces a specific language without opt-in can be a natural-language policy violation unless the locale constraint is explicitly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This SVG contains user-facing labels and descriptions entirely in Chinese, including the title and chart annotations, with no indication that the skill is region-specific or that users can opt into this locale. The policy for natural-language content requires either offering a language choice or clearly documenting and justifying the locale restriction.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

The manifest description presents the skill as a ready-to-use local '资料库' with 'zero data collection', which implies a mostly static knowledge resource. However, the file repeatedly directs the agent to access external official sites and to use WebFetch/browser-level verification during use, making live network interaction part of the skill's actual behavior rather than just background provenance.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

The error-handling section says the skill defaults to Chinese Markdown output unless the user requests another format, which imposes a language choice by default. This is a natural-language policy concern because it does not first offer the user a language preference or make the language behavior opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This SVG contains user-facing natural-language content almost entirely in Chinese, including the title, description, and labels. Under the policy criteria, forcing a specific language without offering a language or locale choice can be considered a natural-language policy violation, and this file does not show any opt-in or alternative-language mechanism despite mentioning bilingual support in the content.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

该文档全文以中文编写,且未说明这是仅面向中文用户的区域性材料,也未提供用户可选择其他语言的说明。按规则,若技能内容强制特定语言而无用户选择或明确、合理的地区限定,可构成自然语言层面的政策问题。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown file presents all instructions and compliance guidance exclusively in Chinese, and does not indicate that users may choose another language. Under the policy criteria, forcing a specific language without user opt-in can be a natural-language policy violation unless the locale constraint is clearly documented and justified.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.