changesets
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
SecuritySecurityreferences/ci-automation.md
MEDIUMSecurityMEDIUM
references/ci-automation.md
This fragment appears to implement legitimate snapshot and prerelease publishing documentation, but the snapshot workflow has a serious supply-chain security design risk if it runs with a privileged event such as `issue_comment` or `pull_request_target`. It executes untrusted pull-request code and exposes an npm publish token in the same job. The code shown is not itself malware, but a malicious pull request could exploit this workflow to steal the token or publish unauthorized packages. Use a trusted checkout for publishing, isolate untrusted build steps from secrets, restrict the trigger and permissions, and prefer short-lived or tightly scoped publishing credentials.
Confidence: 95%Severity: 84%
Audit Metadata