Skip to content

bug: bump auth0-js to ^9.12.0 to clear crypto-js@3.3.0 weak PRNG (SNYK-JS-CRYPTOJS-18599395) - #601

Open
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1791812219-sfind-db438260-crypto-js-auth0-js-9
Open

devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1791812219-sfind-db438260-crypto-js-auth0-js-9

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Summary

Fixes code-scan finding sfind-db438260 (SNYK-JS-CRYPTOJS-18599395 / CVE-2026-71851, medium): crypto-js@3.3.0 has a weak PRNG in WordArray.random.

Vulnerable path: admin-portal > auth0-js@8.12.3 > idtoken-verifier@1.5.1 > crypto-js@3.3.0. idtoken-verifier@1.5.1 requires crypto-js: ^3.1.9-1, so no 3.x version fixes it. This PR follows Snyk's upgrade path: auth0-js@9.12.0 > idtoken-verifier@2.2.4 > crypto-js@4.2.0.

-    "auth0-js": "^8.8.0",
+    "auth0-js": "^9.12.0",

Verification

  • ng build (JIT, Node 12): passes on this branch.
  • ng test: was already broken on master and is unaffected by this change. tsc -p src/tsconfig.spec.json reports TS2346 in 4 generated component specs (appointment, login, primary-transaction, savings-transaction), and karma aborts.
  • Not run: fresh npm install and the Snyk re-scan. This session's network policy blocks registry.npmjs.org and api.snyk.io. Access was requested but had not been approved when this PR was opened, so the before/after Snyk issue count could not be measured.
    • Before (measured offline): npm ls crypto-js shows auth0-js@8.12.3 > idtoken-verifier@1.5.1 > crypto-js@3.3.0, which is 1 instance of SNYK-JS-CRYPTOJS-18599395.
    • After (expected, not measured): 0 instances, because Snyk's own upgrade path resolves crypto-js@4.2.0, which also clears CVE-2023-46233.
    • To confirm, a reviewer can run cd AdminPortal && npm install && snyk test.

Devin-Org: engineering

Link to Devin session: https://devin-gtm.devinenterprise.com/sessions/2ec40a516ac446d89459cefbe067af71
Open in Devin Desktop: https://devin-gtm.devinenterprise.com/desktop/session/2ec40a516ac446d89459cefbe067af71?variant=devin


Devin Review

Status Commit
⚪ Not started —

Run Devin Review

Devin Review (Staging)


Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

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.

0 participants