T08 · Insecure Dependencies
- Location
SKILL.md:197- Finding
Unpinned Global Installation of a Third-Party Package and Browser Components
- Content
View full analysis
- Remediation
View remediation
``` 2. Record and verify package integrity, publisher identity, registry origin, and relevant release signatures or checksums. 3. Use a lockfile and a project-local installation instead of a global installation where practical. 4. Run the package in an isolated container, virtual machine, or restricted service account with no access to unrelated secrets. 5. Disable or review npm lifecycle scripts when the package supports installation without them. 6. Verify the provenance and checksum of downloaded Chromium artifacts. 7. Avoid `--with-deps` unless necessary. Review the exact system packages and commands involved before granting elevated privileges. 8. Document the expected npm registry and reject alternate or unexpected package sources. ]]>
