kindspells / astro-shield

Astro integration to enhance your website's security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques.
https://astro-shield.kindspells.dev
MIT License
57 stars 6 forks source link

chore: upgrade deps #78

Closed castarco closed 7 months ago

socket-security[bot] commented 7 months ago

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

Package New capabilities Transitives Size Publisher
npm/astro-sst@2.41.5 Transitive: environment, network, unsafe +2 1.27 MB fanjie
npm/astro@4.7.0 Transitive: environment, eval, filesystem, network, shell +134 29.8 MB fredkschott
npm/publint@0.2.7 Transitive: environment, filesystem +16 318 kB bluwy
npm/sst@3.0.13 None 0 42.2 kB thdxr
npm/typescript@5.4.5 None 0 32.4 MB typescript-bot
npm/vite@5.2.10 environment, eval, filesystem, network, shell, unsafe +7 6.52 MB vitebot
npm/vitest@1.5.2 environment, eval Transitive: filesystem, shell, unsafe +54 4.78 MB vitestbot

🚮 Removed packages: npm/@biomejs/biome@1.6.4, npm/@moonrepo/cli@1.23.4, npm/@vitest/coverage-v8@1.5.0, npm/astro-sst@2.41.4, npm/astro@4.5.10, npm/astro@4.6.1

View full report↗︎

socket-security[bot] commented 7 months 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/sharp@0.33.3
  • Install script: install
  • Source: node install/check

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/sharp@0.33.3