You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lodash >=4.0.0, <=4.17.22 is vulnerable to prototype pollution via the _.unset and _.omit helpers. Attacker-controlled paths can be crafted so Lodash walks into the prototype chain and deletes methods from built-in prototypes (e.g. Object.prototype.hasOwnProperty). The flaw only allows deleting properties, not overwriting them, but downstream code that relies on those methods can break or be coerced down a different path.
Exposure in evervault-node
lodash is not a direct dependency. It is pulled in transitively only by nock@12.0.3 (a devDependency).
No file under lib/, types/, tests/, or e2e/ imports lodash.
The published artefact ships only lib and types, so lodash is never delivered to SDK consumers.
Production attack surface is effectively zero; this fix is hygiene to clear the Dependabot alert before the SLA deadline.
Remediation
Added a scoped npm overrides entry pinning vulnerable lodash to the fixed line:
The key scopes the override to vulnerable versions within the same major line; the caret on the value allows the resolver to select the best compatible patched version without jumping major.
Verification
npm ls lodash resolves the transitive lodash via nock@12.0.3 to a non-vulnerable version (>=4.17.23 within the 4.x line).
npm test results match the master baseline; no regressions introduced by this change.
nock@12.0.3 declares lodash: ^4.17.13, so the override stays within its semver range — no nock upgrade required.
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/caniuse-lite@1.0.30001793. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm chai-as-promised under WTFPL
License: WTFPL - The applicable license policy does not permit this license (5) (npm metadata)
License: WTFPL - The applicable license policy does not permit this license (5) (package/LICENSE.txt)
License: WTFPL - The applicable license policy does not permit this license (5) (package/package.json)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/chai-as-promised@7.1.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm typescript under CC-BY-4.0
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/ThirdPartyNoticeText.txt)
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/ThirdPartyNoticeText.txt)
License: LicenseRef-W3C-Community-Final-Specification-Agreement - The applicable license policy does not permit this license (5) (package/ThirdPartyNoticeText.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/typescript@5.9.3. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
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
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.
Linear: COM-211
CVE-2025-13465 — Lodash prototype pollution in
_.unset/_.omitlodash >=4.0.0, <=4.17.22lodash 4.17.23Summary
Lodash
>=4.0.0, <=4.17.22is vulnerable to prototype pollution via the_.unsetand_.omithelpers. Attacker-controlled paths can be crafted so Lodash walks into the prototype chain anddeletes methods from built-in prototypes (e.g.Object.prototype.hasOwnProperty). The flaw only allows deleting properties, not overwriting them, but downstream code that relies on those methods can break or be coerced down a different path.Exposure in
evervault-nodelodashis not a direct dependency. It is pulled in transitively only bynock@12.0.3(adevDependency).lib/,types/,tests/, ore2e/importslodash.libandtypes, so lodash is never delivered to SDK consumers.Remediation
Added a scoped npm
overridesentry pinning vulnerablelodashto the fixed line:The key scopes the override to vulnerable versions within the same major line; the caret on the value allows the resolver to select the best compatible patched version without jumping major.
Verification
npm ls lodashresolves the transitivelodashvianock@12.0.3to a non-vulnerable version (>=4.17.23within the4.xline).npm testresults match the master baseline; no regressions introduced by this change.nock@12.0.3declareslodash: ^4.17.13, so the override stays within its semver range — nonockupgrade required.References