Back to skill

Security audit

yingmi-skill

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because its instructions reportedly require privileged, automatic CLI installation and allow report contents to be sent to an online PDF renderer without a warning; some bundled code was only partially analyzed.

Consider avoiding installation until the maintainer explains the required elevated installation and update process, and whether PDF rendering can stay local or requires your informed approval to send report contents to an online service. The scan is incomplete: it reports 90.9% coverage, with a bundled JavaScript file only partially inspected because of obfuscated text and parser and size limits. A separate scan completed with no findings, but that does not resolve the incomplete coverage.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (8)

The workflow requires automatic privileged installation without warning about system-wide changes or elevated execution.

High
Category
Output Handling
Confidence
98% confidence
Finding

The instructions require immediate installation and privileged retry without a separate approval step explaining system-wide changes. A user requesting financial information has not necessarily authorized elevated software installation, and automatic updates can introduce new executable code into an environment containing financial credentials.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/CLI前置检查.md (reported line 82)May include surrounding context.

md
- 当 `authorized` 为 `true` 时,表示已经授权,可以直接结束前置检查并继续后续 MCP 调用。
- 当 `authorized` 不为 `true` 时,表示当前环境尚未授权,需要继续浏览器授权。
- `user` 是脱敏后的用户标识。不要在日志或交付物中输出 access token、refresh token 或授权码。

### 步骤 3:浏览器授权

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_read, file_write, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The prerequisite workflow mandates administrator-level package installation for a financial data and analysis skill.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The workflow mandates retrying a global package installation with sudo after a permission failure, unnecessarily expanding a financial-analysis task into administrator-level system modification. Installing an unpinned latest package through a third-party registry introduces supply-chain exposure, with elevated installation privileges increasing the consequences of compromised package contents or installation behavior.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
98% confidence
Finding

The sudo npm install command explicitly requests elevated execution for a global, mutable package installation. This is the same underlying escalation issue identified by the other installation findings: a compromised dependency or installation process could affect protected system locations, beyond the needs of financial analysis.

Content

Scanner excerpt · references/CLI前置检查.md (reported line 54)May include surrounding context.

  • 如果安装时因为权限不足失败,必须改用 sudo 重新执行:
bash
sudo npm install -g yingmi-skills-cli@latest --registry=https://registry.npmmirror.com --prefer-online
  • 如果 yingmi-skills-cli upgrade --check-only 提示当前不是最新版本,也应执行上面的安装或更新命令,直到确认 CLI 已经升级到最新版本。

The export workflow falls back to online PDF rendering without warning that report contents will be sent to a rendering service.

Medium
Category
Output Handling
Confidence
91% confidence
Finding

The workflow permits automatic fallback from local PDF generation to online RenderHtmlToPdf without a disclosure or authorization check for transmitting report contents. In this financial skill, reports may contain account holdings, household finances, or client information, so a rendering fallback can cross a significant confidentiality boundary even though no malicious destination is shown.

Content

No source excerpt is available for this finding.

The protocol mandates a Chinese-language prompt verbatim without allowing the user's language preference.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

The skill requires copying the Chinese format-selection prompt exactly, including in interactive cards, and explicitly prohibits rewording. This forces Chinese user-facing output without language opt-in or a documented locale-specific justification.

Content

No source excerpt is available for this finding.

The template mandates Chinese-localized output elements without user language or locale opt-in.

Low
Category
Output Handling
Confidence
90% confidence
Finding

Line 100 requires Chinese section numbering, and line 112 requires the exact Chinese data-source label “数据来源:盈米MCP” in customer-visible report elements. These requirements impose localized output without offering a language choice or documenting a region-specific justification.

Content

No source excerpt is available for this finding.