Back to skill

Security audit

Book Illustrator Free

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly an illustration-planning guide, but it asks for write and command-execution authority that is not well justified or scoped.

Review this skill before installing. Its content appears to be ordinary book-illustration planning guidance, but only install it in an environment where you are comfortable granting the agent file-write and command-execution capability, or remove those permissions first. Treat manuscript text and project notes as untrusted input, and do not allow network callbacks or shell commands unless you explicitly requested them.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:16
Finding

Unnecessary Read, Write, and Command-Execution Permissions

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 16-23
Vulnerability Type: Excessive tool permissions that violate least privilege
Risk Level: Medium

Vulnerable Code

yaml
tools:
- - read
- exec
homepage: https://skillhub.cn
pricing_tier: "L2-标准级"
pricing_model: per_use
suggested_price: "19.9 CNY/per_use"
tools: ["read", "write", "exec"]

Related declarations at lines 345-349 confirm that the Skill is primarily a Markdown and natural-language workflow:

markdown
- 本免费版基于Markdown指令运行,无需额外API Key
- 所有插画规划通过自然语言交互完成,不上传任何数据

### 可用性分类
- **分类**: MD+EXEC(纯Markdown指令,部分功能需要exec命令行执行能力)
- **说明**: 基于Markdown的AI Skill,通过自然语言指令驱动Agent提供插画规划指导

Technical Analysis

The Skill provides natural-language guidance for illustration requirements, style selection, chapter allocation, creative feedback, and project planning. These functions do not require unrestricted access to local files or arbitrary command execution.

Nevertheless, the front matter requests read, write, and exec. The duplicate and inconsistent tools declarations also make the effective permission set ambiguous. The only concrete command-related guidance found in the audited file is a suggestion to use ping for network troubleshooting at line 424; this does not justify general-purpose command execution or workspace write access.

This violates the principle of least privilege. Although the audited content does not itself contain a malicious command, granting these unnecessary capabilities increases the damage possible if the Agent is subsequently influenced by malicious user input, untrusted book content, or another prompt-injection source.

Attack Path

  1. A user or platform loads the Skill and grants the tools declared in its front matter.
  2. The Agent receives untrusted content, such as a manuscript, project instruction, or other text containing prompt-injection directives.
  3. The injected content directs the Agent to invoke one of the unnecessarily av ...[truncated 1065 chars]
Remediation
View remediation

Remediation Suggestions

  1. Remove read, write, and exec from the Skill because its documented illustration-planning functions can operate through natural-language interaction alone.
  2. Retain only one canonical tools field in the YAML front matter to eliminate permission ambiguity.
  3. Reclassify the Skill as Markdown-only rather than MD+EXEC.
  4. If connectivity diagnostics are genuinely required, replace arbitrary exec with a narrowly scoped network-diagnostic capability that:
    • Accepts only validated hostnames or IP addresses.
    • Does not invoke a shell.
    • Enforces timeouts and output limits.
    • Requires explicit user approval before network access.
  5. Configure the host platform to deny undeclared or unnecessary tool calls and require confirmation for file access and command execution.
  6. Treat manuscripts and other user-provided content as untrusted data, and prevent instructions embedded in that content from authorizing tool use.
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • 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
Findings (8)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The invocation guidance says to use the skill for general project management, task planning, progress tracking, and team collaboration, which is much broader than book illustration. Overbroad routing can cause the skill to activate in unrelated contexts, increasing chances that its unnecessary write/exec capabilities are exposed during ordinary workflows.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The documented purpose is book-illustration planning and guidance, but the manifest grants write and exec capabilities that enable filesystem modification and arbitrary command execution far beyond that scope. Overprivileged tool access increases the blast radius if the skill is triggered unexpectedly or if later prompt content steers the agent into unsafe operations.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest includes exec capability but provides no upfront warning near the tool declaration that commands may be run on the host. Users and downstream agents may therefore underestimate operational risk and approve or invoke the skill without understanding that it could execute shell commands.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill claims it does not upload any data and needs no extra API key, yet it defines a callback_url input and later discusses network testing and connectivity troubleshooting. This creates a misleading trust boundary: users may disclose sensitive project details believing the skill is fully local, while the design explicitly anticipates outbound network interaction.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The capability coverage section enumerates excessively broad keywords, including generic workflow and team-collaboration concepts, which blurs when the skill should be selected. In combination with elevated tools, ambiguous activation criteria create unnecessary exposure and make misuse or unintended triggering more likely.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The dependency section explicitly advertises exec command capability for a skill whose core function is advisory content generation. Because command execution has no clear functional tie to illustration planning, it introduces unnecessary risk of host-side actions, especially if the agent interprets user text or embedded content as commands to run.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The dependency section mentions exec support and even references network diagnostic commands, but omits a warning to inspect commands before execution or to limit their effects. That omission normalizes command execution for a non-administrative skill and can lead to unsafe host interactions under benign-looking troubleshooting guidance.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The license section states the skill was fully localized for Chinese usage scenarios, while the overall document presents the skill as broadly applicable to independent developers, enterprise teams, and AI agent platforms. Without an explicit opt-in or documented region-only scope, this can violate language/locale policy expectations.

Content

No source excerpt is available for this finding.