T08 · Insecure Dependencies
- Location
SKILL.md:27- Finding
Unpinned Community-Maintained CLI Handles Sensitive OAuth Credentials
- Content
View full analysis
- Remediation
View remediation
``` 2. Record and verify the expected npm package integrity hash and package provenance before installation. 3. Re-review the package source, transitive dependencies, lifecycle scripts, and published package contents whenever the pinned version is updated. 4. Prefer a project-local or isolated installation over a global installation, such as a locked dependency in a dedicated directory or container. 5. Use a lockfile with integrity metadata where the installation model permits it. 6. Prefer an official Miro-supported CLI or a small audited implementation if one is available. 7. Configure the OAuth application with the minimum scopes required for the documented read and export operations. 8. Use non-production credentials for initial testing and document an incident-response process for revoking tokens and rotating the client secret after any dependency-integrity event. 9. Avoid elevated privileges for npm installation and execution. ]]>
