Back to skill

Security audit

Scrapling Official Skill

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious with medium confidence because scanners report undeclared remote update and deletion examples, mutable Docker image references, and incomplete inspection of some material.

Consider the suspicious verdict before installing. Review the PUT and DELETE examples and the Docker image references, and bear in mind that some referenced content was only partially inspected. The verdict indicates review concerns; it does not establish malicious intent or that remote resources were changed.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
Findings (34)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The declared purpose concerns scraping and extracting data. The supplied code instead uses Fetcher.delete to request removal of a remote resource. Although stealth settings and proxy use can support scraping, deletion is a materially different capability not disclosed by the description. Whether deletion succeeds depends on the endpoint and authorization.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared purpose covers scraping and crawling, but the supplied code uses AsyncFetcher.delete to request deletion of a resource. This is a materially different, state-changing capability not disclosed in the description. Whether deletion actually occurs depends on the server. The stealth headers, impersonation, and proxy settings are supporting implementation details, not separate mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The description frames HTTP requests as part of scraping and extraction. The supplied examples instead submit update payloads, including status='updated', using PUT. This demonstrates a remote data-modification capability not declared by that purpose, although successful modification is not established by the snippet. Browser impersonation and proxy settings are supporting implementation details and are not independently mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

The supplied code performs downstream document indexing rather than website scraping or extraction. Although its inputs could originate from a scraper, preparing document chunks and inserting them into a vector store is a separate capability not represented in the declared description. No network access or Scrapling functionality is shown.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

Although HTTP requests, stealth settings, and proxies fit the declared scraping workflow, these examples specifically issue PUT requests with update payloads. Remote data modification is a distinct capability not disclosed by the scraping and extraction description. The examples demonstrate this capability; they do not establish that any live resource was actually changed.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

GET requests, response-file output, and stealth-browser fetching align with scraping. POST can also support extraction workflows. However, exposing general PUT and DELETE operations adds remote resource modification and deletion capabilities not adequately represented by the declared scraping and extraction purpose. The mismatch concerns the advertised command surface; the chunk alone does not establish that any remote resource was modified.

Content

No source excerpt is available for this finding.

YARA rule 'info_stealer': Information stealer patterns (credential harvesting, browser data theft) [malware]

High
Category
YARA Match
Confidence
75% confidence
Finding

YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).

Content

Scanner excerpt · SKILL.md (reported line 264)May include surrounding context.

md
When reusing a context, `useragent`, `locale`, `timezone_id`, `proxy`, `proxy_rotator` and `additional_args` are ignored. Per-request `proxy` is also ignored. The existing context settings remain in use.

Scrapling creates its own tabs in either mode and closes only those tabs. Existing tabs stay open. Page options such as `extra_headers`, `timeout`, `page_setup` and `page_action` still work.

`cookies` and `init_script` can still be added, but they affect the shared context when `new_context=False`. The remote classes do not accept `real_chrome`; `cdp_url` selects the browser. Other browser launch options do not apply because the browser is already running.

### Shadow DOM

Use `pierce_shadow=True` with StealthyFetcher and its session classes to include open shadow roots. It defaults to `False` and can be overridden per request. For MCP, pass `pierce_shadow=true` to `browser_fetch_once` or each `browser_fetch` call.

The browser CLI command accepts `--pierce-shadow` and `--no-pierce

YARA rule 'info_stealer': Information stealer patterns (credential harvesting, browser data theft) [malware]

High
Category
YARA Match
Confidence
75% confidence
Finding

YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).

Content

Scanner excerpt · references/fetching/stealthy.md (reported line 62)May include surrounding context.

When reusing a context, useragent, locale, timezone_id, proxy, proxy_rotator and additional_args are ignored. Per-request proxy is also ignored. The existing context settings remain in use.

Scrapling creates its own tabs in either mode and closes only those tabs. Existing tabs stay open. Page options such as extra_headers, timeout, page_setup and page_action still work.

cookies and init_script can still be added, but they affect the shared context when new_context=False. The remote classes do not accept real_chrome; cdp_url selects the browser. Other browser launch options do not apply because the browser is already running.

Use AsyncRemoteSession with async with and await:

python
from scrapling.fetchers import AsyncRemoteSession

async def scrape_remote():
    async with AsyncRemoteSession(cdp_url="http://localhost:9222", new_context=False) as session:
        return await session.fetch("https://example.com")

What does it do?

St

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

md
nt selectors, or include those elements in direct-child paths. See [Shadow DOM](references/fetching/stealthy.md#shadow-dom) for assigned content, hidden slots,

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

md
local after closure; unfinished captures are not awaited. See [Migrating in v5](references/fetching/stealthy.md#migrating-in-v5) for the removed API capture int

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

md
- `references/mcp-server.md` - MCP server tools, persistent session management, remote browsers over CDP, authentication, and capabilities

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

md
- `references/integrations/scrapy.md` - Using Scrapling's parsing API inside existing Scrapy projects through the `scrapling_response` decorator

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.

Docker image referenced without tag or digest: 'docker pull pyd4vinci/scrapling'.

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

The untagged image reference resolves to a mutable latest tag, so following setup instructions can retrieve different, unreviewed software over time. If the publisher account or image pipeline is compromised, subsequent container execution could run attacker-controlled code with access to whatever files, credentials, and network privileges the container receives.

Content

No source excerpt is available for this finding.

Docker image referenced without tag or digest: 'docker pull ghcr.io/d4vinci/scrapling:latest'.

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

Although this reference includes a tag, latest is mutable and does not identify a fixed artifact. A compromised or unexpected upstream update could therefore introduce attacker-controlled code when the downloaded image is subsequently run.

Content

No source excerpt is available for this finding.

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
60% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · SKILL.md (reported line 331)May include surrounding context.

text
Press Ctrl+C to pause gracefully - pending requests and seen URLs are saved automatically. Later, when you start the spider again, pass the same `crawldir`, and it will resume from where it stopped.

While iterating on a spider's `parse()` logic, set `development_mode = True` on the spider class to cache responses to disk on the first run and replay them on subsequent runs - so you can re-run the spider as many times as you want without re-hitting the target servers. The cache lives in `.scrapling_cache/{spider.name}/` by default and can be overridden with `development_cache_dir`. Don't ship a spider with this enabled.

For rules-based crawls (follow links matching a regex), use `CrawlSpider` instead of writing the link-extraction loop yourself:
```python

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
60% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/spiders/advanced.md (reported line 165)May include surrounding context.

