Skip to content

Bump svgo, immutable, postcss, fast-uri, shell-quote, websocket-driver for security advisories - #173

Merged
erkez merged 1 commit into
masterfrom
fix/dependabot-audit-security-alerts
Jul 24, 2026
Merged

Bump svgo, immutable, postcss, fast-uri, shell-quote, websocket-driver for security advisories#173
erkez merged 1 commit into
masterfrom
fix/dependabot-audit-security-alerts

Conversation

@erkez

@erkez erkez commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Summary

Resolves the 4 open Dependabot alerts:

  • svgo (via @svgr/plugin-svgo): 3.3.3 → 3.3.4 (#330)
  • svgo (via postcss-svgo): 4.0.1 → 4.0.2 (#327)
  • immutable (via sass): 5.1.6 → 5.1.9, satisfies both #329 and #328

Plus 4 more high/critical advisories that yarn npm audit -A -R --severity high (the repo's CI "verify" gate) flags but Dependabot hasn't opened alerts for yet:

All 8 are transitive dependencies bumped within already-declared ranges — no package.json range changes, no forced overrides.

One note on fast-uri: 3.1.4 was published only 5 days before this fix, inside this repo's npmMinimalAgeGate: 7d supply-chain policy (.yarnrc.yml), so yarn up initially resolved to 3.1.3, which still left one of the two fast-uri advisories open. The gate was bypassed for this single package (yarn up --no-time-gate fast-uri) rather than disabled repo-wide.

Verification

  • yarn npm audit -A -R --severity high — clean (was failing on 8 findings before this change)
  • yarn build — clean
  • yarn test — 66/66 pass
  • yarn lint — clean
  • yarn workspace my-app build:prod and yarn workspace my-vite-app build:prod — both succeed, exercising the svgo/postcss/sass code paths directly

(Build/lint/test were run under Node v24.17 per .nvmrc — an initial run under a stray local v18 environment produced an unrelated ESM-parser failure that also reproduces on unmodified master.)

Related

3 existing Dependabot PRs (#172, #171, #170) are currently stuck with failing "verify" checks — likely for the same root cause (each only bumps a subset of what the audit gate requires). Not touched by this PR.

…r, brace-expansion for security advisories

Resolves the 4 open Dependabot alerts (svgo, immutable) plus 4 more high/critical advisories yarn audit flags that Dependabot hasn't caught up to yet (postcss, fast-uri, shell-quote, websocket-driver). All are transitive dependencies bumped within already-declared ranges, no package.json changes.

fast-uri needed 3.1.4 to clear both of its advisories, but that version was only 5 days old and blocked by this repo's npmMinimalAgeGate (7d) supply-chain policy in .yarnrc.yml. Bypassed the gate for this one package via yarn up --no-time-gate, at the user's explicit request, rather than disabling the policy.
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/brace-expansion 1.1.16 🟢 7.3
Details
CheckScoreReason
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 4Found 7/16 approved changesets -- score normalized to 4
Maintained🟢 1018 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Pinned-Dependencies🟢 10all dependencies are pinned
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 9license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/fast-uri 3.1.4 UnknownUnknown
npm/immutable 5.1.9 🟢 6.6
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review⚠️ 0Found 1/14 approved changesets -- score normalized to 0
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies🟢 5dependency not pinned by hash detected -- score normalized to 5
License🟢 10license file detected
Fuzzing🟢 10project is fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 3branch protection is not maximal on development and all release branches
Packaging🟢 10packaging workflow detected
SAST🟢 8SAST tool is not run on all commits -- score normalized to 8
npm/postcss 8.5.19 🟢 7.3
Details
CheckScoreReason
Code-Review⚠️ 2Found 8/30 approved changesets -- score normalized to 2
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions🟢 9detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 10all dependencies are pinned
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing🟢 10project is fuzzed
License🟢 10license file detected
Branch-Protection🟢 3branch protection is not maximal on development and all release branches
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/shell-quote 1.10.0 🟢 5
Details
CheckScoreReason
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review⚠️ 0Found 1/30 approved changesets -- score normalized to 0
Maintained🟢 1030 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
License🟢 10license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/svgo 3.3.4 🟢 6.3
Details
CheckScoreReason
Code-Review⚠️ 2Found 5/21 approved changesets -- score normalized to 2
Maintained🟢 103 commit(s) and 19 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions🟢 9detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Security-Policy🟢 10security policy file detected
SAST🟢 10SAST tool is run on all commits
npm/svgo 4.0.2 🟢 6.3
Details
CheckScoreReason
Code-Review⚠️ 2Found 5/21 approved changesets -- score normalized to 2
Maintained🟢 103 commit(s) and 19 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions🟢 9detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Security-Policy🟢 10security policy file detected
SAST🟢 10SAST tool is run on all commits
npm/websocket-driver 0.7.5 🟢 3
Details
CheckScoreReason
Code-Review⚠️ 0Found 2/29 approved changesets -- score normalized to 0
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 34 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 9license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • yarn.lock

@erkez
erkez merged commit 8efbf11 into master Jul 24, 2026
5 checks passed
@erkez
erkez deleted the fix/dependabot-audit-security-alerts branch July 24, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant