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 mocha from 10.3.0 to 10.6.0 #21

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

Conversation

matrix-compute
Copy link
Owner

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


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • deps/undici/src/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Cross-site Scripting (XSS)
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
  626  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Cross-site Scripting (XSS)

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@fastify/busboy@2.1.0 None 0 80.1 kB eomm
npm/@matteo.collina/tspl@0.1.1 None 0 7.29 kB matteo.collina
npm/@sinonjs/fake-timers@11.2.2 eval +1 121 kB fatso83
npm/@types/node@18.19.15 None 0 3.88 MB types
npm/abort-controller@3.0.0 None +1 265 kB mysticatea
npm/axios@1.6.7 network +1 1.87 MB jasonsaayman
npm/borp@0.9.1 environment Transitive: filesystem, network, shell, unsafe +13 1.2 MB matteo.collina
npm/chai-as-promised@7.1.1 None +2 50.6 kB domenic
npm/chai-iterator@3.0.2 None 0 31.6 kB harrysarson
npm/chai-string@1.5.0 None 0 30.8 kB onechiporenko
npm/chai@4.4.1 None +3 802 kB keithamus
npm/concurrently@8.2.2 environment, filesystem +2 7.06 MB gustavohenke
npm/cronometro@2.0.2 Transitive: eval +4 781 kB shogun_panda
npm/dns-packet@5.6.1 None +1 78.7 kB silverwind
npm/docsify-cli@4.4.4 filesystem Transitive: environment, network +23 2.5 MB sy-records
npm/form-data@4.0.0 filesystem, network +3 90.3 kB niftylettuce
npm/formdata-node@6.0.3 None 0 128 kB octetstream
npm/got@14.2.0 Transitive: network +13 674 kB sindresorhus
npm/https-pem@3.0.0 filesystem 0 5.28 kB watson
npm/husky@9.0.10 environment, filesystem, shell 0 3.61 kB typicode
npm/import-fresh@3.3.0 None 0 4.87 kB sindresorhus

