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

[Snyk] Security upgrade rollup-plugin-typescript2 from 0.20.1 to 0.22.0 #32

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

Conversation

xphillyx
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • deps/v8/tools/turbolizer/package.json
    • deps/v8/tools/turbolizer/package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
No No Known Exploit
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
No No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: rollup-plugin-typescript2 The new version differs by 19 commits.

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncontrolled resource consumption

…/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BRACES-6838727
- https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728
Copy link

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

Package New capabilities Transitives Size Publisher
npm/@protobufjs/aspromise@1.1.2 None 0 9.05 kB dcode
npm/@protobufjs/base64@1.1.2 None 0 9.22 kB dcode
npm/@protobufjs/codegen@2.0.4 None 0 9.14 kB dcode
npm/@protobufjs/eventemitter@1.1.0 None 0 7.75 kB dcode
npm/@protobufjs/fetch@1.1.0 network 0 8.76 kB dcode
npm/@protobufjs/float@1.0.2 None 0 27 kB dcode
npm/@protobufjs/inquire@1.1.0 None 0 4.29 kB dcode
npm/@protobufjs/path@1.1.2 None 0 7.77 kB dcode
npm/@protobufjs/pool@1.1.0 None 0 6.25 kB dcode
npm/@protobufjs/utf8@1.1.0 None 0 23.5 kB dcode
npm/@rollup/plugin-commonjs@17.0.0 filesystem +2 402 kB shellscape
npm/@rollup/plugin-json@4.1.0 None +2 78.5 kB shellscape
npm/@rollup/plugin-node-resolve@11.0.1 filesystem +2 136 kB shellscape
npm/@types/long@4.0.0 None 0 12 kB types
npm/@types/node@11.11.4 None 0 608 kB types
npm/estree-walker@0.6.1 None 0 9.53 kB rich_harris
npm/fs-extra@8.1.0 filesystem 0 128 kB ryanzim
npm/long@4.0.0 None 0 177 kB dcode
npm/protobufjs@6.8.8 filesystem, network +1 3.82 MB dcode
npm/resolve@1.11.1 filesystem 0 141 kB ljharb
npm/rollup-plugin-typescript2@0.22.0 environment, eval, filesystem 0 4.3 MB ezolenko
npm/rollup-pluginutils@2.8.1 None 0 246 kB lukastaegert
npm/sntp@2.1.0 network 0 14.1 kB hueniverse
npm/sshpk@1.15.1 None 0 214 kB arekinath
npm/stream-meter@1.0.4 None 0 6.22 kB bryce
npm/string-width@4.2.0 None 0 5.25 kB sindresorhus
npm/stringstream@0.0.6 None 0 6.24 kB hichaelmart
npm/strip-json-comments@3.0.1 None 0 6.33 kB sindresorhus
npm/supports-color@3.1.2 environment 0 5.01 kB sindresorhus
npm/temp-dir@2.0.0 filesystem 0 3.29 kB sindresorhus
npm/tempfile@3.0.0 None 0 3.39 kB sindresorhus
npm/tempy@0.5.0 filesystem +1 95.1 kB sindresorhus
npm/text-encoding@0.6.4 None 0 638 kB inexorabletash
npm/throttleit@1.0.0 None 0 4.49 kB dominicbarnes
npm/to-fast-properties@2.0.0 None 0 3.5 kB sindresorhus
npm/tough-cookie@2.3.4 network 0 245 kB jstash
npm/trim-right@1.0.1 None 0 2.61 kB sindresorhus
npm/tslib@1.10.0 None 0 38.1 kB typescript
npm/tslib@1.11.1 None 0 40.3 kB typescript-bot
npm/tunnel-agent@0.6.0 environment, network 0 16.7 kB mikeal
npm/tweetnacl@0.14.5 None 0 174 kB dchest
npm/type-detect@4.0.3 None 0 25.1 kB chaijs
npm/type-fest@0.8.1 None 0 57.9 kB sindresorhus
npm/uid2@0.0.3 None 0 2.22 kB coreh
npm/union-value@1.0.0 None +1 15.6 kB jonschlinkert
npm/unique-string@2.0.0 None 0 2.88 kB sindresorhus
npm/unique-temp-dir@1.0.0 None 0 3.81 kB jamestalmage
npm/uri-js@4.2.2 None +1 566 kB garycourt
npm/uuid@3.3.2 None 0 43.6 kB broofa
npm/v8-compile-cache@2.1.0 environment, filesystem, unsafe 0 16.2 kB zertosh
npm/verror@1.10.0 None 0 35.8 kB dap
npm/word-wrap@1.2.3 None 0 10.6 kB jonschlinkert
npm/wordwrap@1.0.0 None 0 36.8 kB substack

🚮 Removed packages: npm/estree-walker@0.6.0, npm/fs-extra@7.0.1, npm/graceful-fs@4.1.15, npm/mixin-deep@1.3.2, npm/path-parse@1.0.5, npm/resolve@1.8.1, npm/rollup-plugin-typescript2@0.20.1, npm/rollup-pluginutils@2.4.1, npm/set-value@2.0.1, npm/tslib@1.9.3, npm/union-value@1.0.1

View full report↗︎

Copy link

🚨 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 NoteSource
Install scripts npm/protobufjs@6.8.8
  • Install script: postinstall
  • Source: node scripts/postinstall

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

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/protobufjs@6.8.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants