Back to skill

Security audit

网文拆文工具-免费版

Security checks for vulnerabilities and agentic risk

Overview

This is a local web-novel analysis skill with broad command and file permissions, but the behavior is disclosed and no hidden, destructive, or exfiltrating payload was found.

Install only if you are comfortable with an agent reading novel text, writing local reports, and potentially running local commands. Prefer using a dedicated project folder and virtual environment, pin dependency versions before installing jieba or networkx, and confirm before allowing shell commands or network callbacks.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:332
Finding

Unpinned Third-Party Python Dependencies

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 332–333
Vulnerability Type: Supply-chain risk from unpinned dependencies
Risk Level: Medium

Vulnerable Code

markdown
| jieba | 中文分词 | 推荐 | pip install jieba |
| networkx | 关系图谱 | 推荐 | pip install networkx |

Technical Analysis

The installation instructions direct users or agents to install jieba and networkx without fixed versions, package hashes, a lockfile, or an explicitly trusted package index. As a result, pip resolves mutable package releases at installation time rather than installing artifacts that were reviewed as part of this Skill.

Python package installation can execute dependency-controlled build or installation logic. If an upstream release or package-distribution account is compromised, or package resolution is redirected to an unsafe index, following these instructions could install and execute code that was not present during the audit.

No malicious package or active compromise was identified. This finding concerns unsafe dependency-resolution practices and the resulting exposure to future supply-chain compromise.

Attack Path

  1. A user or agent follows the dependency instructions in SKILL.md.
  2. It runs pip install jieba or pip install networkx.
  3. pip resolves the current package release and transitive dependencies from its configured index.
  4. An attacker who has compromised an upstream release, distribution account, dependency, or configured package index supplies a malicious artifact.
  5. Package-controlled build or installation logic executes with the privileges of the user running pip.
  6. The installed package can execute again when imported or otherwise used during novel analysis.

Impact Assessment

Exploitation would execute code with the privileges of the account running the installation or analysis process. Depending on that account's access, an attacker could read or modify proje ...[truncated 371 chars]

Remediation
View remediation

Remediation Suggestions

  1. Pin every direct dependency to a reviewed, exact version, for example through a version-controlled requirements file.
  2. Pin transitive dependencies with a generated lockfile rather than relying only on top-level version constraints.
  3. Require verified artifact hashes, such as with pip install --require-hashes -r requirements.txt.
  4. Explicitly use a trusted package index and avoid unreviewed extra indexes or mirrors.
  5. Install dependencies in a dedicated virtual environment under a non-privileged account.
  6. Add automated dependency vulnerability and integrity scanning to the release process.
  7. Review dependency updates before regenerating version pins and hashes.
Vulnerability Patterns
  • 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

Exposing the exec tool gives the skill arbitrary command-execution capability even though its stated purpose is only analyzing novel text and exporting reports. In an agent setting, this creates a clear path for prompt-induced shell execution, file-system modification, or chained abuse if a user or embedded content influences the agent to run commands.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill is presented as a basic local novel-analysis tool, but its documentation extends into generic execution and network-troubleshooting workflows such as ping/connectivity guidance. That broadens the operational scope beyond user expectations and can normalize execution of commands unrelated to the declared literary-analysis purpose, increasing the chance of misuse or accidental unsafe actions.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The statement that users can trigger the tool through natural-language instructions and the tool will automatically execute corresponding operations is overly permissive. In combination with read/write/exec capabilities, broad invocation rules increase the risk of unintended activation, prompt confusion, or execution of actions that the user did not explicitly consent to.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill declares behaviors involving command execution and file output but does not clearly warn users that it may run commands or write files. Missing disclosure undermines informed consent and makes it more likely that users invoke the skill without understanding its side effects, especially in an agent environment where actions may be automated.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Line L346 states the free version does not support '创作辅助建议' (creative-assistance suggestions). But the rhythm-analysis example outputs explicit recommendation lines such as '[建议] 第200-250章节奏过慢' and '[建议] 第800章附近高潮过于密集' at L179-L180, which are exactly writing-improvement suggestions rather than pure structural analysis.

Content

No source excerpt is available for this finding.