🚮 Removed packages: npm/@babel/generator@7.1.3, npm/@babel/helper-function-name@7.1.0, npm/@babel/helper-get-function-arity@7.0.0, npm/@babel/helper-split-export-declaration@7.0.0, npm/@babel/highlight@7.0.0, npm/@babel/parser@7.1.3, npm/@babel/template@7.1.2, npm/@babel/traverse@7.1.4, npm/@babel/types@7.1.3, npm/@mrmlnc/readdir-enhanced@2.2.1, npm/@nodelib/fs.stat@1.1.2, npm/@sinonjs/commons@1.8.6, npm/@sinonjs/formatio@3.2.2, npm/@sinonjs/samsam@3.3.3, npm/@types/color-name@1.1.1, npm/accepts@1.3.7, npm/acorn-jsx@5.2.0, npm/acorn@7.1.1, npm/ajv@5.5.2, npm/ansi-escapes@4.3.1, npm/arr-diff@4.0.0, npm/arr-flatten@1.1.0, npm/arr-union@3.1.0, npm/array-from@2.1.1, npm/array-union@1.0.2, npm/array-uniq@1.0.3, npm/array-unique@0.3.2, npm/asn1@0.2.4, npm/assign-symbols@1.0.0, npm/astral-regex@1.0.0, npm/atob@2.1.2, npm/aws4@1.8.0, npm/babel-runtime@6.26.0, npm/base@0.11.2, npm/boom@4.3.1, npm/braces@2.3.2, npm/browser-stdout@1.3.0, npm/byline@5.0.0, npm/bytes@3.1.0, npm/cache-base@1.0.1, npm/call-me-maybe@1.0.1, npm/chalk@2.4.1, npm/chardet@0.7.0, npm/class-utils@0.3.6, npm/cli-cursor@3.1.0, npm/cli-width@2.2.0, npm/collection-visit@1.0.0, npm/color-convert@1.9.0, npm/combined-stream@1.0.7, npm/command-line-args@5.1.1, npm/command-line-usage@6.1.1, npm/commander@2.11.0, npm/component-emitter@1.2.1, npm/content-disposition@0.5.3, npm/copy-descriptor@0.1.1, npm/core-js@2.5.7, npm/cross-spawn@6.0.5, npm/cryptiles@3.1.2, npm/debug@3.1.0, npm/decode-uri-component@0.2.0, npm/deep-is@0.1.3, npm/define-property@2.0.2, npm/destroy@1.0.4, npm/diff@3.2.0, npm/dir-glob@2.0.0, npm/escodegen@1.10.0, npm/eslint-scope@5.0.0, npm/eslint-utils@1.4.3, npm/eslint-visitor-keys@1.1.0, npm/eslint@6.8.0, npm/espree@6.2.1, npm/esprima@3.1.3, npm/esquery@1.2.0, npm/esrecurse@4.2.1, npm/estraverse@4.2.0, npm/esutils@2.0.2, npm/expand-brackets@2.1.4, npm/expand-template@1.1.1, npm/extend-shallow@3.0.2, npm/external-editor@3.1.0, npm/extglob@2.0.4, npm/fast-deep-equal@1.1.0, npm/fast-glob@2.2.3, npm/fast-json-stable-stringify@2.0.0, npm/figures@3.2.0, npm/file-entry-cache@5.0.1, npm/fill-range@4.0.0, npm/flat-cache@2.0.1, npm/flatted@2.0.2, npm/for-in@1.0.2, npm/form-data@2.3.3, npm/formatio@1.2.0, npm/fragment-cache@0.2.1, npm/from2@2.3.0, npm/fs-extra@6.0.1, npm/functional-red-black-tree@1.0.1, npm/get-intrinsic@1.1.1, npm/get-value@2.0.6, npm/glob-parent@3.1.0, npm/glob-to-regexp@0.3.0, npm/glob@7.1.1, npm/globals@10.1.0, npm/globby@8.0.1, npm/graceful-fs@4.1.11, npm/graceful-readlink@1.0.1, npm/growl@1.9.2, npm/har-validator@5.0.3, npm/has-flag@1.0.0, npm/has-symbols@1.0.2, npm/has-value@1.0.0, npm/has-values@1.0.0, npm/hawk@6.0.2, npm/he@1.1.1, npm/hoek@4.2.1, npm/http-assert@1.4.1, npm/http-errors@1.8.0, npm/https-proxy-agent@5.0.0, npm/ignore@3.3.10, npm/import-fresh@3.2.1, npm/in-publish@2.0.0, npm/inquirer@7.1.0, npm/into-stream@3.1.0, npm/is-accessor-descriptor@0.1.6, npm/is-buffer@1.1.6, npm/is-data-descriptor@0.1.4, npm/is-descriptor@0.1.6, npm/is-extendable@0.1.1, npm/is-generator-function@1.0.9, npm/is-glob@4.0.0, npm/is-number@3.0.0, npm/is-plain-object@2.0.4, npm/is-promise@2.1.0, npm/is-stream@2.0.0, npm/is-typedarray@1.0.0, npm/is-windows@1.0.2, npm/isexe@2.0.0, npm/isobject@3.0.1, npm/isstream@0.1.2, npm/jsbn@0.1.1, npm/jsesc@2.5.1, npm/json-schema-traverse@0.3.1, npm/json-schema@0.4.0, npm/json-stable-stringify-without-jsonify@1.0.1, npm/json3@3.3.2, npm/jsonfile@4.0.0, npm/jsprim@1.4.2, npm/just-extend@4.2.1, npm/kind-of@6.0.3, npm/koa-compress@3.1.0, npm/koa-convert@1.2.0, npm/koa@2.13.1, npm/levn@0.3.0, npm/load-module@3.0.0, npm/local-web-server@4.2.1, npm/lodash._baseassign@3.2.0, npm/lodash._basecopy@3.0.1, npm/lodash._basecreate@3.0.3, npm/lodash._getnative@3.9.1, npm/lodash._isiterateecall@3.0.9, npm/lodash.create@3.1.1, npm/lodash.get@4.4.2, npm/lodash.isarguments@3.1.0, npm/lodash.isarray@3.0.4, npm/lodash.keys@3.1.2, npm/lolex@2.1.2, npm/lws-body-parser@2.0.0, npm/lws-compress@2.0.0, npm/lws-cors@3.0.0, npm/lws-index@2.0.0, npm/lws-range@3.0.0, npm/lws-spa@3.0.0, npm/lws-static@2.0.0, npm/lws@3.1.0, npm/map-cache@0.2.2, npm/map-visit@1.0.0, npm/merge2@1.2.3, npm/micromatch@3.1.10, npm/mime-db@1.37.0, npm/mime-db@1.48.0, npm/mime-types@2.1.21, npm/mime-types@2.1.31, npm/mimic-fn@2.1.0, npm/minimist@1.2.8, npm/mixin-deep@1.3.2, npm/mocha@3.5.3, npm/multistream@2.1.1, npm/mute-stream@0.0.8, npm/nanomatch@1.2.13, npm/native-promise-only@0.8.1, npm/natural-compare@1.4.0, npm/negotiator@0.6.2, npm/nice-try@1.0.5, npm/nise@1.5.3, npm/node-version-matches@2.0.1, npm/oauth-sign@0.8.2, npm/object-copy@0.1.0, npm/object-inspect@1.10.3, npm/object-visit@1.0.1, npm/object.pick@1.3.0, npm/onetime@5.1.0, npm/open@7.4.2, npm/optionator@0.8.2, npm/os-tmpdir@1.0.2, npm/p-is-promise@1.1.0, npm/parent-module@1.0.1, npm/pascalcase@0.1.1, npm/path-dirname@1.0.2, npm/path-key@2.0.1, npm/path-to-regexp@1.7.0, npm/path-to-regexp@6.2.0, npm/path-type@3.0.0, npm/performance-now@2.1.0, npm/pify@3.0.0, npm/pkg-fetch@2.5.6, npm/pkg@4.3.4, npm/posix-character-classes@0.1.1, npm/prelude-ls@1.1.2, npm/prettier@2.0.5, npm/process-nextick-args@2.0.0, npm/progress@2.0.0, npm/punycode@1.4.1, npm/qs@6.10.1, npm/qs@6.5.2, npm/raw-body@2.4.1, npm/readable-stream@2.3.6, npm/reduce-flatten@3.0.1, npm/regenerator-runtime@0.11.1, npm/regex-not@1.0.2, npm/regexpp@2.0.1, npm/repeat-element@1.1.3, npm/repeat-string@1.6.1, npm/request-progress@3.0.0, npm/request@2.85.0, npm/resolve-from@4.0.0, npm/resolve-url@0.2.1, npm/resolve@1.6.0, npm/restore-cursor@3.1.0, npm/ret@0.1.15, npm/rimraf@2.6.3, npm/run-async@2.4.0, npm/rxjs@6.5.4, npm/safe-regex@1.1.0, npm/samsam@1.2.1, npm/set-value@2.0.1, npm/setprototypeof@1.1.1, npm/shebang-command@1.2.0, npm/shebang-regex@1.0.0, npm/signal-exit@3.0.3, npm/sinon@4.0.0, npm/slash@1.0.0, npm/slice-ansi@2.1.0, npm/snapdragon-node@2.1.1, npm/snapdragon-util@3.0.1, npm/snapdragon@0.8.2, npm/sntp@2.1.0, npm/source-map-resolve@0.5.2, npm/source-map-url@0.4.0, npm/source-map@0.5.7, npm/split-string@3.1.0, npm/sshpk@1.15.1, npm/static-extend@0.1.2, npm/stream-meter@1.0.4, npm/string-width@4.2.0, npm/stringstream@0.0.6, npm/strip-ansi@5.2.0, npm/strip-json-comments@3.0.1, npm/supports-color@3.1.2, npm/table@5.4.6, npm/temp-dir@2.0.0, npm/tempfile@3.0.0, npm/tempy@0.5.0, npm/text-encoding@0.6.4, npm/text-table@0.2.0, npm/throttleit@1.0.0, npm/tmp@0.0.33, npm/to-fast-properties@2.0.0, npm/to-object-path@0.3.0, npm/to-regex-range@2.1.1, npm/to-regex@3.0.2, npm/toidentifier@1.0.0, npm/tough-cookie@2.3.4, npm/trim-right@1.0.1, npm/tslib@1.11.1, npm/tunnel-agent@0.6.0, npm/tweetnacl@0.14.5, npm/type-check@0.3.2, npm/type-detect@4.0.3, npm/typical@6.0.1, npm/uid2@0.0.3, npm/union-value@1.0.1, npm/unique-string@2.0.0, npm/unique-temp-dir@1.0.0, npm/universalify@0.1.2, npm/unset-value@1.0.0, npm/uri-js@4.2.2, npm/urix@0.1.0, npm/use@3.1.1, npm/uuid@3.3.2, npm/v8-compile-cache@2.1.0, npm/verror@1.10.0, npm/which@1.3.1, npm/wordwrap@1.0.0, npm/write@1.0.3

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 NoteSourceCI
Install scripts npm/https-pem@3.0.0 🚫
Install scripts npm/docsify@4.13.1
  • Install script: postinstall
  • Source: opencollective-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/https-pem@3.0.0
  • @SocketSecurity ignore npm/docsify@4.13.1

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