T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Unpinned Third-Party CLI Installation and Execution
- Content
View full analysis
- Remediation
View remediation
``` 2. Pin source installations to a verified immutable commit or signed release tag: ```bash git clone https://github.com/vercel-labs/agent-browser cd agent-browser git checkout ``` 3. Publish the expected commit SHA and cryptographic checksums for release artifacts and browser binaries. Verify them before installation or execution. 4. Enforce a committed lockfile with frozen dependency resolution, such as `pnpm install --frozen-lockfile`. 5. Prefer signed releases and document signature verification procedures. 6. Avoid global installation where practical. Use a project-local dependency, isolated container, or dedicated unprivileged account. 7. Explicitly warn users not to run npm, pnpm, or `agent-browser install --with-deps` with administrative privileges unless required and independently reviewed. 8. Review npm lifecycle scripts, build scripts, transitive dependencies, and binary-download behavior before updating the pinned version. 9. Establish a controlled upgrade process in which new versions are reviewed, tested, and assigned updated checksums before documentation is changed. ]]>
