T08 · Insecure Dependencies
- Location
references/auth-setup.md:7- Finding
Unpinned Global Dependency Is Granted Access to Browser Session Credentials
- Content
View full analysis
Vulnerability Details
File Location:
references/auth-setup.md, lines 7-13
Vulnerability Type: Unsafe third-party dependency installation and privileged browser-cookie access
Risk Level: HighVulnerable Code
bash Easiest if you have bird installed (`npm i -g bird-cli`). ### A1. Chrome Cookie Extraction (Recommended) ```bash bird --chrome-profile "Default" bookmarks --jsontext Equivalent unpinned installation and browser-cookie instructions also appear in `README.md` and `SKILL.md`. ### Technical Analysis The Skill instructs users or agents to install the latest available `bird-cli` package globally without a pinned version, lockfile, integrity hash, or publisher verification. It then grants that executable access to a browser profile containing an authenticated X session. Global installation increases the potential effect of a dependency compromise because package installation scripts and the resulting executable run with the user's privileges and affect system-wide user tooling. Browser-cookie extraction is particularly sensitive: a compromised or malicious package release could read and disclose reusable session credentials rather than merely retrieve bookmarks. No evidence was found that the currently referenced package is malicious. The vulnerability is the unsafe trust and installation model combined with immediate access to high-value browser credentials. ### Attack Path 1. An attacker compromises the package publisher, registry account, or a future package release. 2. The user or agent runs `npm install -g bird-cli`, retrieving the unreviewed latest release. 3. Package installation hooks or the installed executable run with the user's local privileges. 4. The Skill invokes the executable with a Chrome or Firefox profile. 5. The compromised dependency reads X cookies or other accessible browser data and transmits them to the attacker. 6. The attacker reuses the stolen sessi ...[truncated 447 chars]- Remediation
View remediation
Remediation Suggestions
- Pin
bird-clito a specifically reviewed version rather than installing the latest release. - Document the expected package publisher, source repository, package digest, and verification procedure.
- Use a project-local installation with a committed lockfile instead of a global installation.
- Disable dependency lifecycle scripts during installation where feasible.
- Prefer the official OAuth API backend, which grants narrowly scoped tokens without exposing the browser cookie database to a third-party CLI.
- If browser-cookie access remains supported, clearly warn users that the CLI receives account-equivalent session credentials.
- Execute the CLI in a restricted environment with minimal filesystem and network access where practical.
- Pin
