T08 · Insecure Dependencies
- Location
SKILL.md:197- Finding
Unpinned Global Package and Runtime Component Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 197–199
Vulnerability Type: Supply-chain exposure through mutable third-party dependencies
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 pinning an audited version or verifying package integrity. The subsequent installation commands download Chromium and, when--with-depsis used, may also install operating-system dependencies.Because neither an exact version nor artifact checksums or signatures are specified, the content executed by users can change after the skill has been reviewed. A compromised npm package, transitive dependency, package registry account, browser artifact, or component download source could therefore introduce attacker-controlled code. Global installation and optional system dependency installation expand the affected scope compared with a pinned, project-local dependency.
Attack Path
- An attacker compromises the npm package, one of its transitive dependencies, its publisher account, or a runtime component download source.
- The attacker publishes or substitutes a malicious package or component while retaining the expected package name.
- A user follows the documented command
npm install -g agent-browserwithout an exact version or integrity constraint. - npm retrieves the mutable release and executes any applicable installation lifecycle code with the invoking user's privileges.
- The user runs
agent-browser installoragent-browser install --with-deps, causing additional unverified browser or system components to be downloaded and installed. - Malicious installer code can access resources available to the invoking account and potentially affect globally in ...[truncated 663 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin
agent-browserto a specifically reviewed version rather than installing the latest mutable release. - Prefer a project-local dependency and invoke it through the project's package manager instead of using a global installation.
- Commit and enforce a lockfile with integrity metadata for the package and its transitive dependencies.
- Verify downloaded Chromium and other runtime artifacts using trusted checksums or cryptographic signatures.
- Document the exact package publisher, registry, release, and browser artifact sources expected during installation.
- Disable or carefully review package lifecycle scripts where operationally possible.
- Avoid
--with-depsunless operating-system changes are necessary and have been explicitly reviewed. - Perform installation in a sandbox, container, or restricted environment using a non-privileged account.
- Establish dependency-update review and provenance verification before changing the pinned version.
- Pin
