T08 · Insecure Dependencies
- Location
SKILL.md:197- Finding
Unpinned Global Dependency Installation and External Component Download
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:197-199
Vulnerability Type: Unpinned third-party dependency and mutable external downloads
Risk Level: MediumVulnerable Code:
bash npm install -g agent-browser agent-browser install # Download Chromium agent-browser install --with-deps # Linux: + system depsTechnical Analysis
The installation instructions globally install
agent-browserwithout specifying a reviewed version or integrity value. Consequently, the package resolved by npm at installation time may differ from the version that was originally reviewed. npm package installation may also execute lifecycle scripts with the invoking user's permissions.The subsequently installed command is instructed to download Chromium and, through
--with-deps, install operating-system dependencies. These additional components are obtained at execution time and are not pinned or integrity-verified in the Skill documentation. The effective installation behavior can therefore change independently of this Skill package.This is a supply-chain weakness rather than evidence that the currently published
agent-browserpackage is malicious. Exploitation requires compromise, replacement, or an unsafe future release of the package or one of its retrieved components.Attack Path
- An attacker compromises the relevant npm package, its publication account, a transitive dependency, or an external component distribution channel.
- The attacker publishes a malicious or compromised version under the package name used by the documentation.
- A user follows
SKILL.mdand runsnpm install -g agent-browserwithout a version constraint. - npm resolves the mutable package version and installs it globally; malicious package code or lifecycle scripts execute with the user's privileges.
- The user invokes
agent-browser installoragent-browser install --with-deps, allowing ...[truncated 1012 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin
agent-browserto a specifically reviewed version rather than installing the latest mutable release, for example:bash npm install --global agent-browser@<reviewed-version> - Publish and verify the expected npm integrity digest and package provenance before installation.
- Prefer a project-local installation governed by a committed lockfile instead of a global installation.
- Install with lifecycle scripts disabled where compatible, and separately review any scripts that are required:
bash npm install --ignore-scripts agent-browser@<reviewed-version> - Pin and verify the Chromium version and checksum downloaded by the tool, and document the expected download origin.
- Avoid running the installer as root or administrator. Review the exact operating-system packages before approving
--with-deps. - Perform installation in a restricted container or sandbox with minimal filesystem, credential, and network access.
- Add dependency monitoring and require a new security review before updating the pinned package or downloaded browser version.
- Pin
