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

fix: csp headers generation #79

Merged
merged 2 commits into from
Apr 29, 2024
Merged

fix: csp headers generation #79

merged 2 commits into from
Apr 29, 2024

Conversation

castarco
Copy link
Contributor

@castarco castarco commented Apr 29, 2024

Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
Copy link

socket-security bot commented Apr 29, 2024

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

Package New capabilities Transitives Size Publisher
npm/astro-sst@2.41.5 None +1 102 kB fanjie
npm/astro@4.7.0 Transitive: environment, eval, filesystem, network, shell +247 36.5 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/vite@5.2.10 environment, eval, filesystem, network, shell, unsafe +24 51 MB vitebot
npm/vitest@1.5.2 environment, eval Transitive: filesystem, shell, unsafe +52 4.96 MB vitestbot

🚮 Removed packages: npm/astro@4.5.10

View full report↗︎

Copy link

socket-security bot commented Apr 29, 2024

👍 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/sharp@0.33.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
Copy link
Contributor Author

@SocketSecurity ignore npm/sharp@0.33.3

Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
@castarco castarco merged commit 3a4882b into main Apr 29, 2024
6 checks passed
@castarco castarco deleted the fix-csp-headers-generation branch April 29, 2024 09:41
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.

simplify CSP directive generation
1 participant