Back to skill

Security audit

Scrapling Web Extractor

Security checks for vulnerabilities and agentic risk

Overview

The skill is a webpage-to-Markdown scraper, but it allows overbroad URL fetching beyond its public-web claim and its documentation does not match important runtime behavior.

Review this skill carefully before installing. Run it only in an isolated environment, provide only public URLs you trust, avoid sensitive networks where localhost or cloud metadata endpoints are reachable, and pin or review dependencies before following the install commands.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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)

T05 · Unauthorized Access and Privilege Escalation

Error
Location
scripts/scrape_to_markdown.py:163
Finding

Unrestricted URL Fetching Enables Server-Side Request Forgery

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
README.md:27
Finding

Third-Party Packages and Browser Assets Are Installed Without Version or Integrity Pinning

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • 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 (9)

Tp4

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The documented behavior overstates or misstates what the skill does, including undeclared local file output and potentially missing or partial support for async, stealth, and dynamic modes. Security-relevant mismatches are dangerous because operators may trust controls, execution modes, or data-handling guarantees that are not actually implemented, leading to unsafe deployment decisions.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill advertises and operationally requires network, shell execution, and local file read/write behaviors, but it declares no explicit tool scope or permissions. This creates a capability-transparency gap: a host agent may invoke a skill with broader powers than the user expects, increasing the risk of unintended file writes, arbitrary URL fetching, or shell-mediated misuse.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

This markdown file documents that --output-dir will save per-page .md files and a master index.json, but it does not explicitly warn that local files will be created or overwritten as part of execution. For markdown files, data-affecting behavior should be disclosed clearly so users understand the impact on their filesystem before running the skill.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
72% confidence
Finding

The markdown explains stealth options such as --geoip, --proxy, and WebRTC handling, but it does not clearly warn users that these features alter transmitted browser/network metadata and may route traffic through third-party infrastructure. For markdown files, privacy-relevant behavior should be disclosed explicitly when the skill can affect how user traffic and identifying data are handled.

Content

No source excerpt is available for this finding.

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/scrape_to_markdown.py (reported line 40)May include surrounding context.

python
if obj is None:
        return ""
    for attr in ("html", "raw_html", "content", "markup", "body", "inner_html"):
        value = getattr(obj, attr, None)
        if callable(value):
            try:
                value = value()

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/scrape_to_markdown.py (reported line 80)May include surrounding context.

python
for module_name, class_name in candidates:
        try:
            module = importlib.import_module(module_name)
            cls = getattr(module, class_name)
            for method_name in ("get", "fetch"):
                if callable(getattr(cls, method_name, None)):
                    return cls, method_name

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/scrape_to_markdown.py (reported line 82)May include surrounding context.

python
module = importlib.import_module(module_name)
            cls = getattr(module, class_name)
            for method_name in ("get", "fetch"):
                if callable(getattr(cls, method_name, None)):
                    return cls, method_name
        except Exception as e:
            errors.append(f"{module_name}.{class_name}: {e}")

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/scrape_to_markdown.py (reported line 92)May include surrounding context.

python
def fetch_page(url, js=False, wait_selector=None, timeout=30, automatch_domain=None):
    cls, method_name = load_fetcher(js=js)
    method = getattr(cls, method_name)

    kwargs = {}
    if js:

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/scrape_to_markdown.py (reported line 105)May include surrounding context.

python
if automatch_domain and not js:
        try:
            instance = cls(automatch_domain=automatch_domain)
            method = getattr(instance, method_name)
        except Exception:
            pass