Back to skill

Security audit

SKU级利润核算(免费版)

Security checks for vulnerabilities and agentic risk

Overview

This skill is a local SKU profit-checking helper that reads a user-provided table and runs disclosed calculations without network access, persistence, or hidden high-impact behavior.

Install only if you are comfortable running a local Node-based helper on SKU profit tables. Review the input file path you pass with --input, since the script will read that file, and expect Chinese-language output unless the publisher adds localization.

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
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Ae1

High
Category
analysis-evasion
Content
node scripts/run.mjs --sample # 先看样例(一张干净的 SKU 利润表)
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Ae1

High
Category
analysis-evasion
Content
node scripts/run.mjs --sample # 先看样例(一张干净的 SKU 利润表)
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Ae1

High
Category
analysis-evasion
Content
node scripts/run.mjs --sample # 先看样例(一张干净的 SKU 利润表)
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Natural-Language Policy Violations

Medium
Confidence
96% confidence
Finding
This JavaScript file contains extensive user-facing natural-language output entirely in Chinese, including input guidance, error messages, findings text, notes, and disclaimers. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly justified, which is not stated here.

Natural-Language Policy Violations

Medium
Confidence
96% confidence
Finding
The user-facing docstrings, help text, status messages, and usage guidance are entirely in Chinese, and the file does not indicate that language selection is optional or that the skill is intentionally limited to a Chinese-speaking/regional context. Under the policy, forcing a specific language without opt-in is a natural-language policy violation.

Intent-Code Divergence

Low
Confidence
93% confidence
Finding
L075 的注释写明“不是 JSON 就当作纯文本材料(例如直接粘贴的合同全文)”,这与该技能清单和其余代码反复声明的输入应为 SKU 利润核算表不一致。实现虽然确实把任意非 JSON 文本放入 text 字段,但该注释把技能适用对象描述成合同全文,主动传达了与实际技能目的不符的意图。

Static analysis

No suspicious patterns detected.