GitHub Pages site fixed six missing security headers via Cloudflare after reader scan
A reader named Amit Feldman flagged that macless.dev, a GitHub Pages site, was missing six key HTTP security headers including HSTS and Content-Security-Policy. Since GitHub Pages does not support custom response headers, the author resolved the issue by routing the domain through Cloudflare and applying a Response Header Transform Rule, bringing the site to a perfect 16/16 score on a header scan. The episode prompted a deeper review of the site's CI pipeline security, given that macless.dev is also a code-signing workflow handling App Store and Google Play credentials. A manual audit of the full git history and every workflow file found no certificates or private keys ever committed, with secrets consistently passed through environment variable blocks rather than interpolated directly into shell commands. The audit also confirmed that no workflow is triggered by pull requests from forks, eliminating a common path for credential exfiltration in public repositories.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in