T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Third-Party Package and Source Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Record and verify npm integrity metadata or package provenance before installation. 3. Pin source installations to an audited commit: ```bash git clone https://github.com/vercel-labs/agent-browser cd agent-browser git checkout --detach ``` 4. Require signature verification for signed releases or tags where upstream supports it. 5. Commit and review a dependency lockfile, then require a frozen installation mode such as: ```bash pnpm install --frozen-lockfile ``` 6. Publish expected cryptographic checksums for browser binaries and other downloaded artifacts, and verify them before execution. 7. Prefer a local, isolated installation or sandbox over a global package installation. 8. Warn users not to run installation as root or with administrative privileges unless strictly necessary. Review system dependencies before using `--with-deps`. 9. Establish a controlled update process in which package versions, source commits, lockfiles, and downloaded artifacts are re-audited before documentation is updated. ]]>
