[security] Remove Underscore dependency affected by CVE-2026-27601 - #4
Merged
Merged
Conversation
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.
Security finding
The default branch permits Underscore
>= 1.3.3, which includes versions affected by CVE-2026-27601 / GHSA-qpx9-hpmf-5gmw (high severity). This is a vulnerable dependency-range finding, not a demonstrated exploit in this wrapper.Advisory: GHSA-qpx9-hpmf-5gmw
Existing alert: https://github.com/kai5263499/mandrill-node/security/dependabot/1
Changes
utillocally scoped while removing the Underscore import.npm test. Existing live-API tests are retained unchanged.Validation performed
node --check mandrill.js— passed.node --check unit/offline-tests.js— passed.npm teston Node 22.16.0 — passed: all 28 API calls, exact allowed-option lists, request URL/body, rejection of invalid options without a request, key caching, malformed JSON handling, and absence of the Underscore import.Review notes / limits
The declared Node engine range is unchanged; the historical Node 0.6 runtime was not available for testing. No live Mandrill integration test or full dependency audit was run. The existing
requestdependency is outside this specific fix and remains unchanged. This PR does not certify the repository as free of other vulnerabilities.No merge or alert dismissal is requested automatically.