This project contains the code for a Cloudflare Worker built in Rust that acts as a shared middleware service for my websites.
It provides Content Security Policy definitions, and injects headers for security best practices.
With this service, I'm able to get a perfect score on securityheaders.com when scanning my websites: