SnailyCAD / snaily-cadv4

💻 An open source Computer Aided Dispatch (CAD) for FiveM, this is a web based integration for communities who love police roleplaying and dispatching. Discord: https://discord.gg/eGnrPqEH7U
https://docs.snailycad.org/docs/getting-started
MIT License
137 stars 83 forks source link

fix: upgrade Sentry #1941

Closed casperiv0 closed 1 month ago

casperiv0 commented 1 month ago

This PR include:

socket-security[bot] commented 1 month ago

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

Package New capabilities Transitives Size Publisher
npm/@sentry/browser@7.81.1 network +5 6.68 MB sentry-bot
npm/@sentry/node@8.8.0 None 0 0 B
npm/@sentry/tracing@7.81.1 Transitive: network +4 3.79 MB sentry-bot
npm/@snailycad/image-data-uri@3.2.0 filesystem Transitive: environment, network, unsafe +6 1.53 MB casperiv
npm/@swc/cli@0.1.65 environment, filesystem Transitive: network, shell +38 2.41 MB kdy1
npm/@swc/core@1.5.25 environment, filesystem, shell +11 431 MB kdy1
npm/@tanstack/react-table@8.17.3 Transitive: environment +1 4.04 MB tannerlinsley
npm/@tsed/logger@6.7.5 Transitive: environment +1 397 kB romakita
npm/@types/bcrypt@5.0.2 None 0 9.86 kB types
npm/@types/color@3.0.6 None +2 31.5 kB types
npm/@types/command-exists@1.2.3 None 0 3.19 kB types
npm/@types/compression@1.7.5 None 0 10.9 kB types
npm/@types/cookie-parser@1.4.6 None 0 5.38 kB types
npm/@types/cookie@0.5.4 None 0 9.45 kB types
npm/@types/cors@2.8.17 None 0 5.91 kB types
npm/@types/ejs@3.1.5 None 0 16.9 kB types
npm/@types/express@4.17.21 None +9 108 kB types
npm/@types/glob@8.1.0 None +1 19.2 kB types
npm/@types/is-hotkey@0.1.10 None 0 5.68 kB types
npm/@types/jsonwebtoken@9.0.6 None 0 13.5 kB types
npm/@types/leaflet@1.9.12 None +1 121 kB types
npm/@types/lodash.set@4.3.9 None +1 866 kB types
npm/@types/multer@1.4.11 None 0 16.7 kB types
npm/@types/node@20.14.2 None +1 2.16 MB types
npm/@types/nprogress@0.2.3 None 0 4.83 kB types
npm/@types/qrcode@1.5.5 None 0 18.4 kB types
npm/@types/react-dom@18.2.14 None 0 32.7 kB types
npm/@types/react@18.2.34 None +3 1.62 MB types
npm/@types/sharp@0.31.1 None 0 78.7 kB types
npm/@types/sortablejs@1.15.8 None 0 22.9 kB types
npm/@types/uuid@9.0.8 None 0 6.74 kB types
npm/axios@1.7.2 network Transitive: environment, filesystem +6 2.23 MB jasonsaayman
npm/bignumber.js@9.1.2 None 0 351 kB mikemcl
npm/command-exists@1.2.9 filesystem, shell 0 13.6 kB mathisonian
npm/compression@1.7.4 Transitive: environment, filesystem, network +11 415 kB dougwilson
npm/cookie-parser@1.4.6 None +2 34.1 kB dougwilson
npm/cookie@0.6.0 None 0 23.7 kB dougwilson
npm/cors@2.8.5 None +1 28.7 kB dougwilson
npm/discord-api-types@0.37.64 None 0 2.63 MB crawl
npm/ejs@3.1.10 eval, filesystem Transitive: environment, shell +7 1.24 MB mde
npm/express@4.19.2 environment, filesystem, network Transitive: eval, unsafe +46 1.74 MB wesleytodd
npm/hex-color-regex@1.1.0 None 0 22.6 kB tunnckocore
npm/is-hotkey@0.2.0 None 0 20 kB ianstormtaylor
npm/is-ip@3.1.0 None +1 11.8 kB sindresorhus
npm/jsonwebtoken@9.0.2 None +13 201 kB charlesrea
npm/leaflet@1.9.4 None 0 3.74 MB mourner
npm/lodash.set@4.3.2 None 0 28.3 kB jdalton
npm/mdast-util-find-and-replace@3.0.1 None +5 122 kB wooorm
npm/multer@1.4.5-lts.1 filesystem +8 328 kB linusu
npm/mxcn@2.0.0 Transitive: environment +2 929 kB ahmadawais
npm/next-intl@2.22.1 environment +1 164 kB amann
npm/nodemon@3.1.3 environment, filesystem, shell Transitive: network +17 664 kB remy
npm/nookies@2.5.2 None +1 37.6 kB maticzav
npm/nprogress@0.2.0 None 0 31.8 kB rstacruz
npm/otplib@12.0.1 None +5 88.7 kB geraldyeo
npm/pretty-bytes@6.1.1 None 0 11.3 kB sindresorhus
npm/qrcode@1.5.3 filesystem Transitive: environment +21 1.63 MB soldair
npm/react-digit-input@2.1.0 None 0 15.5 kB react-digit-input-bot
npm/react@18.2.0 environment 0 316 kB gnoff
npm/reflect-metadata@0.2.2 None 0 241 kB rbuckton
npm/remark-emoji@4.0.1 None +16 722 kB rhysd
npm/remark-external-links@9.0.1 None +18 386 kB wooorm
npm/remark-gfm@4.0.0 None +61 2.14 MB wooorm
npm/remark-github@12.0.0 None +9 283 kB wooorm
npm/sass@1.77.4 filesystem, unsafe +1 5.9 MB sassbot
npm/sharp@0.33.4 environment Transitive: eval, filesystem, shell +25 181 MB lovell
npm/slate@0.100.0 Transitive: environment +3 2.71 MB ianstormtaylor
npm/socket.io-client@4.7.5 Transitive: filesystem, network, shell +2 2.08 MB darrachequesne
npm/socket.io@4.7.5 filesystem, network Transitive: environment +15 2.16 MB darrachequesne
npm/sortablejs@1.15.2 None 0 556 kB owenm
npm/storage-factory@0.2.1 None 0 4.49 kB michalzalecki
npm/tslib@2.6.2 None 0 84 kB typescript-bot
npm/use-intl@2.22.1 environment +8 2.33 MB amann

🚮 Removed packages: npm/@snailycad/audit-logger@1.79.1, npm/@snailycad/config@1.79.1, npm/@snailycad/permissions@1.79.1, npm/@snailycad/schemas@1.79.1, npm/@snailycad/types@1.79.1, npm/@snailycad/ui@1.79.1, npm/@snailycad/utils@1.79.1, npm/regenerator-runtime@0.14.1, npm/turbo@2.0.3

View full report↗︎

socket-security[bot] commented 1 month ago

🚨 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/esbuild@0.19.12
Install scripts npm/sharp@0.33.4
  • Install script: install
  • Source: node install/check
Install scripts npm/@swc/core@1.5.25
  • Install script: postinstall
  • Source: node postinstall.js
Install scripts npm/@prisma/engines@5.2.0
  • Install script: postinstall
  • Source: node scripts/postinstall.js

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/esbuild@0.19.12
  • @SocketSecurity ignore npm/sharp@0.33.4
  • @SocketSecurity ignore npm/@swc/core@1.5.25
  • @SocketSecurity ignore npm/@prisma/engines@5.2.0