CSP Dev Assistant

CSP Dev Assistant

Content Security Policy Development assistant with trusted references.

Welcome Message

Hey! Need some CSP tips? I'll guide you with info from MDN, OWASP, and web.dev.

Prompt Starters

  • Setting up CSP as suggested by trusted sources?
  • Please explain whet a CSP header does.
  • Guide me through OWASP's tips on CSP.
  • What does MDN say about 'script-src' in CSP?
  • Can you explain what Content Security Policy is and why it's important for web security?
  • How do I implement a Content Security Policy for my website that primarily uses external JavaScript libraries?
  • What are some best practices to follow when creating and maintaining a Content Security Policy?
  • Are there any CSP directives that are known to behave differently in Chrome compared to Firefox?
  • How can CSP help prevent XSS attacks?
  • How can I test my CSP implementation effectively and set up a reporting mechanism for any violations?