Skip to content

refactor: Bump node-forge from 1.3.2 to 1.4.0 - #208

Merged
mtrezza merged 1 commit into
parse-community:masterfrom
mtrezza:build/deps/node-forge-1.4.0
Mar 29, 2026
Merged

mtrezza merged 1 commit into
parse-community:masterfrom
mtrezza:build/deps/node-forge-1.4.0

Conversation

@mtrezza

@mtrezza mtrezza commented Mar 29, 2026 •

Copy link
Copy Markdown
Member

Closes #207

Changes

  • 1.4.0: Security fixes for 4 HIGH severity CVEs — DoS in BigInteger.modInverse() (CVE-2026-33891), RSA-PKCS#1 v1.5 signature forgery (CVE-2026-33894), Ed25519 signature forgery (CVE-2026-33895), basicConstraints bypass in certificate chain verification (CVE-2026-33896). Also adds pseudonym OID support.

Breaking Changes

None

Code Changes Required

None — the upgrade is a drop-in replacement.

Summary by CodeRabbit

  • Chores
    • Updated node-forge dependency to version 1.4.0.

@parse-github-assistant

parse-github-assistant Bot commented Mar 29, 2026 •

Copy link
Copy Markdown

🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review.

Tip

  • Keep pull requests small. Large PRs will be rejected. Break complex features into smaller, incremental PRs.
  • Use Test Driven Development. Write failing tests before implementing functionality. Ensure tests pass.
  • Group code into logical blocks. Add a short comment before each block to explain its purpose.
  • We offer conceptual guidance. Coding is up to you. PRs must be merge-ready for human review.
  • Our review focuses on concept, not quality. PRs with code issues will be rejected. Use an AI agent.
  • Human review time is precious. Avoid review ping-pong. Inspect and test your AI-generated code.

Note

Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect.

Caution

Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement.

@parseplatformorg

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@coderabbitai

coderabbitai Bot commented Mar 29, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Updates the node-forge dependency from version 1.3.2 to 1.4.0 across package.json and package-lock.json. This is a security update addressing multiple HIGH-severity vulnerabilities in cryptographic operations including BigInteger modular inverse, RSA signature verification, Ed25519 signature canonicalization, and X.509 certificate chain validation.

Changes

Cohort / File(s) Summary
Dependency Version Update
package.json, package-lock.json
Updated node-forge runtime dependency from 1.3.2 to 1.4.0, including resolved tarball URL and integrity hash in lock file.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title uses 'refactor' prefix but this is a dependency upgrade addressing security vulnerabilities, which is better described as 'build(deps)' or 'chore' per conventional commits. Consider changing the title prefix from 'refactor' to 'build(deps)' or 'chore' to accurately reflect that this is a dependency version bump, not a code refactoring.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed The PR successfully addresses issue #207 by upgrading node-forge to v1.4.0, which resolves the security vulnerabilities (CVE-2026-33891, CVE-2026-33894, CVE-2026-33895, CVE-2026-33896) and adds pseudonym OID support as required.
Out of Scope Changes check ✅ Passed All changes are in-scope: only package.json and package-lock.json were updated to bump node-forge to v1.4.0, with no unrelated code modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Mar 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.86%. Comparing base (5567de1) to head (c6f04e5).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #208   +/-   ##
=======================================
  Coverage   95.86%   95.86%           
=======================================
  Files          23       23           
  Lines         846      846           
=======================================
  Hits          811      811           
  Misses         35       35           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mtrezza mtrezza changed the title build(deps): Bump node-forge from 1.3.2 to 1.4.0 refactor: Bump node-forge from 1.3.2 to 1.4.0 Mar 29, 2026
@mtrezza
mtrezza merged commit 5e07bcc into parse-community:master Mar 29, 2026
9 checks passed
@parseplatformorg

Copy link
Copy Markdown

🎉 This change has been released in version 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants