Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By danielmiesslerv1.0.0MITIn 1 marketplace
Checks a site's HTTP response headers for missing or weak security settings and suggests fixes for CSP, HSTS and frame options. It is a fork of jeremylongshore/tons-of-skills-marketplace.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Analyze and validate HTTP security headers to protect against common web vulnerabilities.
/plugin install security-headers-analyzer@claude-code-plugins-plus
/analyze-headers
# Or shortcut
/headers
Content-Security-Policy (CSP)
default-src 'self'; script-src 'self' 'nonce-{random}'Strict-Transport-Security (HSTS)
max-age=31536000; includeSubDomains; preloadX-Frame-Options
DENY or SAMEORIGINX-Content-Type-Options
nosniffX-XSS-Protection
1; mode=blockReferrer-Policy
strict-origin-when-cross-originPermissions-Policy
geolocation=(), microphone=(), camera=()SECURITY HEADERS ANALYSIS
=========================
Domain: https://example.com
Grade: C (Needs Improvement)
Score: 65/100
HEADER STATUS
-------------
Content-Security-Policy: PRESENT (Good)
Strict-Transport-Security: MISSING (Critical)
X-Frame-Options: PRESENT (Weak)
X-Content-Type-Options: PRESENT (Good)
Referrer-Policy: MISSING (Medium)
Permissions-Policy: MISSING (Medium)
CRITICAL ISSUES
---------------
1. Missing HSTS Header
Risk: HIGH
Impact: Susceptible to SSL stripping attacks
Add header:
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Node.js/Express:
app.use((req, res, next) => {
res.setHeader('Strict-Transport-Security',
'max-age=31536000; includeSubDomains; preload');
next();
});
2. Weak X-Frame-Options
Current: SAMEORIGIN
Risk: MEDIUM
Issue: Allows framing from same origin
Recommendation:
X-Frame-Options: DENY
Unless you need iframe embedding, use DENY for maximum protection.
const helmet = require('helmet');
app.use(helmet({
contentSecurityPolicy: {
directives: {
defaultSrc: ["'self'"],
scriptSrc: ["'self'", "'nonce-{random}'"],
styleSrc: ["'self'", "'unsafe-inline'"],
imgSrc: ["'self'", "data:", "https:"],
}
},
hsts: {
maxAge: 31536000,
includeSubDomains: true,
preload: true
},
frameguard: { action: 'deny' },
noSniff: true,
xssFilter: true,
referrerPolicy: { policy: 'strict-origin-when-cross-origin' }
}));
MIT License - See LICENSE file for details
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub danielmiessler/claude-code-plugins-plus --plugin security-headers-analyzerPlugins from other owners that cover similar ground