Back to skill

Security audit

story:网文工具箱路由

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious with medium confidence because scanners report undeclared file editing and deletion capabilities and an unpinned update mechanism; analysis was partial.

Consider the reported ability to modify and request permanent deletion of workspace files, and the unpinned update mechanism, before installing. The verdict is suspicious, not a claim of malicious intent. Coverage was partial: 7 of 9 components were fully inspected, and the dashboard server and part of the frontend could not be fully analyzed.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The Dashboard interface, browsing, and preference storage reasonably support the declared Dashboard feature. However, modifying and permanently deleting manuscript files are consequential capabilities not disclosed by a description limited to skill routing and launching a Dashboard. Saving is user-initiated, and deletion requires confirmation, but these safeguards do not remove the disclosure mismatch. The supplied chunk issues API requests; the backend's actual filesystem access and restrictions cannot be verified here. No external exfiltration is evident, and the absence of routing logic in this frontend chunk is not itself treated as a mismatch.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
2. 从当前已加载的 `story` skill 目录定位 `scripts/dashboard-server.mjs`,不要硬编码仓库路径、

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network, 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.

Generic routing keywords can trigger the novel-writing toolbox for unrelated requests.

Medium
Category
Trigger Abuse
Confidence
88% confidence
Finding

The routing table includes everyday requests such as “看看有没有问题” (check for problems), “初始化” (initialize), “浏览器” (browser), and “搜索一下” (search), followed by an instruction to invoke the matching skill directly. Although the introduction describes a novel-writing toolbox, these activation rules do not explicitly require a writing-related context or exclude unrelated requests.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
用户问“有没有新版本”“检查更新”“升级”时执行。**先报告版本,是否安装由用户决定。**

1. **当前版本**:读本 skill 同目录的 `VERSION` 文件;缺失则视为未知。本 skill 在写作项目里(如项目下的 `skills/`、`.agents/skills/`、`.zcode/skills/`)时,读到的是项目副本的版本。
2. **最新版本**:优先 `gh release view --json tagName,name,url -R zenstory-ai/oh-story-claudecode` 取 `tagName`;无 gh 用 `curl -fsS --max-time 5 https://api.github.com/repos/zenstory-ai/oh-story-claudecode/releases/latest` 取 `.tag_name`(jq 或 grep)。查不到 → 告知"暂时拉不到最新版本,可手动看 [Releases](https://github.com/zenstory-ai/oh-story-claudecode/releases)",不报错。
3. **比较**:当前版本已知时,去掉 `v` 前缀按语义版本比较(major.minor.patch);未知时只展示最新稳定版,不判定是否已最新。`gh release` 默认取 latest 稳定版,不含 pre-release。
4. **告知**:
   - 已最新 → 「已是最新版 vX.Y.Z」。

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

The update command executes an unpinned npm package through npx and installs skill content from an unpinned repository reference. Compromise of either upstream could introduce executable code or malicious agent instructions with the user's privileges; explicit update consent reduces unexpected execution but does not establish artifact integrity. This is a supply-chain weakness, not an MCP-server configuration issue.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

This finding duplicates the unpinned npx update dependency reported at the same location, rather than identifying a separate MCP server. Resolving mutable upstream code during an approved update creates a supply-chain execution risk, although no malicious package or repository behavior is shown.

Content

No source excerpt is available for this finding.