T08 · Insecure Dependencies
- Location
SKILL.md:24- Finding
Unpinned npm Dependency Creates a Mutable Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
' ``` 2. Require integrity verification using an npm lockfile, package digest, or equivalent mechanism supported by the Skill installer. 3. Avoid floating tags and semantic version ranges for security-sensitive command-line tools. 4. Review package provenance, publisher identity, release signatures, and repository ownership before updating the pinned version. 5. Test dependency updates in an isolated environment before deployment. 6. Disable npm lifecycle scripts during installation where compatible with the package, or explicitly audit every required lifecycle script. 7. Run the CLI under a least-privileged local account and grant only the minimum Google OAuth scopes required for each workflow. 8. Treat version changes as security-relevant changes requiring a new audit, especially because this dependency processes OAuth credentials and sensitive Workspace data. ]]>
