Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

legobeat
Copy link

No description provided.

Copy link

socket-security bot commented May 21, 2024

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

Package New capabilities Transitives Size Publisher
npm/@babel/helper-validator-identifier@7.22.20 None 0 49.1 kB nicolo-ribaudo
npm/@babel/types@7.23.0 environment 0 2.41 MB nicolo-ribaudo
npm/@isaacs/cliui@8.0.2 None 0 27.8 kB isaacs
npm/@lavamoat/aa@4.2.0 None 0 19.8 kB boneskull
npm/@lavamoat/allow-scripts@3.0.4 environment 0 45.8 kB boneskull
npm/@npmcli/agent@2.2.2 environment, network 0 17.7 kB npm-cli-ops
npm/@npmcli/git@5.0.7 filesystem 0 21.8 kB npm-cli-ops
npm/@npmcli/package-json@5.1.0 filesystem 0 37.5 kB npm-cli-ops
npm/@npmcli/promise-spawn@7.0.2 environment, shell 0 12.2 kB npm-cli-ops
npm/@npmcli/run-script@7.0.4 environment 0 18.4 kB npm-cli-ops
npm/@pkgjs/parseargs@0.11.0 None 0 74.2 kB oss-bot
npm/abbrev@2.0.0 None 0 4.83 kB lukekarrys
npm/agent-base@7.1.1 network 0 31.2 kB tootallnate
npm/bin-links@4.0.3 filesystem 0 20.6 kB npm-cli-ops
npm/brace-expansion@2.0.1 None 0 11.5 kB juliangruber
npm/cacache@18.0.3 filesystem 0 63.5 kB npm-cli-ops
npm/cliui@8.0.1 None 0 32.3 kB oss-bot
npm/foreground-child@3.1.1 shell 0 60.4 kB isaacs
npm/function-bind@1.1.2 None 0 31.4 kB ljharb
npm/glob@10.3.15 None 0 460 kB isaacs
npm/hasown@2.0.2 None 0 8.77 kB ljharb
npm/hosted-git-info@7.0.2 None 0 26.6 kB npm-cli-ops
npm/http-proxy-agent@7.0.2 network 0 23.3 kB tootallnate
npm/https-proxy-agent@7.0.4 network 0 35.3 kB tootallnate
npm/ip-address@9.0.5 None 0 177 kB beaugunderson
npm/is-core-module@2.13.1 None 0 30.2 kB ljharb
npm/isexe@3.1.1 environment, filesystem 0 43 kB isaacs
npm/jackspeak@2.3.6 environment 0 253 kB isaacs
npm/jsbn@1.1.0 None 0 46.9 kB andyperlitch
npm/lru-cache@10.2.2 None 0 681 kB isaacs
npm/make-fetch-happen@13.0.1 network 0 52.8 kB npm-cli-ops
npm/minimatch@9.0.3 environment 0 434 kB isaacs
npm/minipass-collect@2.0.1 None 0 4.96 kB isaacs
npm/node-gyp@10.1.0 environment, shell 0 1.73 MB lukekarrys
npm/nopt@7.2.1 None 0 26.2 kB npm-cli-ops
npm/normalize-package-data@6.0.1 None 0 28.2 kB npm-cli-ops
npm/npm-install-checks@6.3.0 None 0 6.21 kB npm-cli-ops
npm/npm-package-arg@11.0.2 None 0 19.1 kB npm-cli-ops
npm/npm-pick-manifest@9.0.1 None 0 16.3 kB npm-cli-ops
npm/path-scurry@1.11.1 filesystem 0 535 kB isaacs
npm/proc-log@4.2.0 None 0 12.3 kB npm-cli-ops
npm/promise-inflight@1.0.1 None 0 3.04 kB iarna
npm/resolve@1.22.8 environment, filesystem 0 145 kB ljharb
npm/semver@7.6.2 None 0 95.4 kB npm-cli-ops
npm/socks-proxy-agent@8.0.3 network 0 25.1 kB tootallnate
npm/socks@2.8.3 network 0 156 kB joshglazebrook
npm/spdx-correct@3.2.0 None 0 23.4 kB kemitchell
npm/sprintf-js@1.1.3 None 0 39.9 kB alexei
npm/string-width-cjs@4.2.3 None 0 0 B
npm/strip-ansi-cjs@6.0.1 None 0 0 B
npm/validate-npm-package-license@3.0.4 None 0 16.6 kB kemitchell
npm/validate-npm-package-name@5.0.1 unsafe 0 7.77 kB npm-cli-ops
npm/which@4.0.0 environment 0 7.5 kB npm-cli-ops
npm/wrap-ansi-cjs@7.0.0 None 0 0 B
npm/yargs-parser@21.1.1 environment, filesystem 0 128 kB oss-bot
npm/yargs@17.7.2 environment, filesystem 0 292 kB oss-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↗︎

Copy link

socket-security bot commented May 21, 2024

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

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

Alert Package NoteSourceCI
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 team as a code owner May 21, 2024 04:39
@legobeat legobeat added the dependencies Pull requests that update a dependency file label May 21, 2024
@legobeat legobeat force-pushed the devdeps-lavamoat-allow-scripts branch from ed4d693 to 7f8d755 Compare July 26, 2024 20:37
@legobeat legobeat force-pushed the devdeps-lavamoat-allow-scripts branch from 7f8d755 to 776963b Compare September 4, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant