Back to skill

Security audit

Web Freedom Toolkit

Security checks for vulnerabilities and agentic risk

Overview

This skill is a high-risk browser evasion and takeover toolkit whose sensitive capabilities are partly disclosed but overbroad and weakly controlled.

Install only if you explicitly need authorized anti-bot/browser automation research and can run it in a disposable, isolated container or VM with no sensitive environment variables, no logged-in browser profile, and restricted outbound/internal network access. Treat the DevTools relay, no-sandbox browser mode, and takeover scripts as high-risk review items rather than ordinary browsing helpers.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (6)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/freedom_engine.py:21
Finding

Unrestricted User-Controlled URL Fetching Enables Server-Side Request Forgery

Content
View full analysis
1 else "https://example.com" engine = FreedomEngine() print(json.dumps(engine.quick_fetch(target), indent=2, ensure_ascii=False)) ``` ### Technical Analysis The command-line argument is passed directly to two network clients without validating the URL scheme, destination hostname, resolved IP address, port, or redirect chain. No control prevents requests to loopback, link-local, private, or otherwise reserved networks. The fallback does not provide a security boundary: if Scrapling fails, `curl_cffi` repeats the request to the same untrusted destination. Successful responses expose up to 2,000 characters through the process output. The declared web-retrieval functionality requires outbound access to user-selected public websites, but it does not require access to int ...[truncated 1268 chars]
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
scripts/freedom_engine.py:49
Finding

Chromium Security Sandbox Is Explicitly Disabled for Untrusted Web Content

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
scripts/python_relay.py:60
Finding

Unauthenticated Local TCP Relay Exposes Chromium DevTools Control

Content
View full analysis
127.0.0.1:{remote_port} ---") server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) # CRITICAL: Set timeout so accept() doesn't block forever server.settimeout(5.0) try: server.bind(('127.0.0.1', local_port)) server.listen(5) except Exception as e: print(f"Failed to bind port {local_port}: {e}") return start_time = time.time() threading.Thread(target=self.monitor, args=(start_time,), daemon=True).start() while self.running: try: client_sock, addr = server.accept() self.last_activity = time.time() try: target_sock = socket.create_connection(('127.0.0.1', remote_port), timeout=5) threading.Thread(target=self.pipe, args=(client_sock, target_sock), daemon=True).start() threading.Thread(target=self.pipe, args=(target_sock, client_sock), daemon=True).start() ``` The default execution path exposes the predictable ports: ```python if __name__ == "__main__": SecureRelay().start(9223, 9222) ``` ### Technical Analysis Binding to `127.0.0.1` correctly prevents direct remote access, but it does not authenticate local clients. Every process that can connect to local TCP port 9223 receives bidirectional access to Chromium’s debugging endpoint on port 9222. Chromium DevTools Protocol access is effectively equivalent to control of the attached browser session. A client can discover the debugger WebSocket URL and submit commands to navigate pages, evaluate JavaScript, inspect DOM data, and access browser state. The idle timeout and ...[truncated 1355 chars]
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
scripts/sota_core.py:10
Finding

High-Privilege Browser Operations Rely on Forgeable Authorization Gates

