Back to skill

Security audit

Browser Use API

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Browser Use API wrapper, but users should remember that browsing tasks and results go through a third-party cloud service.

Install only if you are comfortable sending browser automation instructions, visited-page data, extracted results, and screenshots to Browser Use's cloud service. Avoid using it for credentials, private/internal sites, regulated data, or irreversible form submissions unless you have separately approved that workflow and understand the provider's retention and billing behavior.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (15)

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · scripts/browser-use.sh (reported line 29)May include surrounding context.

sh
fi

# Submit task
RESPONSE=$(curl -s -X POST "$API_URL/tasks" \
  -H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"task\": $(echo "$TASK" | python3 -c 'import json,sys; print(json.dumps(sys.stdin.read().strip()))')}")

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · scripts/browser-use.sh (reported line 51)May include surrounding context.

sh
# Poll for completion
ELAPSED=0
while [[ $ELAPSED -lt $MAX_WAIT ]]; do
  RESULT=$(curl -s "$API_URL/tasks/$TASK_ID" \
    -H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY")
  
  STATUS=$(echo "$RESULT" | python3 -c "import sys,json; print(json.load(sys.stdin).get('status',''))" 2>/dev/null || echo "")

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
93% confidence
Finding

The skill documents shell-based execution paths (curl commands and a helper script) but does not declare an explicit tool scope such as permissions or allowed-tools. That increases the chance the host agent may invoke broader shell capabilities than intended, which is risky for a skill that also transmits user-supplied tasks to an external service.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger phrases include broad terms like scrape website, automate web task, and situations where local browser isn't available, which can cause unintended activation for many unrelated browsing requests. In this skill's context, accidental activation is more dangerous because it routes tasks to a third-party cloud browser service and may expose user instructions or page data externally.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill describes cloud browser automation but does not prominently warn that user tasks, visited pages, screenshots, and possibly extracted data are sent to and processed by an external cloud service. Because the API responses explicitly mention steps with screenshots, the privacy and data-handling implications are material and should be disclosed before use.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
95% confidence
Finding

This command sends a natural-language task to api.browser-use.com, which is an intentional external transmission of user-provided instructions and potentially sensitive browsing objectives. In this skill's context, the transmission is core functionality, but it is still security-relevant because the remote service can receive confidential prompts or be directed toward sensitive sites.

Content

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

bash
# Submit task
curl -s -X POST https://api.browser-use.com/api/v2/tasks \
  -H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"task": "Go to example.com and extract the main heading"}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
95% confidence
Finding

This command sends a natural-language task to api.browser-use.com, which is an intentional external transmission of user-provided instructions and potentially sensitive browsing objectives. In this skill's context, the transmission is core functionality, but it is still security-relevant because the remote service can receive confidential prompts or be directed toward sensitive sites.

Content

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

bash
# Submit task
curl -s -X POST https://api.browser-use.com/api/v2/tasks \
  -H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"task": "Go to example.com and extract the main heading"}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
84% confidence
Finding

Polling task results from the remote service retrieves outputs and metadata from a cloud execution environment, confirming that browsing activity and resulting data reside off-platform. This is relevant because results may include sensitive extracted content and execution traces from prior external browsing steps.

Content

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

-d '{"task": "Go to example.com and extract the main heading"}'

Poll for result (replace TASK_ID)

curl -s "https://api.browser-use.com/api/v2/tasks/TASK_ID"
-H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY"

text

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · SKILL.md (reported line 42)May include surrounding context.

md
set -euo pipefail

API_URL="https://api.browser-use.com/api/v2"
POLL_INTERVAL=5
MAX_WAIT=300

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · SKILL.md (reported line 63)May include surrounding context.

md
set -euo pipefail

API_URL="https://api.browser-use.com/api/v2"
POLL_INTERVAL=5
MAX_WAIT=300

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · SKILL.md (reported line 75)May include surrounding context.

md
set -euo pipefail

API_URL="https://api.browser-use.com/api/v2"
POLL_INTERVAL=5
MAX_WAIT=300

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · SKILL.md (reported line 82)May include surrounding context.

md
set -euo pipefail

API_URL="https://api.browser-use.com/api/v2"
POLL_INTERVAL=5
MAX_WAIT=300

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/browser-use.sh (reported line 7)May include surrounding context.

sh
set -euo pipefail

API_URL="https://api.browser-use.com/api/v2"
POLL_INTERVAL=5
MAX_WAIT=300

External Transmission

Medium
Category
Data Exfiltration
Confidence
97% confidence
Finding

This POST request transmits user-supplied task data and an API credential to an external service. While this is core to the skill's purpose, it is still a genuine data-exposure boundary: any sensitive information included in the task leaves the local environment and is processed by a third party.

Content

Scanner excerpt · scripts/browser-use.sh (reported line 29)May include surrounding context.

sh
fi

# Submit task
RESPONSE=$(curl -s -X POST "$API_URL/tasks" \
  -H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"task\": $(echo "$TASK" | python3 -c 'import json,sys; print(json.dumps(sys.stdin.read().strip()))')}")

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script sends the user-provided task string directly to a third-party cloud API, but it gives no explicit warning, consent prompt, or data-classification guidance before transmission. In a browser automation skill, task text may contain URLs, credentials, session details, internal targets, or other sensitive instructions, so silent exfiltration to an external service is a real privacy and security risk.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.