Skip to content

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

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#27
legobeat wants to merge 1 commit into
MetaMask:mainfrom
legobeat:devdeps-lavamoat-allow-scripts

Conversation

@legobeat

Copy link
Copy Markdown

No description provided.

@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/@babel/helper-validator-identifier@7.22.20None049.1 kBnicolo-ribaudo
npm/@babel/types@7.23.0environment02.41 MBnicolo-ribaudo
npm/@isaacs/cliui@8.0.2None027.8 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/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/bin-links@4.0.3filesystem020.6 kBnpm-cli-ops
npm/brace-expansion@2.0.1None011.5 kBjuliangruber
npm/cacache@18.0.3filesystem063.5 kBnpm-cli-ops
npm/cliui@8.0.1None032.3 kBoss-bot
npm/foreground-child@3.1.1shell060.4 kBisaacs
npm/function-bind@1.1.2None031.4 kBljharb
npm/glob@10.3.15None0460 kBisaacs
npm/hasown@2.0.2None08.77 kBljharb
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/ip-address@9.0.5None0177 kBbeaugunderson
npm/is-core-module@2.13.1None030.2 kBljharb
npm/isexe@3.1.1environment, filesystem043 kBisaacs
npm/jackspeak@2.3.6environment0253 kBisaacs
npm/jsbn@1.1.0None046.9 kBandyperlitch
npm/lru-cache@10.2.2None0681 kBisaacs
npm/make-fetch-happen@13.0.1network052.8 kBnpm-cli-ops
npm/minimatch@9.0.3environment0434 kBisaacs
npm/minipass-collect@2.0.1None04.96 kBisaacs
npm/node-gyp@10.1.0environment, shell01.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/promise-inflight@1.0.1None03.04 kBiarna
npm/resolve@1.22.8environment, filesystem0145 kBljharb
npm/semver@7.6.2None095.4 kBnpm-cli-ops
npm/socks-proxy-agent@8.0.3network025.1 kBtootallnate
npm/socks@2.8.3network0156 kBjoshglazebrook
npm/spdx-correct@3.2.0None023.4 kBkemitchell
npm/sprintf-js@1.1.3None039.9 kBalexei
npm/string-width-cjs@4.2.3None00 B
npm/strip-ansi-cjs@6.0.1None00 B
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.0environment07.5 kBnpm-cli-ops
npm/wrap-ansi-cjs@7.0.0None00 B
npm/yargs-parser@21.1.1environment, filesystem0128 kBoss-bot
npm/yargs@17.7.2environment, filesystem0292 kBoss-bot

🚮 Removed packages:npm/@babel/helper-validator-identifier@7.22.5), npm/@babel/types@7.22.5), npm/@lavamoat/aa@3.1.2), npm/@lavamoat/allow-scripts@2.3.1), npm/@npmcli/promise-spawn@6.0.2), npm/@npmcli/run-script@6.0.2), npm/@tootallnate/once@2.0.0), npm/abbrev@1.1.1), npm/agent-base@6.0.2), npm/agentkeepalive@4.3.0), npm/aproba@2.0.0), npm/are-we-there-yet@3.0.1), npm/bin-links@4.0.1), npm/brace-expansion@1.1.11), npm/cacache@17.1.3), npm/cliui@7.0.4), npm/color-support@1.1.3), npm/concat-map@0.0.1), npm/console-control-strings@1.1.0), npm/delegates@1.0.0), npm/depd@2.0.0), npm/fs.realpath@1.0.0), npm/function-bind@1.1.1), npm/gauge@4.0.4), npm/glob@7.2.3), npm/has-unicode@2.0.1), npm/http-proxy-agent@5.0.0), npm/https-proxy-agent@5.0.1), npm/humanize-ms@1.2.1), npm/inflight@1.0.6), npm/inherits@2.0.4), npm/ip@2.0.1), npm/is-core-module@2.12.1), npm/isexe@2.0.0), npm/lru-cache@7.18.3), npm/make-fetch-happen@11.1.1), npm/minimatch@3.1.2), npm/minipass-collect@1.0.2), npm/node-gyp@9.4.0), npm/nopt@6.0.0), npm/npmlog@6.0.2), npm/once@1.4.0), npm/path-is-absolute@1.0.1), npm/read-package-json-fast@3.0.2), npm/readable-stream@3.6.2), npm/resolve@1.22.3), npm/safe-buffer@5.2.1), npm/semver@7.5.4), npm/set-blocking@2.0.0), npm/socks-proxy-agent@7.0.0), npm/socks@2.7.1), npm/sprintf-js@1.0.3), npm/string_decoder@1.3.0), npm/util-deprecate@1.0.2), npm/which@2.0.2), npm/wide-align@1.1.5), npm/wrappy@1.0.2), npm/yargs-parser@20.2.9), npm/yargs@16.2.0)

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.

AlertPackageNoteSourceCI
AI warning npm/yargs@17.7.2
  • Notes: The code dynamically determines the flow of commands based on user input and specific conditions, potentially leading to command injection vulnerabilities if not handled properly. No explicit malicious behavior detected, but there is a security risk present.
  • Confidence: 1.00
  • Severity: 0.60
⚠︎
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 an AI-detected potential code anomaly?

AI has identified unusual behaviors that may pose a security risk.

An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

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/yargs@17.7.2
  • @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

@legobeat
legobeat marked this pull request as ready for review May 21, 2024 04:39
@legobeat
legobeat requested a review from a teamMay 21, 2024 04:39
@legobeatlegobeat added the dependencies Pull requests that update a dependency file label May 21, 2024
@legobeat
legobeatforce-pushed the devdeps-lavamoat-allow-scripts branch from ed4d693 to 7f8d755CompareJuly 26, 2024 20:37
@legobeat
legobeatforce-pushed the devdeps-lavamoat-allow-scripts branch from 7f8d755 to 776963bCompareSeptember 4, 2024 11:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@legobeat