Content
View full analysis
> ").strip() if user_input != secret: print("Auth Failed.") return # 2. Start Memory-only Auth Socket with socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) as server: server.bind(socket_path) os.chmod(socket_path, 0o600) ``` The lockfile gate checks only existence and modification time: ```python def verify_access_control(): token_path = os.path.join(os.path.expanduser("~"), ".openclaw/tmp/sota_active.lock") if not os.path.exists(token_path): print("!!! Access denied. Mandatory human authorization requir ...[truncated 2665 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/sota_core.py:30
Finding

Secure Wrapper Allows Caller-Controlled Python File Execution Through Path Traversal

Content
View full analysis
1 else None if not script_name: return # Sub-process will connect to this socket def handle_auth(): try: conn, _ = server.accept() data = conn.recv(1024) if data == b"AUTH_REQUEST": conn.sendall(b"AUTH_GRANTED") conn.close() except: pass threading.Thread(target=handle_auth).start() # 3. Secure Launch run_protected_script(script_name) ``` The value is joined to the scripts directory without canonicalization or containment validation: ```python def run_protected_script(script_name): """ Secure Execution: Uses subprocess with clean environment. """ base_dir = os.path.dirname(os.path.abspath(__file__)) script_path = os.path.join(base_dir, script_name) # 1. Clean Environment clean_env = os.environ.copy() clean_env['SOTA_INTERNAL_AUTH'] = 'TRUE' # 2. Atomic Execution subprocess.run( [sys.executable, script_path], env=clean_env, check=True ) ``` ### Technical Analysis `os.path.join()` does not constrain the resulting path to `base_dir`: - An absolute `script_name` causes the base directory to be discarded. - A value containing `../` can traverse outside the scripts directory. - No allowlist restricts execution to bundled, reviewed scripts. - No canonical-path comparison verifies that the resolved target remains under `base_dir`. The use of an argument list prevents shell metacharacter injection, but it does not prevent execution of an attacker-selected Python file. The function’s “clean environment” claim is also inaccurate. `os.environ.copy()` forwar ...[truncated 1315 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
requirements.txt:1
Finding

Unpinned and Incomplete Python Dependency Specification

Content
View full analysis
=0.14.0 lxml>=5.1.0 websocket-client>=1.8.0 DrissionPage>=4.1.1.2 requests>=2.31.0 ``` The documented entry point imports an undeclared package: ```python from curl_cffi import requests as requests_cffi from DrissionPage import ChromiumPage, ChromiumOptions from scrapling import Fetcher ``` ### Technical Analysis Every requirement uses a lower bound with no upper bound, allowing installation of arbitrary future versions that were not reviewed with the Skill. No hashes or lockfile provide artifact integrity or reproducibility. The `scrapling` dependency is required by `freedom_engine.py` and declared in Skill metadata, but it is absent from `requirements.txt`. Installation behavior therefore depends on external environment state or separate package-resolution logic. The audit did not identify a confirmed malicious package, dependency-confusion name, or unsafe nonstandard package source. The issue is the absence of reproducible supply-chain controls rather than proof of current package compromise. ### Attack Path 1. A deployment installs dependencies from `requirements.txt`. 2. The package manager resolves versions newer than those reviewed when the Skill was published. 3. A future compromised, vulnerable, or incompatible release may be selected automatically. 4. Package installation or import executes that changed upstream code with installer or Skill-process privileges. 5. Separately, the missing `scrapling` requirement can cause runtime failure or encourage ad hoc installation of an unreviewed version. ### Impact Assessment Potential impact includes: - Execution of changed third-party code in the Skill environment. - Exposure to newly introduced dependency vulnerabilities. - Non-reproducible deployments ...[truncated 311 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (52)

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The document explicitly describes browser takeover, arbitrary JavaScript execution through Runtime.evaluate, and bypass of standard sandboxing controls. In the context of a 'web freedom' toolkit advertising undetectable browsing on restricted VPS environments, these capabilities materially exceed normal web automation behavior and indicate functionality that could be used for unauthorized control or evasion.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

A hardcoded DataDome-targeted bypass experiment disguised as a universal toolkit is a concerning mismatch, especially when it writes local output not mentioned in the description. The context makes this more dangerous because the skill openly frames itself around stealth and undetectability, suggesting deliberate evasion rather than ordinary automation.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

The function explicitly advertises and initiates a 'high-privilege page takeover' capability, which is unrelated to the stated purpose of a web-fetching/browsing toolkit. In this context, that strongly suggests unauthorized control or manipulation functionality, and the surrounding skill description emphasizing undetectable browsing on restricted environments increases the likelihood of abuse rather than legitimate administration.

Content

No source excerpt is available for this finding.

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
92% confidence
Finding

Copying the full environment into a child process can expose sensitive environment variables to code that did not need them, including credentials, cloud tokens, and internal service configuration. In an agent skill advertised for 'undetectable browsing' on restricted environments, that broader process and evasion context makes secret propagation more concerning because it increases the potential for misuse or exfiltration by any executed child script.

Content

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

python
script_path = os.path.join(base_dir, script_name)
    
    # 1. Clean Environment
    clean_env = os.environ.copy()
    clean_env['SOTA_INTERNAL_AUTH'] = 'TRUE'
    
    # 2. Atomic Execution

Natural-Language Policy Violations

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

User-visible strings such as 'ULTRA PHANTOM: DATADOME SOTA BREACH', 'Targeting', and 'Breach Success' describe the activity as an attack against a named external service. This natural-language framing is an organizational policy concern because it presents hostile or unauthorized behavior rather than a legitimate, clearly bounded test or research activity.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

Describing 127.0.0.1:9223 as 'our local secure relay' asserts a trust boundary without showing authentication, authorization, or integrity protections. Because the same document frames the relay as part of a browser takeover flow, the unsupported security claim can mislead operators into trusting a component that may enable unauthorized access to a DevTools session.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
89% confidence
Finding

The skill advertises execution of a Python script and declares dependencies that imply shell, network, file, and environment access, yet it provides no explicit tool-scope restrictions such as permissions or allowed-tools. In an agent setting, missing scope declarations increase the chance that a skill can exercise broader host capabilities than users expect, especially when paired with a stealth-focused description.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill explicitly promotes stealth, bypassing Cloudflare/WAFs, TLS impersonation, and undetectable browsing without any warning about legal, privacy, or target-site impact. In context, this raises the risk of misuse by normalizing evasive behavior and encouraging operation against systems that may rely on those defenses for access control.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The manifest describes a server-side web browsing toolkit built around fetching, TLS impersonation, and browser automation on restricted VPS environments. This file instead enumerates local script files and writes a local JSON 'auditor report', which is a separate audit/reporting function rather than web-freedom or browsing functionality.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The comment claims a 'Mandatory physical gate,' but the code enforces only a software call to verify_access_control(), which may mislead reviewers into believing a stronger real-world control exists. This discrepancy can cause dangerous overtrust in the protection around a sensitive operation, especially when guarding a high-privilege takeover action.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This script implements direct attachment to a local Chrome DevTools Protocol endpoint and explicitly brands itself as a 'force takeover'/'nuclear option'. CDP attachment can grant powerful control over an existing browser context, including page interaction, cookie/session access, and potentially data exfiltration, which materially exceeds a normal web-fetching or browsing toolkit's stated purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The manifest claims a broad toolkit that harmonizes multiple browsing/fetching technologies for undetectable browsing on restricted VPS environments. In contrast, this code uses only curl_cffi requests to query arXiv and DuckDuckGo, parse results, and save them locally, which is much narrower than the stated capability.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This code implements a local TCP relay that forwards arbitrary traffic between two localhost ports, which is not aligned with a typical web-browsing toolkit helper and can be used to expose or bridge restricted local services. In the context of a skill explicitly advertising 'undetectable browsing' and operation on 'restricted VPS environments,' the relay meaningfully increases the ability to bypass environment controls, hide tooling topology, or chain access to sensitive browser/debug interfaces.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

Although the current invocation uses fixed ports, the relay implementation itself is a generic bidirectional port-forwarder and is broader than the stated purpose of a web toolkit. Such forwarding can be repurposed to proxy access to local-only administrative endpoints, browser debugging ports, or other internal services, enabling policy evasion and stealthier access patterns.

Content

No source excerpt is available for this finding.