Back to skill

Security audit

中医执业医师备考助手

Security checks for vulnerabilities and agentic risk

Overview

This is a local Chinese medical exam study assistant whose storage and export behavior is disclosed and aligned with its tutoring purpose.

Before installing, expect this skill to keep local study history, wrong answers, preferences, and document-cache metadata in its memory folder, and to write an exported wrong-question file when requested. Avoid storing sensitive personal notes in shared or cloud-synced locations, and ask the publisher to add clear inspect, clear, and export-confirmation controls. Also note the current assistant.js appears to reference an undefined OUTPUT_DIR, so export and initialization may need a publisher fix before reliable use.

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
Vulnerability Patterns
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • 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 (10)

Tp4

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

The skill declares a narrow tutoring purpose, but the document also describes persistent local storage of progress, user profile data, wrong-question history, document cache, and local file export behavior. This is a transparency and consent problem: users may provide sensitive study notes or personal data without realizing it will be retained or written to disk beyond the immediate session.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
在 `assistant.js` 中修改:

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · assistant.js (reported line 191)May include surrounding context.

js
};
  
  // 返回指令,让 OpenClaw 主程序处理
  return instruction;
}

/**

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill states that it uses persistent memory to store study progress, but it does not warn users that their learning history, mistakes, and related profile data may be retained across sessions. Even if the data is not highly regulated, undisclosed retention can expose personal habits, educational records, and potentially sensitive notes to other local users or later compromise.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The documentation describes exporting wrong-question data to a Word document without warning that study content will be written to a local path. That can unintentionally expose personal notes, exam preparation history, or copyrighted question material through insecure directories, shared machines, or cloud-synced folders.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The file’s natural-language interface, usage examples, and outputs are entirely specified in Chinese, and the export routine later hard-codes the zh-CN locale. There is no indication that users may opt into another language or that the skill is intentionally restricted to a China-specific deployment context.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The export operation writes a study-history file containing wrong-answer records, dates, and review metadata to disk without an explicit confirmation or warning at the point of export. In a shared host environment, this can create unintended disclosure of sensitive learning-history data and surprise persistence outside the user's immediate awareness.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The manifest describes the assistant as generating daily review plans, evaluating answers, and managing a wrong-question set. However, the CLI also advertises and accepts a separate "sync-docs" action, which is a filesystem-oriented document synchronization capability not mentioned in the manifest description.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The natural-language description forces a specific language/locale experience by presenting the skill entirely in Chinese without offering user choice. Under the policy, language constraints should be optional or explicitly justified as region-specific.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

The inline comment states that the skill '专注于复习计划生成' (focuses on review plan generation), which narrows the apparent intent of the module. In practice, the file also evaluates answers, records wrong questions, and exports the wrong-question set, so the comment actively misstates the module’s implemented scope.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.dangerous_exec

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
assistant.js:228