Skip to content

security: add CSP headers and hash public key in analytics#57

Open
Cmitchelle7 wants to merge 1 commit into
SmartDropLabs:mainfrom
Cmitchelle7:main
Open

security: add CSP headers and hash public key in analytics#57
Cmitchelle7 wants to merge 1 commit into
SmartDropLabs:mainfrom
Cmitchelle7:main

Conversation

@Cmitchelle7

Copy link
Copy Markdown
  • Add strict Content-Security-Policy via meta tag
  • Restrict connect-src to Stellar endpoints only
  • Hash public key before sending to analytics (PII masking)
  • Add CSP unit test verifying policy values

Closes #36

- Add strict Content-Security-Policy via meta tag
- Restrict connect-src to Stellar endpoints only
- Hash public key before sending to analytics (PII masking)
- Add CSP unit test verifying policy values

Closes SmartDropLabs#36
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.

Add Content Security Policy headers and eliminate inline styles to harden XSS surface

1 participant