ci(root): migrate dependency audit from improved-yarn-audit to osv-scanner#9263
Open
roshan-bitgo wants to merge 1 commit into
Open
ci(root): migrate dependency audit from improved-yarn-audit to osv-scanner#9263roshan-bitgo wants to merge 1 commit into
roshan-bitgo wants to merge 1 commit into
Conversation
4225a46 to
8cb6db4
Compare
8cb6db4 to
c71679c
Compare
lcovar
approved these changes
Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces
improved-yarn-auditwithgoogle/osv-scanner-actionin both release workflows.Why: npm permanently retired the legacy security audits endpoint (
/-/npm/v1/security/audits) on 2026-07-15 with HTTP 410. Yarn v1'syarn auditcalls this endpoint;improved-yarn-auditwrapsyarn auditand inherits the breakage. The yarn team closed the fix as "not planned" — yarn classic's audit is permanently broken.Why osv-scanner: Unlike
audit-ci(which also callsyarn audit --jsonunder the hood for Yarn Classic),osv-scannerreadsyarn.lockdirectly and queries the OSV.dev database. No npm registry dependency. Works identically locally and in CI.Changes
.github/workflows/publish.yml— replace broken audit step withosv-scanner-action@v2.github/workflows/npmjs-release.yml— replace broken audit step withosv-scanner-action@v2package.json— removeimproved-yarn-auditdevDependency andaudit-highscriptosv-scanner.toml— new config; all 14 exclusions migrated 1:1 from.iyarcwith original justifications preserved.iyarc— deleted (superseded byosv-scanner.toml).claude/agents/iyarc-prune.md— updated all references toosv-scanner.tomland new CLI invocationSecurity posture
All 14 existing CVE exclusions are preserved with their original justifications. Severity threshold remains HIGH+. No change to which vulnerabilities are accepted.
Follows the immediate unblock in #9262. Tracked in VL-7134.