Back to skill

Security audit

website-audit

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this website-audit skill suspicious because it reports browser and network safety weaknesses that could expose the audit host when inspecting websites.

Treat this as a review decision, not a claim that the author is malicious. Before installing, consider whether you can run it in an isolated environment without sensitive files or network access to internal services, and whether its host permissions are clear. Skillspector’s analysis was partial: all listed components were scanned, but several referenced output paths were unresolved, so the evidence is incomplete.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/_http.py
Finding

Separate DNS validation and connection permit DNS rebinding

Content
View full analysis

Impact

An attacker can induce HTTP GET/HEAD requests to internal services reachable from the audit host. GET response content can also enter HTML analysis and its JSON report. Actual reach depends on local network access and service behavior; credential disclosure is not established.

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/check_rendered.py
Finding

Rendered audits do not enforce private-network restrictions after initial validation

Content
View full analysis

Impact

An attacker-controlled public endpoint can cause browser navigation to internal web services. This exposes the audit host's network position for unauthorized requests; whether internal content is reflected in Lighthouse results depends on the destination and the resulting audits.

Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
Findings (7)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · references/seo.md (reported line 18)May include surrounding context.

md
- **hreflang** (A): reciprocal pairs, valid language codes, includes self-reference.

## On-page
- **Title**: present and unique per page. Roughly 30-60 characters is a display guideline, not a rule; flag only truncation-prone or empty/duplicate titles.
- **Meta description**: present and unique on important pages. Missing is Low; duplicated across many pages is Medium.
- **Headings**: exactly one meaningful `h1`; order does not skip levels badly.
- **Images**: descriptive `alt` on content images (decorative images use `alt=""`).

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · scripts/check_rendered.py (reported line 237)May include surrounding context.

python
# Lighthouse's --preset accepts perf/experimental/desktop; "mobile" is not a
            # preset name — mobile emulation is the default when no preset is passed.
            cmd.append("--preset=desktop")
        env = dict(os.environ, CHROME_PATH=chrome)  # chrome-launcher honours this reliably
        try:
            proc = subprocess.run(cmd, capture_output=True, text=True, timeout=args.run_timeout, env=env)
        except subprocess.TimeoutExpired:

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

The HTTP helper permits state-changing methods despite explicitly promising GET/HEAD-only, read-only operation.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The design rule at L004 restricts requests to GET/HEAD, and L020 describes the audit as read-only. However, fetch() accepts an arbitrary method and passes it directly to urllib.request.Request without validation, permitting requests such as DELETE that can modify the audited website.

Content

No source excerpt is available for this finding.

Chrome is launched with its sandbox disabled without disclosing the security implications.

Medium
Category
Output Handling
Confidence
99% confidence
Finding

Chrome is unconditionally launched with --no-sandbox while rendering potentially hostile websites, removing a major containment boundary. If a page exploits a browser vulnerability, disabling the sandbox can substantially increase access to the audit process's host resources; the supplied code establishes no compensating isolation.

Content

No source excerpt is available for this finding.

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/check_rendered.py (reported line 239)May include surrounding context.

python
cmd.append("--preset=desktop")
        env = dict(os.environ, CHROME_PATH=chrome)  # chrome-launcher honours this reliably
        try:
            proc = subprocess.run(cmd, capture_output=True, text=True, timeout=args.run_timeout, env=env)
        except subprocess.TimeoutExpired:
            not_checked("Lighthouse run timed out after %ss." % args.run_timeout)
        except OSError as e:

Tainted flow: 'cmd' from os.environ.get (line 228, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · scripts/check_rendered.py (reported line 239)May include surrounding context.

python
cmd.append("--preset=desktop")
        env = dict(os.environ, CHROME_PATH=chrome)  # chrome-launcher honours this reliably
        try:
            proc = subprocess.run(cmd, capture_output=True, text=True, timeout=args.run_timeout, env=env)
        except subprocess.TimeoutExpired:
            not_checked("Lighthouse run timed out after %ss." % args.run_timeout)
        except OSError as e: