Back to skill

Security audit

automated-lead-scraper

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because it reports unsafe handling of redirects and collection boundaries, with additional concerns about incomplete scanner coverage.

Consider the redirect-to-private-service risk and the reported scope and blocking issues before installing. Scanner coverage was partial (71.4%): several files or expressions were not fully interpreted, so the scan cannot establish that unreported behavior is safe. The verdict is suspicious, indicating reported security weaknesses without clear evidence of malicious intent.

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 (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/email-scraper.js
Finding

Unvalidated redirects allow public websites to trigger requests to private services

Content
View full analysis

Impact

An attacker can cause GET requests to internal services reachable from the agent host. Internal email addresses and phone values returned in parseable pages can be incorporated into the job output. Internal endpoints that perform actions on GET may also be invoked. Arbitrary response disclosure to the attacker and code execution are not established.

Vulnerability Patterns
  • 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (14)

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 28)May include surrounding context.

md
node scripts/validate-input.js <their-file> --write-clean <workdir>/input.csv

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 43)May include surrounding context.

md
node scripts/email-scraper.js --workdir <workdir> > <workdir>/run.log 2>&1

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 92)May include surrounding context.

md
node scripts/email-scraper.js --selftest # pure-function checks, no network. Baseline: 7/8 pass (see below)

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 51)May include surrounding context.

md
node scripts/summarize-run.js --workdir <workdir> # add --json for machine-readable

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 57)May include surrounding context.

md
prints `Resume from : N already done`, and only processes the remainder. Check `summarize-run.js` first: `can_resume: true` / `pending > 0`. If `cache.json` is

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 66)May include surrounding context.

md
Run `node scripts/summarize-run.js --workdir <workdir>` and report:

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: network.

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 trigger example “Start over on that list, but keep the old results” lacks a lead-scraping scope constraint.

Medium
Category
Trigger Abuse
Confidence
91% confidence
Finding

This phrase could refer to many unrelated list-processing tasks, yet it is explicitly presented as a request that should trigger this skill. The file does not require an established lead-scraping context for this otherwise generic request.

Content

No source excerpt is available for this finding.

Block-handling claims are contradicted by parallel subpage requests that bypass the reduced concurrency.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

Promise.allSettled launches all eight priority-page operations independently of the configured URL concurrency, and each operation checks blockedHosts before sleeping rather than immediately before sending its request. Consequently, scheduled requests can still be sent after a blocking response, violating the promised stop-on-block behavior and potentially increasing target load or triggering an IP ban.

Content

No source excerpt is available for this finding.

Social-network URLs are accepted into the cleaned scraping input despite the manifest explicitly excluding social networks.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

Social-network URLs are classified as valid and written into the cleaned input, with only a warning despite the skill's explicit exclusion of those sources. This leaves the collection boundary dependent on agent compliance and can cause out-of-scope public contact-data collection; it does not demonstrate access to private or authenticated content.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
80% confidence
Finding

The caret range permits installation of newer Axios releases rather than a single reviewed version when no effective lockfile constrains resolution. This creates a conditional supply-chain and reproducibility weakness in the install workflow, although no compromised release or exploitable Axios version is established here.

Content

Scanner excerpt · package.json (reported line 16)May include surrounding context.

json
"test": "node scripts/smoke-test.js"
  },
  "dependencies": {
    "axios": "^1.20.0",
    "cheerio": "^1.2.0",
    "csv-parse": "^7.0.2",
    "csv-stringify": "^6.8.3"

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
80% confidence
Finding

The Cheerio version range allows future compatible releases to be selected when installation is not constrained by a reviewed lockfile. Because Cheerio processes untrusted website HTML, unexpected dependency changes are security-relevant, but the supplied content establishes no particular vulnerable or malicious release.

Content

Scanner excerpt · package.json (reported line 17)May include surrounding context.

json
},
  "dependencies": {
    "axios": "^1.20.0",
    "cheerio": "^1.2.0",
    "csv-parse": "^7.0.2",
    "csv-stringify": "^6.8.3"
  }

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
80% confidence
Finding

The csv-parse caret range can resolve to an unreviewed newer release if no effective lockfile is used. This is a conditional dependency-integrity weakness affecting input processing, not evidence that the declared version itself is exploitable.

Content

Scanner excerpt · package.json (reported line 18)May include surrounding context.

json
"dependencies": {
    "axios": "^1.20.0",
    "cheerio": "^1.2.0",
    "csv-parse": "^7.0.2",
    "csv-stringify": "^6.8.3"
  }
}

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
80% confidence
Finding

The csv-stringify range permits newer compatible releases during dependency resolution unless a lockfile constrains them. This weakens reproducibility and introduces conditional supply-chain exposure in output generation, though no actual package compromise is shown.

Content

Scanner excerpt · package.json (reported line 19)May include surrounding context.

json
"axios": "^1.20.0",
    "cheerio": "^1.2.0",
    "csv-parse": "^7.0.2",
    "csv-stringify": "^6.8.3"
  }
}