Repository navigation
fix(sdk): clear new dependency advisories in the SDK audit - #2132
Merged
Merged
Conversation
task sdk:audit started failing on two newly published advisories in transitive dev tooling, failing every PR that touches the SDK: - source-map-js <1.2.2 (high, GHSA-68fv-2mgg-jv7q), via vitest > vite > postcss. Override to ^1.2.2. - sprintf-js <=1.1.3 (moderate, GHSA-hp3w-g68c-fv3c), via @microsoft/api-extractor > argparse. No patched release exists and the package runs only at build time, never in the shipped SDK, so ignore it in auditConfig with a note to remove the entry once a fix ships. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 7, 2026
Merged
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
task sdk:auditstarted failing on two newly published advisories in the SDK's transitive dev tooling. Every PR that touchessdk/typescript/currently fails theTypeScript SDK (Node 22.x / 24.x)checks (for example #2105).source-map-js<1.2.2^1.2.2sprintf-js<=1.1.3auditConfig.ignoreGhsas: no patched release existsDecision for reviewers: the
sprintf-jsignore is a deliberate security exception. It is build-time only (API report generation), never part of the published SDK. The comment inpnpm-workspace.yamlsays to remove the entry once a fixed version ships. If you'd rather not ignore it, the alternative is accepting a red audit until upstream publishes a fix.sdk_typescript_scenario11_test.goasserts only theallowBuilds/onlyBuiltDependencieskeys of this file, so the new keys don't affect it.Not covered: other pnpm workspaces
CI doesn't audit them, so they don't block PRs, but
pnpm auditreports:sdk/typescript/examples/slack-bot:proxy-addr(critical),undici(high/moderate/low),source-map-js(high)apps/(Studio):js-yaml(high),source-map-js(high)Worth a follow-up from their owners.
Test plan
task sdk:audit: exit 0 (1 moderate ignored)task sdk:lint,task sdk:typecheck,task sdk:test(362 passed)go test ./internal/adapter/server/ -run Scenario11User-facing change
None. Dev dependencies only.
🤖 Generated with Claude Code