Files
Anthropic-Cybersecurity-Skills/skills/performing-security-headers-audit/references/api-reference.md
T
mukul975 27c6414ca5 Add folder anatomy (scripts/agent.py + references/api-reference.md) for 648 cybersecurity skills
Complete skill folder anatomy across all cybersecurity skills:
- scripts/agent.py: 80-150 line Python agents using real libraries (impacket,
  boto3, azure-mgmt-*, kubernetes, pefile, yara, scapy, shodan, stix2, etc.)
- references/api-reference.md: real API documentation with method signatures
- LICENSE: MIT license for all skill folders
2026-03-10 21:02:12 +01:00

1.7 KiB

API Reference: Security Headers Audit

Security Headers Checked

Header Recommended Value Purpose
Strict-Transport-Security max-age=31536000; includeSubDomains; preload Force HTTPS
Content-Security-Policy script-src 'self' 'nonce-{random}' Restrict resource loading
X-Frame-Options DENY Prevent clickjacking
X-Content-Type-Options nosniff Prevent MIME sniffing
Referrer-Policy strict-origin-when-cross-origin Control referrer leakage
Permissions-Policy camera=(), microphone=(), geolocation=() Restrict browser features
Attribute Description
Secure Only send over HTTPS
HttpOnly Not accessible via JavaScript
SameSite=Strict No cross-site cookie sending
Path=/ Restrict cookie scope

Online Scanners

Tool URL Description
SecurityHeaders.com https://securityheaders.com/ Letter-grade assessment
Mozilla Observatory https://observatory.mozilla.org/ Comprehensive scoring
CSP Evaluator https://csp-evaluator.withgoogle.com/ CSP weakness analysis
Hardenize https://www.hardenize.com/ TLS and header monitoring

Python Libraries

Library Version Purpose
requests >=2.28 Fetch HTTP response headers
re stdlib Parse CSP directives and HSTS values

References