Release 2.4.2 (2026-07-28) - #42
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Semgrep found 25
package-lock.json contains a reference to a public package registry or CDN (https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz). Dependencies must be resolved through the approved internal JFrog/Artifactory registry. Update your .npmrc to point at the approved registry, delete node_modules and package-lock.json, then re-run |
Security: - deps: upgrade axios ^1.6.2 -> ^1.18.1 (CVE-2026-44492 SSRF, CVE-2026-44487 Proxy-Authorization leak, plus 3 further axios CVEs) - deps: remove pm2 from production dependencies (drops ip SSRF, systeminformation, ws@7.4.6, and bundled axios@0.21.4 CVEs) - deps: override jws to ^3.2.3 (GHSA-869p-cjfg-cm3x / CVE-2025-65945, HMAC verification advisory on jws pulled in by jsonwebtoken) Chores: - deps: bump @types/node to ^22.0.0 (Node 22 LTS), drop skipLibCheck
| "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.0.tgz", | ||
| "integrity": "sha512-D0WfRmU9TQ8I9PFx9Yc+EBHw+vSpIub4IDvQivcp26PtPrdMGAq5SDcpXEo/epqa/DXotVpekHiLNTg3iaKXBQ==", | ||
| "version": "22.20.0", | ||
| "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.0.tgz", |
There was a problem hiding this comment.
Semgrep identified an issue in your code:
package-lock.json contains a reference to a public package registry or CDN (https://registry.npmjs.org/@types/node/-/node-22.20.0.tgz). Dependencies must be resolved through the approved internal JFrog/Artifactory registry. Update your .npmrc to point at the approved registry, delete node_modules and package-lock.json, then re-run npm install and commit the regenerated lockfile.
To resolve this comment:
✨ Commit fix suggestion
| "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.0.tgz", | |
| "resolved": "https://example.com/artifactory/api/npm/npm/@types/node/-/node-22.20.0.tgz", |
View step-by-step instructions
- Update your project
.npmrcsoregistrypoints to the approved internal JFrog/Artifactory URL, for exampleregistry=https://example.com/artifactory/api/npm/npm/. - Add or update the scoped registry too if your internal registry requires it for package scopes such as
@types, for example@types:registry=https://example.com/artifactory/api/npm/npm/. - Remove the existing lockfile and installed modules so npm stops reusing public registry URLs:
$ rm -rf node_modules package-lock.json - Reinstall dependencies through the internal registry with
$ npm install. - Confirm the regenerated
package-lock.jsonno longer contains public URLs such ashttps://registry.npmjs.org/...and instead uses the approved internal registry hostname. The lockfile stores the source URL for each package tarball, so regenerating it after changing.npmrcreplaces the publicresolvedentries.
💬 Ignore this finding
Reply with Semgrep commands to ignore this finding.
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Alternatively, triage in Semgrep AppSec Platform to ignore the finding created by block-public-registry-refs-in-package-lock.
You can view more details about this finding in the Semgrep AppSec Platform.
There was a problem hiding this comment.
False positive for this repository. This is the public GitHub mirror of the internal Fireblocks agent; registry.npmjs.org is the correct and expected registry for public consumers. The internal JFrog/Artifactory URLs from the GitLab lockfile are intentionally rewritten to registry.npmjs.org as part of the public release sanitization process.
| }, | ||
| "node_modules/@inquirer/core/node_modules/@types/node": { | ||
| "version": "20.19.43", | ||
| "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.43.tgz", |
There was a problem hiding this comment.
Semgrep identified an issue in your code:
package-lock.json contains a reference to a public package registry or CDN (https://registry.npmjs.org/@types/node/-/node-20.19.43.tgz). Dependencies must be resolved through the approved internal JFrog/Artifactory registry. Update your .npmrc to point at the approved registry, delete node_modules and package-lock.json, then re-run npm install and commit the regenerated lockfile.
To resolve this comment:
✨ Commit fix suggestion
| "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.43.tgz", | |
| "resolved": "https://example.com/artifactory/api/npm/npm/@types/node/-/node-20.19.43.tgz", |
View step-by-step instructions
-
Update the project’s npm registry configuration to use the approved internal registry instead of the public npm registry.
Add or update.npmrcwithregistry=https://example.com/artifactory/api/npm/npm/or the exact approved JFrog/Artifactory URL used by your team. -
Remove the existing installed packages and lockfile so npm does not keep the old public
resolvedURLs.
Run$ rm -rf node_modules package-lock.json -
Regenerate the lockfile using the internal registry.
Run$ npm install
npm will rebuildpackage-lock.jsonand replace entries likehttps://registry.npmjs.org/@types/node/-/node-20.19.43.tgzwith URLs from the approved registry. -
Check that the regenerated
package-lock.jsonno longer contains public registry or CDN URLs inresolved,registry, ortarballfields, especially for@types/nodeand other transitive packages. -
Alternatively, if your team configures the registry outside the repo, set it before reinstalling with
$ npm config set registry https://example.com/artifactory/api/npm/npm/, then regeneratepackage-lock.jsonthe same way.
💬 Ignore this finding
Reply with Semgrep commands to ignore this finding.
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Alternatively, triage in Semgrep AppSec Platform to ignore the finding created by block-public-registry-refs-in-package-lock.
You can view more details about this finding in the Semgrep AppSec Platform.
There was a problem hiding this comment.
False positive for this repository. This is the public GitHub mirror of the internal Fireblocks agent; registry.npmjs.org is the correct and expected registry for public consumers. The internal JFrog/Artifactory URLs from the GitLab lockfile are intentionally rewritten to registry.npmjs.org as part of the public release sanitization process.
|
All 25 This is the public GitHub mirror of the Fireblocks agent. The internal lockfile uses JFrog URLs; they are intentionally rewritten to |
Summary
axios^1.6.2→^1.18.1— remediates CVE-2026-44492 (SSRF) and CVE-2026-44487 (Proxy-Authorization leak) plus 3 further axios CVEspm2from production dependencies — drops theipSSRF,systeminformation,ws@7.4.6, and bundledaxios@0.21.4CVE columnjwsto^3.2.3— resolves GHSA-869p-cjfg-cm3x / CVE-2025-65945 (HMAC verification advisory onjwspulled in byjsonwebtoken)@types/nodeto^22.0.0(Node 22 LTS), dropsskipLibCheckTest plan
npm run build)npm test)package-lock.jsonnpm auditclean on production deps (one accepted finding:uuidv3/v5/v6 buf — not reachable, agent usesuuid.v4only)🤖 Generated with Claude Code