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
56 stars 5 forks source link

security: fix for major vulnerabilities #45

Closed castarco closed 7 months ago

castarco commented 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/@biomejs/biome@1.6.3 shell 0 130 kB dominionl
npm/@types/node@20.11.30 None +1 2.09 MB types
npm/@vitest/coverage-v8@1.4.0 Transitive: environment, filesystem, unsafe +25 1.66 MB vitestbot
npm/astro@4.5.10 Transitive: environment, eval, filesystem, network, shell, unsafe +365 58 MB fredkschott
npm/publint@0.2.7 Transitive: environment, filesystem +12 302 kB bluwy
npm/typescript@5.4.3 None 0 32.4 MB typescript-bot

🚮 Removed packages: npm/astro@4.5.9

View full report↗︎

socket-security[bot] commented 7 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/@biomejs/biome@1.6.3

View full report↗︎

Next steps

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

castarco commented 7 months ago

@SocketSecurity ignore npm/@biomejs/biome@1.6.3