When you're iterating on a spider's parse() logic, re-hitting the target servers on every run is slow and noisy. Development mode caches every response to disk on the first run and replays them from disk on subsequent runs, so you can tweak your selectors and re-run the spider as many times as you want without fetching those pages again.

Enable it by setting development_mode = True on your spider:

python
class MySpider(Spider):

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
60% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/spiders/advanced.md (reported line 171)May include surrounding context.

md
class MySpider(Spider):
    name = "my_spider"
    start_urls = ["https://example.com"]
    development_mode = True

    async def parse(self, response: Response):
        yield {"title": response.css("title::text").get("")}

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/fetching/choosing.md (reported line 19)May include surrounding context.

md
| Feature            | Fetcher                                           | StealthyFetcher                                                                            |
|--------------------|---------------------------------------------------|--------------------------------------------------------------------------------------------|
| Relative speed     | 🐇🐇🐇🐇🐇                                        | 🐇🐇🐇                                                                                     |
| Stealth            | ⭐⭐                                                | ⭐⭐⭐⭐⭐                                                                                      |
| Anti-Bot options   | ⭐⭐                                                | ⭐⭐⭐⭐⭐                                                                                      |
| JavaScript loading | ❌                                                 | ✅                                                                                          |

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/fetching/static.md (reported line 96)May include surrounding context.

python
page.css('.something.something')

page = Fetcher.get('https://api.github.com/events')
>>> page.json()
[{'id': '<redacted>',
  'type': 'PushEvent',

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/fetching/static.md (reported line 104)May include surrounding context.

md
'login': '<redacted>',
   'display_login': '<redacted>',
   'gravatar_id': '',
   'url': 'https://api.github.com/users/<redacted>',
   'avatar_url': 'https://avatars.githubusercontent.com/u/<redacted>'},
  'repo': {'id': '<redacted>',
...

The HTTP examples include remote resource updates and deletion, beyond the skill's stated scraping and extraction purpose (L133–L166).

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

The PUT examples send status updates to an /update endpoint, and the DELETE examples target /resource/123 for deletion. These are remote state-modification operations rather than data retrieval or authentication needed for scraping, and the manifest does not declare resource-management functionality.

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/fetching/static.md (reported line 189)May include surrounding context.

Make multiple requests with the same settings and the same cookies

text
page1 = session.get('https://scrapling.requestcatcher.com/get')
page2 = session.post('https://scrapling.requestcatcher.com/post', data={'key': 'value'})
page3 = session.get('https://api.github.com/events')

# All requests share the same session and connection pool
text

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/fetching/stealthy.md (reported line 115)May include surrounding context.

md
|    ✔️    |
|      extra_flags      | A list of additional browser flags to pass to the browser on launch.                                                                                                                                                                |    ✔️    |
|   solve_cloudflare    | When enabled, fetcher solves all types of Cloudflare's Turnstile/Interstitial challenges before returning the response to you. Defaults to `False`.                                                                                                      |    ✔️    |
|     block_webrtc      | Forces WebRTC to respect proxy settings to prevent local IP address leak.                                                                                                                                                           |    ✔️    |
|      hide_canvas      | Add random noise to canvas operations to prevent fingerprinting.

Docker image referenced without tag or digest: 'docker pull pyd4vinci/scrapling'.

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

Omitting the image tag implicitly selects the mutable latest tag, so later installations can retrieve different code without a documentation change. If the registry publishing account or release pipeline is compromised, users following this installation path could obtain a malicious MCP server.

Content

No source excerpt is available for this finding.