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] Fix for 1 vulnerabilities #456

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

Conversation

titanism
Copy link
Contributor

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 `yarn` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • template/package.json
    • template/yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
medium severity 658/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3
Information Exposure
SNYK-JS-SANITIZEHTML-6256334
Yes Proof of Concept

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

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/cli@7.17.6 Transitive: environment, eval, filesystem, network, shell, unsafe +44 6.94 MB nicolo-ribaudo
npm/@babel/code-frame@7.16.7 Transitive: environment +8 113 kB nicolo-ribaudo
npm/@babel/compat-data@7.17.7 None 0 50.5 kB nicolo-ribaudo
npm/@babel/core@7.17.9 environment, filesystem, unsafe +37 5.84 MB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.17.7 Transitive: environment, filesystem, unsafe +37 5.84 MB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.17.9 Transitive: environment, filesystem, unsafe +42 5.96 MB nicolo-ribaudo
npm/@babel/helper-function-name@7.17.9 Transitive: environment +12 2.94 MB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.17.7 Transitive: environment +2 1.1 MB nicolo-ribaudo
npm/@babel/helper-module-imports@7.16.7 Transitive: environment +2 1.07 MB nicolo-ribaudo
npm/@babel/helper-module-transforms@7.17.7 Transitive: environment +22 3.33 MB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.16.7 None 0 4.41 kB nicolo-ribaudo
npm/@babel/highlight@7.17.9 Transitive: environment +7 106 kB nicolo-ribaudo
npm/@babel/parser@7.17.9 None 0 1.76 MB nicolo-ribaudo
npm/@babel/plugin-proposal-unicode-property-regex@7.16.7 Transitive: environment, filesystem, unsafe +41 5.86 MB nicolo-ribaudo
npm/@babel/plugin-transform-dotall-regex@7.16.7 Transitive: environment, filesystem, unsafe +41 5.86 MB nicolo-ribaudo
npm/@babel/polyfill@7.12.1 Transitive: environment, eval, filesystem +1 2.71 MB nicolo-ribaudo
npm/@babel/preset-env@7.16.11 environment Transitive: filesystem, unsafe +121 7.69 MB nicolo-ribaudo
npm/@babel/runtime@7.17.9 None 0 173 kB nicolo-ribaudo
npm/@babel/traverse@7.17.9 Transitive: environment +19 3.27 MB nicolo-ribaudo
npm/@babel/types@7.17.0 environment +1 1.05 MB nicolo-ribaudo
npm/@fortawesome/fontawesome-free@5.15.4 None 0 11.8 MB robmadole
npm/@grpc/proto-loader@0.6.9 filesystem Transitive: environment +4 415 kB murgatroid99
npm/@hapi/boom@9.1.4 None +1 79.5 kB devinivy
npm/@jridgewell/trace-mapping@0.3.9 None +2 168 kB jridgewell
npm/@koa/router@10.1.1 network Transitive: environment +2 84.8 kB niftylettuce
npm/@ladjs/api@6.0.3 environment, network Transitive: filesystem +29 1.86 MB niftylettuce
npm/@ladjs/assets@1.4.2 Transitive: environment, filesystem, network +7 938 kB niftylettuce
npm/@ladjs/env@3.0.0 environment Transitive: filesystem, shell +7 288 kB niftylettuce
npm/@ladjs/graceful@1.1.5 Transitive: environment +2 61.7 kB niftylettuce
npm/@ladjs/gulp-envify@2.0.1 environment +1 8.09 kB niftylettuce
npm/@ladjs/i18n@7.2.6 environment +6 420 kB niftylettuce
npm/@ladjs/mongoose-error-messages@1.0.0 None 0 6.46 kB niftylettuce
npm/@ladjs/mongoose@2.1.1 Transitive: environment +4 91.9 kB niftylettuce
npm/@ladjs/passport@2.1.0 environment +4 585 kB shaunwarman
npm/@ladjs/pick-original@1.0.0 None +2 46.6 kB niftylettuce
npm/@ladjs/policies@5.0.0 environment +3 114 kB niftylettuce
npm/@ladjs/proxy@2.1.0 environment, network +1 22.3 kB niftylettuce
npm/@ladjs/redis@1.0.7 None 0 12 kB niftylettuce
npm/@ladjs/shared-config@4.0.0 environment, filesystem +1 22.4 kB niftylettuce
npm/@ladjs/store-ip-address@0.0.7 Transitive: environment +2 60.6 kB niftylettuce
npm/@ladjs/web@21.0.16 environment Transitive: eval, filesystem, network, shell, unsafe +118 12.1 MB titanism
npm/@nodelib/fs.stat@2.0.5 filesystem 0 11.8 kB mrmlnc
npm/@primer/css@15.2.0 None +1 4.58 MB primer-css
npm/@protobufjs/aspromise@1.1.2 None 0 9.05 kB dcode
npm/@sidoshi/random-string@1.0.0 environment 0 26.1 kB sidoshi
npm/@sinonjs/commons@1.8.3 None 0 38 kB mrgnrdrck
npm/@sinonjs/fake-timers@6.0.1 environment, eval +1 194 kB mrgnrdrck
npm/@slack/web-api@6.7.1 Transitive: environment, filesystem, network +9 3.68 MB seratch
npm/@strikeentco/get@1.0.1 None 0 5.86 kB strikeentco
npm/@strikeentco/set@1.0.2 None 0 5.13 kB strikeentco
npm/@tkrotoff/bootstrap-floating-label@0.7.0 None +1 4.55 MB tkrotoff
npm/@types/babel-types@7.0.11 None 0 114 kB types
npm/@types/bson@4.0.5 None +1 1.71 MB types
npm/@types/json-schema@7.0.11 None 0 32.2 kB types
npm/@types/long@4.0.2 None 0 13.3 kB types
npm/@types/mdast@3.0.10 None +1 18.1 kB types
npm/@types/mime@1.3.5 None 0 3.78 kB types
npm/@types/minimatch@3.0.5 None 0 8.2 kB types
npm/@types/node@17.0.29 None 0 1.68 MB types
npm/@types/unist@2.0.6 None 0 6.6 kB types
npm/acorn-jsx@5.3.2 None +1 491 kB rreverser
npm/acorn-node@1.8.2 None +2 1.36 MB goto-bus-stop
npm/acorn@8.7.1 None 0 466 kB marijn
npm/ansi-colors@4.1.3 environment 0 26.1 kB jonschlinkert
npm/ansi-escapes@4.3.2 None +1 135 kB sindresorhus
npm/ansi-wrap@0.1.0 None 0 4.92 kB jonschlinkert
npm/arr-map@2.0.2 None 0 6.31 kB jonschlinkert
npm/array-each@1.0.1 None 0 6.17 kB jonschlinkert
npm/array-join-conjunction@1.0.0 None 0 4.62 kB dustinspecker
npm/assert-plus@1.0.0 environment 0 11.4 kB pfmooney
npm/async-done@1.3.2 None +1 19.5 kB phated
npm/autoprefixer@9.8.8 environment Transitive: filesystem +4 2.04 MB ai
npm/axe@8.1.2 environment +10 472 kB niftylettuce
npm/babel-runtime@6.26.0 Transitive: environment, eval, filesystem +2 2.34 MB hzoo
npm/babelify@10.0.0 Transitive: environment, filesystem, unsafe +38 5.85 MB loganfsmyth
npm/base64url@3.0.1 None 0 7.55 kB brianloveswords
npm/basic-auth@2.0.1 None 0 8.89 kB dougwilson
npm/bin-wrapper@4.1.0 filesystem Transitive: environment +22 217 kB sindresorhus
npm/bitter-font@0.0.1 None 0 1.44 MB niftylettuce
npm/bn.js@5.2.0 None 0 100 kB fanatid
npm/boolbase@1.0.0 None 0 1.33 kB feedic
npm/boolean@3.2.0 None 0 12.5 kB thenativeweb-admin
npm/bootstrap@4.6.0 None 0 4.53 MB xhmikosr
npm/bree@6.5.0 filesystem Transitive: environment, shell +10 2.43 MB shadowgate15
npm/browser-hrtime@1.1.8 None 0 10.1 kB vl.tansky
npm/browser-pack@6.1.0 filesystem +4 96 kB goto-bus-stop
npm/browserify@17.0.0 filesystem, network, unsafe Transitive: environment +38 1.39 MB goto-bus-stop
npm/browserslist@4.20.3 environment, filesystem +3 1.75 MB ai
npm/bson-objectid@1.3.1 None 0 33.1 kB niftylettuce
npm/bson@1.1.6 eval 0 775 kB nbbeeken
npm/buffer@5.2.1 None +1 89.6 kB feross
npm/bundle-collapser@1.4.0 Transitive: filesystem +11 1.51 MB goto-bus-stop
npm/bytes@3.1.2 None 0 12.3 kB dougwilson
npm/cabin@9.1.2 environment Transitive: network +20 1.42 MB niftylettuce
npm/cached-path-relative@1.1.0 None 0 3.71 kB ashaffer88
npm/camelcase@6.3.0 None 0 11.7 kB sindresorhus
npm/caniuse-lite@1.0.30001332 None 0 1.5 MB caniuse-lite
npm/capitalize@2.0.4 None 0 8.52 kB grncdr
npm/captain-hook@0.0.3 None +1 105 kB nathanhackley
npm/caseless@0.12.0 None 0 14.3 kB mikeal
npm/character-parser@2.2.0 None 0 17.3 kB forbeslindesay
npm/cheerio@1.0.0-rc.10 Transitive: network +9 575 kB feedic
npm/chokidar@3.5.3 environment, filesystem +2 149 kB paulmillr
npm/clf-date@0.2.1 None 0 4.84 kB lludol
npm/cli-boxes@2.2.1 None 0 6.14 kB sindresorhus
npm/clipboard@2.0.10 None 0 91.8 kB obetomuniz
npm/clone@2.1.2 None 0 15.9 kB pvorb
npm/codecov@3.8.3 environment, filesystem, shell +1 108 kB thomasrockhu
npm/combine-source-map@0.8.0 Transitive: filesystem +1 56.6 kB thlorenz
npm/combined-stream@1.0.8 None +1 19.5 kB alexindigo
npm/common-tags@1.8.2 None 0 228 kB fatfisz
npm/compressible@2.0.18 None 0 7.36 kB dougwilson
npm/concat-stream@1.6.2 None +2 19.6 kB mafintosh
npm/config-chain@1.1.13 environment, filesystem, network 0 15 kB isaacs
npm/console-control-strings@1.1.0 None 0 12.7 kB iarna
npm/console-polyfill@0.3.0 None 0 1.61 kB paulmillr
npm/consolidate@0.16.0 filesystem, unsafe Transitive: environment, eval +1 691 kB niftylettuce
npm/content-disposition@0.5.4 None 0 19.1 kB dougwilson
npm/convert-hrtime@3.0.0 None 0 3.27 kB sindresorhus
npm/convert-source-map@1.8.0 filesystem 0 10.3 kB thlorenz
npm/cookiejar@2.1.3 None 0 14.4 kB andyburke
npm/copy-to@2.0.1 None 0 5.03 kB dead_horse
npm/core-js-compat@3.22.2 Transitive: environment, filesystem +5 2.35 MB zloirock
npm/core-js@2.6.12 environment, eval, filesystem 0 2.26 MB zloirock
npm/crypto-random-string@3.3.1 None 0 14.3 kB sindresorhus
npm/css-color-names@0.0.4 None 0 5.33 kB bahamas10
npm/cssnano@4.1.11 Transitive: filesystem, unsafe +10 152 kB evilebottnawi
npm/custom-fonts-in-emails@4.0.2 filesystem Transitive: environment, network +12 853 kB niftylettuce
npm/d@1.0.1 Transitive: eval +3 444 kB medikoo
npm/dashify@2.0.0 None 0 7.27 kB jonschlinkert
npm/dayjs-with-plugins@0.0.4 Transitive: environment +3 753 kB niftylettuce
npm/dayjs@1.11.1 None 0 642 kB iamkun
npm/debug@4.3.4 environment +1 49.2 kB qix
npm/deep-equal@1.0.1 None 0 9.69 kB substack
npm/deep-is@0.1.4 None 0 8.11 kB thlorenz
npm/depd@2.0.0 environment, eval 0 27.1 kB dougwilson
npm/dom-serializer@1.4.1 None +3 142 kB feedic
npm/domelementtype@2.3.0 None 0 11.4 kB feedic
npm/domhandler@4.3.1 None +1 55.9 kB feedic
npm/domutils@2.8.0 network +4 199 kB feedic
npm/duplexer2@0.1.4 None +1 11.4 kB zertosh
npm/duplexify@4.1.2 None +1 24.5 kB mafintosh
npm/ecdsa-sig-formatter@1.0.11 None 0 20.6 kB d2l-travis-deploy
npm/email-templates@8.1.0 environment, filesystem Transitive: eval, unsafe +14 1.49 MB niftylettuce
npm/encodeurl@1.0.2 None 0 7.86 kB dougwilson
npm/es-abstract@1.19.5 None +2 1.22 MB ljharb
npm/es5-ext@0.10.61 eval +3 444 kB medikoo
npm/es6-iterator@2.0.3 Transitive: eval +3 444 kB medikoo
npm/es6-symbol@3.1.3 Transitive: eval +3 444 kB medikoo
npm/es6-weak-map@2.0.3 Transitive: eval +4 456 kB medikoo
npm/escape-html@1.0.3 None 0 3.66 kB dougwilson
npm/eslint-config-xo-lass@1.0.6 None 0 5.54 kB niftylettuce
npm/eslint-formatter-pretty@4.1.0 environment +8 416 kB sindresorhus
npm/eslint@7.32.0 filesystem Transitive: environment, eval, shell, unsafe +21 5.03 MB eslintbot

