SeattleColleges / nsc-events-nextjs

NSC Events Web Application
MIT License
5 stars 5 forks source link

nsc-events-nextjs_11_557_Update-packages-and-to-node-22.x #558

Open Alzavio opened 4 weeks ago

Alzavio commented 4 weeks ago

Resolves 557.

Learned that in the latest version of React, images in public need to have dynamic paths

socket-security[bot] commented 4 weeks ago

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

Package New capabilities Transitives Size Publisher
npm/@emotion/cache@11.13.1 Transitive: environment +5 440 kB emotion-release-bot
npm/@emotion/react@11.13.0 Transitive: environment, filesystem, unsafe +66 10.9 MB emotion-release-bot
npm/@emotion/styled@11.13.0 Transitive: environment, filesystem, unsafe +65 10.3 MB emotion-release-bot
npm/@mui/icons-material@5.16.7 None +2 19 MB mnajdova
npm/@mui/lab@5.0.0-alpha.173 environment +19 11.4 MB brijeshb42
npm/@mui/material-nextjs@5.16.6 None +2 1.11 MB diegoandai
npm/@mui/material@5.16.7 environment +19 18.3 MB mnajdova
npm/@mui/utils@5.16.6 environment +11 1.56 MB diegoandai
npm/@mui/x-date-pickers@7.12.1 environment +16 9.22 MB jcquintas
npm/@tanstack/react-query@5.51.23 environment +1 3.12 MB tannerlinsley
npm/@testing-library/jest-dom@6.4.8 None +18 2.74 MB testing-library-bot
npm/@testing-library/react@16.0.0 environment Transitive: eval +27 4.04 MB testing-library-bot
npm/@types/bcrypt@5.0.2 None 0 9.86 kB types
npm/@types/jest@29.5.12 Transitive: environment, filesystem, unsafe +47 1.71 MB types
npm/@types/node@22.3.0 None +1 2.19 MB types
npm/@types/react-datepicker@7.0.0 Transitive: environment +14 3.89 MB types
npm/@types/react-dom@18.3.0 None 0 37.8 kB types
npm/@types/react@18.3.3 None +2 1.69 MB types
npm/autoprefixer@10.4.20 environment Transitive: filesystem, shell +10 2.7 MB ai
npm/bcrypt@5.1.1 Transitive: environment, filesystem, network, shell +53 2.22 MB amitosh
npm/date-fns@3.6.0 None 0 22.2 MB kossnocorp
npm/eslint-config-next@14.2.5 unsafe Transitive: environment, eval, filesystem, shell +274 31.4 MB vercel-release-bot
npm/eslint-plugin-testing-library@6.3.0 filesystem Transitive: environment +40 3.87 MB testing-library-bot
npm/eslint@8.0.0 filesystem Transitive: environment, eval, shell, unsafe +86 9.52 MB eslintbot
npm/jest@29.7.0 Transitive: environment, eval, filesystem, network, shell, unsafe +274 19.7 MB simenb
npm/mongoose@8.5.3 Transitive: environment, filesystem, network, shell +19 9.97 MB aaron, rauchg, tjholowaychuk, ...1 more
npm/next@14.2.5 environment, filesystem, network, shell, unsafe +23 1.2 GB vercel-release-bot
npm/postcss@8.4.41 environment, filesystem +3 368 kB ai
npm/react-dom@18.3.1 environment +3 4.63 MB react-bot
npm/react-icons@5.3.0 None 0 85.3 MB kamijin_fanta
npm/react@18.3.1 environment +2 339 kB react-bot
npm/tailwindcss@3.4.10 environment, filesystem Transitive: network, shell, unsafe +102 15 MB adamwathan
npm/ts-jest@29.2.4 environment, filesystem, unsafe Transitive: eval, network, shell +153 16 MB kul
npm/typescript@5.5.4 None 0 21.9 MB typescript-bot

🚮 Removed packages: npm/@emotion/cache@11.11.0, npm/@emotion/react@11.11.3, npm/@emotion/styled@11.11.0, npm/@mui/icons-material@5.15.5, npm/@mui/lab@5.0.0-alpha.165, npm/@mui/material-nextjs@5.15.9, npm/@mui/material@5.15.19, npm/@mui/utils@5.15.14, npm/@mui/x-date-pickers@6.19.4, npm/@tanstack/react-query@5.17.15, npm/@testing-library/jest-dom@6.4.2, npm/@testing-library/react@15.0.2, npm/@types/bcrypt@5.0.0, npm/@types/jest@29.5.3, npm/@types/node@20.3.1, npm/@types/react-datepicker@4.19.5, npm/@types/react-dom@18.2.6, npm/@types/react@18.2.13, npm/autoprefixer@10.4.14, npm/bcrypt@5.1.0, npm/date-fns@2.25.0, npm/eslint-config-next@13.4.7, npm/eslint-plugin-testing-library@6.2.2, npm/eslint@8.43.0, npm/jest@29.6.1, npm/mongoose@7.4.2, npm/next@13.4.7, npm/postcss@8.4.24, npm/react-dom@18.2.0, npm/react-icons@5.2.1, npm/react@18.2.0, npm/tailwindcss@3.3.2, npm/ts-jest@29.1.0, npm/typescript@5.1.3

View full report↗︎

socket-security[bot] commented 4 weeks 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 NoteSourceCI
AI detected potential malware npm/next@14.2.5
  • Notes: The primary concern in the code is the use of vm.runInNewContext to execute file content, which can lead to arbitrary code execution if the file content is not trusted. This warrants a higher risk score. However, there is no evidence of malware or obfuscation in the code.
  • Confidence: 0.60
  • Severity: 0.90
🚫

View full report↗︎

Next steps

What is AI-detected potential malware?

AI has identified this package as malware. This is a strong signal that the package may be malicious.

Given the AI system's identification of this package as malware, extreme caution is advised. It is recommended to avoid downloading or installing this package until the threat is confirmed or flagged as a false positive.

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/next@14.2.5
bcko commented 4 weeks ago

@Alzavio please fix 2 failing checks