T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:13- Finding
Unpinned Remote Code Retrieval and Local Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 13–15
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code:
bash git clone https://github.com/browser-use/browser-harness cd browser-harness uv tool install -e .Technical Analysis
The Skill instructs users to clone the default branch of an external Git repository and immediately install it in editable mode. It does not pin the dependency to a reviewed commit hash or signed release.
As a result, the code installed when the instructions are followed may differ from the code present when the Skill was audited. Package installation can execute attacker-controlled build hooks or otherwise install executable components. The installed browser automation tool also receives access to a local browser debugging interface, increasing the sensitivity of an upstream compromise.
This behavior exceeds a strict least-privilege implementation because the declared browser-automation functionality does not require trusting an unrestricted, mutable upstream revision at installation time.
Attack Path
- An attacker compromises the upstream repository, a maintainer account, or its default branch.
- The attacker adds malicious package code, installation hooks, or runtime behavior.
- A user follows the Skill instructions and clones the mutable default branch.
- The user runs
uv tool install -e ., processing or installing the attacker-controlled code. - The malicious component executes with the user's privileges during installation or later invocation.
- It may access local files, environment variables, browser debugging data, authenticated browser sessions, or network resources available to that user.
Impact Assessment
Successful exploitation can result in arbitrary code execution with the privileges of the user performing the installation. Because the installed component is intended to control a ...[truncated 254 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the repository to a specifically reviewed commit hash or a signed, immutable release tag.
- Publish and verify a cryptographic checksum or signature before installation.
- Avoid editable installation for end users; use a locked, reproducible package artifact.
- Review package metadata, build hooks, and transitive dependencies before distribution.
- Install the tool in an isolated environment under a non-administrative account.
- Use a dedicated browser profile containing no unrelated authenticated sessions or sensitive data.
- Document the exact reviewed version and establish a controlled process for dependency updates.
