Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

chore(devdeps): @lavamoat/allow-scripts@^2.3.1->^3.0.4 - #385

Open
legobeat wants to merge 1 commit into
MetaMask:mainfrom
legobeat:devdeps-lavamoat-allow-scripts
Open

chore(devdeps): @lavamoat/allow-scripts@^2.3.1->^3.0.4#385
legobeat wants to merge 1 commit into
MetaMask:mainfrom
legobeat:devdeps-lavamoat-allow-scripts

Conversation

@legobeat

Copy link
Copy Markdown
Contributor

Description

Security-related maintenance upgrade of @lavamoat/allow-scripts.

Changes

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation for new or updated code as appropriate (note: this will usually be JSDoc)
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@legobeat
legobeat marked this pull request as ready for review May 21, 2024 05:10
@legobeat
legobeat requested a review from a team as a code ownerMay 21, 2024 05:10
@legobeatlegobeat added the type-dependencies Pull requests that update a dependency file label May 21, 2024
@socket-security

socket-securityBot commented May 21, 2024

Copy link
Copy Markdown

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

PackageNew capabilitiesTransitivesSizePublisher
npm/@isaacs/cliui@8.0.2None+9121 kBisaacs
npm/@lavamoat/aa@4.2.0None019.8 kBboneskull
npm/@lavamoat/allow-scripts@3.0.4environment045.8 kBboneskull
npm/@npmcli/agent@2.2.2environment, network017.7 kBnpm-cli-ops
npm/@npmcli/fs@3.1.1filesystem026.5 kBlukekarrys
npm/@npmcli/git@5.0.7filesystem021.8 kBnpm-cli-ops
npm/@npmcli/package-json@5.1.0filesystem037.5 kBnpm-cli-ops
npm/@npmcli/promise-spawn@7.0.2environment, shell012.2 kBnpm-cli-ops
npm/@npmcli/run-script@7.0.4environment018.4 kBnpm-cli-ops
npm/@pkgjs/parseargs@0.11.0None074.2 kBoss-bot
npm/abbrev@2.0.0None04.83 kBlukekarrys
npm/agent-base@7.1.1network031.2 kBtootallnate
npm/agentkeepalive@4.3.0network042.8 kBfengmk2
npm/ansi-regex@6.0.1None05.67 kBqix
npm/bin-links@4.0.3filesystem020.6 kBnpm-cli-ops
npm/cacache@18.0.3filesystem+1102 kBnpm-cli-ops
npm/eastasianwidth@0.2.0None013.6 kBkomagata
npm/emoji-regex@9.2.2None097.9 kBgoogle-wombot
npm/foreground-child@3.1.1shell060.4 kBisaacs
npm/fs-minipass@3.0.3filesystem014.4 kBnpm-cli-ops
npm/glob@10.3.15Transitive: environment+1895 kBisaacs
npm/hosted-git-info@7.0.2None026.6 kBnpm-cli-ops
npm/http-proxy-agent@7.0.2network023.3 kBtootallnate
npm/https-proxy-agent@7.0.4network035.3 kBtootallnate
npm/jackspeak@2.3.6environment0253 kBisaacs
npm/lru-cache@10.2.2None0681 kBisaacs
npm/make-fetch-happen@13.0.1network052.8 kBnpm-cli-ops
npm/minipass-collect@2.0.1None04.96 kBisaacs
npm/minipass-fetch@3.0.5environment, network046.8 kBnpm-cli-ops
npm/minipass@7.1.1None0285 kBisaacs
npm/node-gyp@10.1.0environment, shell+11.73 MBlukekarrys
npm/nopt@7.2.1None026.2 kBnpm-cli-ops
npm/normalize-package-data@6.0.1None028.2 kBnpm-cli-ops
npm/npm-install-checks@6.3.0None06.21 kBnpm-cli-ops
npm/npm-package-arg@11.0.2None019.1 kBnpm-cli-ops
npm/npm-pick-manifest@9.0.1None016.3 kBnpm-cli-ops
npm/path-scurry@1.11.1filesystem0535 kBisaacs
npm/proc-log@4.2.0None012.3 kBnpm-cli-ops
npm/socks-proxy-agent@8.0.3network025.1 kBtootallnate
npm/spdx-correct@3.2.0None023.4 kBkemitchell
npm/unique-filename@3.0.0None03.41 kBlukekarrys
npm/unique-slug@4.0.0None02.58 kBlukekarrys
npm/validate-npm-package-license@3.0.4None016.6 kBkemitchell
npm/validate-npm-package-name@5.0.1unsafe07.77 kBnpm-cli-ops
npm/which@4.0.0environment Transitive: filesystem+150.5 kBnpm-cli-ops

🚮 Removed packages:npm/@lavamoat/aa@3.1.5, npm/@lavamoat/allow-scripts@2.5.1, npm/@npmcli/fs@2.1.2, npm/@npmcli/promise-spawn@6.0.2, npm/@npmcli/run-script@6.0.2, npm/abbrev@1.1.1, npm/agent-base@6.0.2, npm/agentkeepalive@4.5.0, npm/bin-links@4.0.1, npm/cacache@16.1.3, npm/http-proxy-agent@5.0.0, npm/https-proxy-agent@5.0.1, npm/ip@2.0.1, npm/make-fetch-happen@10.2.1, npm/minipass-collect@1.0.2, npm/minipass-fetch@2.1.2, npm/node-gyp@9.4.1, npm/nopt@6.0.0, npm/read-package-json-fast@3.0.2, npm/socks-proxy-agent@7.0.0, npm/unique-filename@2.0.1, npm/unique-slug@3.0.0, npm/which@3.0.1

View full report↗︎

@socket-security

socket-securityBot commented May 21, 2024

Copy link
Copy Markdown

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

AlertPackageNote
Shell access npm/foreground-child@3.1.1
Shell access npm/foreground-child@3.1.1
New author npm/abbrev@2.0.0
Network access npm/socks-proxy-agent@8.0.3
Network access npm/agent-base@7.1.1
Network access npm/agent-base@7.1.1
Network access npm/agent-base@7.1.1
Network access npm/@npmcli/agent@2.2.2
Network access npm/@npmcli/agent@2.2.2
Network access npm/@npmcli/agent@2.2.2
Network access npm/@npmcli/agent@2.2.2
Network access npm/@npmcli/agent@2.2.2
New author npm/validate-npm-package-name@5.0.1

View full report↗︎

Next steps

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Take a deeper look at the dependency

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 [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/foreground-child@3.1.1
  • @SocketSecurity ignore npm/abbrev@2.0.0
  • @SocketSecurity ignore npm/socks-proxy-agent@8.0.3
  • @SocketSecurity ignore npm/agent-base@7.1.1
  • @SocketSecurity ignore npm/@npmcli/agent@2.2.2
  • @SocketSecurity ignore npm/validate-npm-package-name@5.0.1

@naugtur

Copy link
Copy Markdown

(should) review alerts from Socket.

lemme start

@SocketSecurity ignore npm/abbrev@2.0.0
@SocketSecurity ignore npm/validate-npm-package-name@5.0.1
All good with Luke

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type-dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@legobeat@naugtur