Back to skill

Security audit

Article to Infographic

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly coherent, but its optional PNG export can automatically install browser tooling and render active HTML with network access, so it should be reviewed before use.

Use HTML-only mode or run this skill in an isolated environment unless you specifically need PNG export. Before PNG export, preinstall pinned Playwright/Chromium yourself or require approval, and avoid rendering untrusted HTML or sensitive content with external fonts or network access enabled.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T08 · Insecure Dependencies

Warning
Location
scripts/html_to_png.py:29
Finding

Automatic Installation of Unpinned Playwright and Chromium Dependencies

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/html_to_png.py:56
Finding

Unrestricted JavaScript and Network Execution During HTML Rendering

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
Findings (16)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared skill purpose is article-to-infographic transformation, but the instructions also include browser automation, screenshot rendering, local server startup, and auto-installation of Playwright/Chromium dependencies. This mismatch can cause users or orchestrators to invoke the skill under the assumption of simple content transformation while it actually performs broader code execution and environment modification.

Content

No source excerpt is available for this finding.

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/illustrations-guide.md (reported line 43)May include surrounding context.

Working person illustration
```

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill instructs the agent to use shell-capable behaviors such as starting a local HTTP server and running a Python Playwright script, but it does not declare any explicit tool scope or allowed-tools boundary. This increases the risk of unintended command execution or overbroad agent behavior because the runtime permissions are implicit rather than constrained and auditable.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The manifest description says to use the skill when the user wants to convert text into an infographic, create a visual summary, or generate one from a URL, file, or pasted text. These triggers are broad and lack clear boundaries or exclusion conditions, which could cause unintended invocation for many ordinary summarization or formatting requests.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill tells the agent to fetch remote URLs, read local files, and later write output files, but it does not prominently disclose these actions up front. Users may provide content without understanding that network access, local file access, and file creation are part of execution, undermining informed consent and increasing data exposure risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The PNG export workflow omits a clear warning that it may start a local web server, launch a headless browser, and run a script/toolchain that can install dependencies. These are materially higher-risk actions than document generation and could surprise users or violate least-privilege expectations in restricted environments.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The PNG export section authorizes starting a local HTTP server, injecting JavaScript into rendered pages, and running a Playwright-based screenshot pipeline. Those behaviors exceed the narrow expectation of summarizing an article into HTML and introduce additional attack surface through local execution, browser automation, and dependency handling.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill first says output format must be confirmed before generation, but later instructs the agent to ask for PNG export after HTML delivery. Contradictory control flow weakens the safety boundary around user consent and can lead to unexpected extra actions after generation, including execution of export tooling the user may not have approved upfront.

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 · references/style-presets.md (reported line 199)May include surrounding context.

Fontshare example:

html
<link href="https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@300,400,500,700&display=swap" rel="stylesheet">

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill performs package and browser installation in addition to its stated document-rendering function, which broadens its capabilities to network access and system modification. This mismatch increases risk because a content transformation tool should not need to alter the host environment at runtime to complete a user request.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

Automatic package and browser installation executes subprocesses that fetch and install software without user confirmation, creating both supply-chain exposure and unauthorized system changes. In an agent setting, this is especially dangerous because a seemingly simple file-conversion action can unexpectedly trigger network activity and persistent modifications.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
96% confidence
Finding

This code automatically runs pip install at runtime, including the '--break-system-packages' flag, which can modify the host Python environment and pull code from package indexes without prior approval. In a skill that should only convert HTML to PNG, this is an unnecessary expansion of privileges and creates supply-chain and environment-integrity risk.

Content

Scanner excerpt · scripts/html_to_png.py (reported line 34)May include surrounding context.

python
import playwright
    except ImportError:
        print("[html_to_png] Installing playwright...", file=sys.stderr)
        subprocess.check_call(
            [sys.executable, "-m", "pip", "install", "playwright", "-q",
             "--break-system-packages"],
            stdout=subprocess.DEVNULL

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/html_to_png.py (reported line 41)May include surrounding context.

python
)

    # Check if chromium is installed
    chromium_check = subprocess.run(
        [sys.executable, "-m", "playwright", "install", "--dry-run", "chromium"],
        capture_output=True, text=True
    )

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
93% confidence
Finding

This code automatically installs the Chromium runtime at execution time, causing network-backed system modification from within the skill. In an agent environment, this expands the tool's authority beyond rendering HTML and can introduce unreviewed binaries or fail-open behavior in restricted environments.

Content

Scanner excerpt · scripts/html_to_png.py (reported line 47)May include surrounding context.

python
)
    if chromium_check.returncode != 0 or "chromium" not in chromium_check.stdout.lower():
        print("[html_to_png] Installing chromium browser...", file=sys.stderr)
        subprocess.check_call(
            [sys.executable, "-m", "playwright", "install", "chromium"],
            stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL
        )

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
76% confidence
Finding

Line L25 advertises "中文字体优化" as a feature, and the document does not mention whether language or locale behavior is optional or limited to CJK-specific use cases. Because SQP-3 applies to all file types and covers forced language or locale behavior, this wording can suggest a locale preference without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

The manifest text highlights 'Chinese typography optimization' and a 'chinese-anime' style, and the changelog states these were added as built-in behavior. Because the file does not indicate that Chinese-language or locale-specific behavior is optional or user-selected, this can conflict with a policy requiring language/locale choice rather than imposing one implicitly.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.