T08 · Insecure Dependencies
- Location
SKILL.md:60- Finding
Unpinned Global Installation of an Executable Third-Party Dependency
- Content
View full analysis
- Remediation
View remediation
``` 2. Prefer a project-local installation and invoke it through a locked package script or a similarly controlled mechanism instead of using `npm install -g`. 3. Commit and verify a lockfile containing npm integrity metadata. 4. Document the expected package publisher, source repository, and reviewed release checksum. 5. Disable lifecycle scripts during installation where compatible: ```bash npm ci --ignore-scripts ``` 6. If installation scripts are required, audit them separately and document the external components downloaded by `agent-browser install`. 7. Run browser automation in a sandbox or restricted account with access only to the required output directory. ]]>
