oathe / scan / reports / caution
Is canbirlik/claw-browser safe?
Use with caution. canbirlik/claw-browser is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the claw-browser skill by canbirlik a trust score of 79/100 with 7 findings (1 high).
https://github.com/openclaw/skills/tree/main/skills/canbirlik/claw-browser
Is canbirlik/claw-browser safe to install?
claw-browser is a Playwright-based web browser skill that does what it claims: it browses URLs, extracts page text, and takes screenshots using a real Chromium instance. The skill code is readable and contains no credential-harvesting logic; canary files were not exfiltrated. However, SKILL.md embeds an 'automatically run setup' directive that causes the agent to self-install pip packages and download ~150MB of Chromium binaries without user confirmation, and the unrestricted --url parameter creates an SSRF vector that could be exploited by adversarial page content or malicious task instructions.
What security issues were found in canbirlik/claw-browser?
Category Scores
Findings (7)
HIGH Embedded auto-execute setup instruction -30 ▶
SKILL.md contains the instruction 'If venv does not exist, run this setup command block automatically'. When this skill is injected into the agent's system prompt, this directive causes the agent to autonomously execute a four-step shell sequence (python3 -m venv venv, source venv/bin/activate, pip install -r requirements.txt, playwright install chromium) without presenting a confirmation dialog to the user. This bypasses normal human-in-the-loop controls for potentially expensive or risky operations.
Evidence: SKILL.md line: 'If `venv` does not exist, run this setup command block automatically:'
MEDIUM Unapproved download of external browser binaries -20 ▶
The auto-setup sequence culminates in 'playwright install chromium', which downloads a full Chromium browser distribution (~150MB) from an external CDN without the user's knowledge or consent. This is a supply-chain dependency on Playwright's distribution infrastructure and triggers significant network I/O without user approval.
Evidence: SKILL.md setup block: 'playwright install chromium' marked as CRITICAL STEP
MEDIUM Unrestricted URL parameter enables SSRF -20 ▶
browser.py takes any URL via --url with no filtering, validation, or allowlist. An agent directed to use this skill could be manipulated (via prompt injection from a webpage or attacker-controlled task) to browse internal network addresses such as AWS metadata endpoints (169.254.169.254), internal APIs, or file:// URIs, and return their content to the conversation context as page text.
Evidence: browser.py: parser.add_argument('--url', required=True, help='URL to visit') with no validation; content returned via: content = page.evaluate('document.body.innerText')
MEDIUM Full Chromium browser substantially expands agent attack surface -20 ▶
This skill transforms the agent from a text-only tool into one capable of JavaScript execution, authenticated session access, form submission, and interaction with any web resource. In combination with skills that can read or write files, the agent gains a near-complete web exploitation toolkit. Adversarial pages visited via this skill could contain prompt injection payloads that hijack subsequent agent behavior.
Evidence: browser.py uses playwright sync_api with full page interaction; --visible mode exposes the display session; no URL filtering or content sanitization
LOW Fixed screenshot output path silently overwrites previous evidence -5 ▶
All screenshots are written to the hardcoded path 'evidence.png' in the current working directory. There is no configurable output filename or timestamping. This means each screenshot call overwrites the previous one, which could cause unintended data loss or, in a forensic context, destroy prior audit evidence.
Evidence: browser.py: filename = 'evidence.png' (hardcoded, no configurable path)
LOW Auto-setup pattern normalizes agent self-modification without user consent -10 ▶
By establishing 'run automatically if not present' as the setup pattern, this skill conditions the agent to self-install software components without prompting the user. A malicious skill using the same pattern could exploit this conditioning to install arbitrary packages under the guise of dependency setup.
Evidence: SKILL.md: 'the agent MUST set up the Python environment...If venv does not exist, run this setup command block automatically'
INFO Malformed URL in documentation (authoring error) 0 ▶
Example 4 in SKILL.md contains a broken markdown URL 'https://google.com' that would be passed literally (including the brackets) as the --url argument if the agent copied it verbatim. This appears to be a copy-paste authoring error from a markdown renderer rather than an intentional injection attempt.
Evidence: SKILL.md Example 4: python browser.py --url "[https://google.com](https://google.com)" --action read --visible
Should I install canbirlik/claw-browser?
Oathe's verdict for canbirlik/claw-browser is CAUTION with a trust score of 79/100. Recommendation: Install with caution.