🚮 Removed packages: npm/@babel/code-frame@7.12.13, npm/@babel/parser@7.12.15, npm/@babel/traverse@7.12.13, npm/@babel/types@7.12.13, npm/@nodelib/fs.stat@2.0.4, npm/@types/mdast@3.0.3, npm/@types/unist@2.0.3, npm/ansi-escapes@4.3.1, npm/bn.js@5.1.3, npm/boxen@1.3.0, npm/cac@6.7.1, npm/camelcase@6.2.0, npm/caniuse-lite@1.0.30001185, npm/chokidar@3.5.1, npm/codecov@3.8.1, npm/core-js@3.8.3, npm/cross-env@7.0.3, npm/debug@4.3.1, npm/eslint-config-xo-lass@1.0.5, npm/eslint-plugin-compat@3.9.0, npm/eslint-plugin-no-smart-quotes@1.1.0, npm/eslint-scope@5.1.1, npm/eslint-utils@2.1.0, npm/eslint@7.19.0, npm/espree@7.3.1, npm/esquery@1.4.0, npm/esutils@2.0.3, npm/evp_bytestokey@1.0.3, npm/extend@3.0.2, npm/fast-diff@1.2.0, npm/fault@1.0.4, npm/figures@3.2.0, npm/find-cache-dir@3.3.1, npm/format@0.2.2, npm/fs-extra@9.1.0, npm/get-caller-file@2.0.5, npm/get-intrinsic@1.1.1, npm/get-stdin@8.0.0, npm/get-stream@5.2.0, npm/get-value@2.0.6, npm/github-username-regex@1.0.0, npm/glob-parent@5.1.1, npm/glob@7.1.6, npm/global-dirs@0.1.1, npm/got@6.7.1, npm/graceful-fs@4.2.6, npm/hash.js@1.1.7, npm/husky@5.0.9, npm/ieee754@1.2.1, npm/ignore@4.0.6, npm/import-fresh@3.3.0, npm/inherits@2.0.4, npm/ini@1.3.8, npm/is-binary-path@2.1.0, npm/is-callable@1.2.3, npm/is-descriptor@1.0.2, npm/is-email@1.0.0, npm/is-error@2.2.2, npm/is-extendable@0.1.1, npm/is-extglob@2.1.1, npm/is-glob@4.0.1, npm/is-url@1.2.4, npm/is-valid-npm-name@0.0.5, npm/is-windows@1.0.2, npm/isarray@1.0.0, npm/isobject@3.0.1, npm/istanbul-lib-coverage@3.0.0, npm/js-yaml@3.14.0, npm/json5@2.2.0, npm/kind-of@6.0.3, npm/lint-staged@10.5.4, npm/lodash@4.17.20, npm/lowercase-keys@1.0.1, npm/make-dir@3.1.0, npm/mdast-comment-marker@1.1.2, npm/mdast-util-heading-range@2.1.5, npm/mdast-util-to-markdown@0.6.5, npm/meow@8.1.2, npm/merge2@1.4.1, npm/micromark@2.11.4, npm/mimic-response@1.0.1, npm/minimalistic-assert@1.0.1, npm/minimist@1.2.5, npm/nlcst-is-literal@1.2.2, npm/nlcst-normalize@2.1.5, npm/normalize-path@3.0.0, npm/npm-conf@1.1.3, npm/npm-run-path@4.0.1, npm/nyc@15.1.0, npm/object-assign@4.1.1, npm/object-keys@1.1.1, npm/once@1.4.0, npm/onetime@5.1.2, npm/p-limit@2.3.0, npm/parse-asn1@5.1.6, npm/path-key@3.1.1, npm/picomatch@2.2.2, npm/pkg-dir@4.2.0, npm/quotation@1.1.3, npm/randombytes@2.1.0, npm/rc@1.2.8, npm/readable-stream@3.6.0, npm/regex-not@1.0.2, npm/regexp-tree@0.1.23, npm/regexpp@3.1.0, npm/remark-cli@9.0.0, npm/remark-lint-list-item-indent@2.0.1, npm/remark-lint-no-duplicate-definitions@2.0.1, npm/remark-preset-github@4.0.1, npm/repeat-string@1.6.1, npm/resolve-from@5.0.0, npm/resolve-global@1.0.0, npm/resolve@1.20.0

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/@fortawesome/fontawesome-free@5.15.4
  • Install script: postinstall
  • Source: node attribution.js
Protestware/Troll package npm/es5-ext@0.10.61
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/es5-ext@0.10.61
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0

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.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

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/@fortawesome/fontawesome-free@5.15.4
  • @SocketSecurity ignore npm/es5-ext@0.10.61

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