Security

HTTP security response headers validation

How it Works

The security pillar fetches your URL and checks the HTTP response headers for essential security headers. Missing headers are reported as violations.

Headers Checked

HeaderSeverityPurpose
Content-Security-PolicyseriousPrevents XSS and code injection attacks
Strict-Transport-SecurityseriousEnforces HTTPS connections
X-Frame-OptionsmoderatePrevents clickjacking attacks
Referrer-PolicymoderateControls referrer information leakage
Permissions-PolicymoderateRestricts browser features (camera, mic, geolocation)

Configuration

json
{
"security": {
"minScore": 80,
"ignoreSeverities": ["moderate"]
}
}
The security pillar uses Node.js fetch() directly, not Puppeteer. It follows redirects automatically.