- Home
- Skills
- Security & Compliance
- Security Headers CSP Auditor
Works with the AI tools you already use
Security Headers CSP Auditor
Audit HTTP security headers and CSP strings for misconfigurations, weak values, and dangerous CORS patterns.
Free
See it in action
You say
I just ran curl -I on my site and got these headers. Is this CSP actually protecting me or is it just fluff? [pasted headers containing CSP with unsafe-inline and missing HttpOnly on cookies]
Your agent does
Your CSP is currently ineffective against XSS because it includes 'unsafe-inline' in script-src. I recommend implementing a nonce-based policy. Also, your session cookie lacks the HttpOnly flag, meaning a successful XSS could steal the session token. Fix these two first.
About this skill
The problem
Security headers are often present but misconfigured, providing a false sense of security while leaving sites vulnerable to XSS, clickjacking, and session hijacking. Manually auditing complex CSP strings and CORS configurations is error-prone and time-consuming.
What it does
- Analyzes raw HTTP response headers for missing or weak security configurations.
- Performs deep directive-by-directive audits of Content-Security-Policy (CSP) to flag bypasses like
unsafe-inlineor over-broad wildcards. - Identifies dangerous CORS patterns, specifically the origin-reflection plus credentials trap.
- Audits
Set-Cookieflags for session protection, includingHttpOnly,Secure, andSameSite. - Prioritizes findings based on exploitability, moving beyond simple presence-checks to evaluate actual value effectiveness.
Why this beats prompting it yourself
General-purpose LLMs often report a header as "safe" just because the key exists. This skill uses specific logic to detect subtle CSP bypasses and invalid CORS combinations that standard prompts miss. It provides exact syntax for nonce-based or hash-based remediations rather than generic advice.
Use cases
- Auditing a production site by pasting raw headers from browser DevTools.
- Hardening CSP for an application that currently uses
unsafe-inline. - Verifying session cookie security flags during a security review.
- Debugging CORS errors that might be masking serious misconfigurations.
Known limitations
Requires raw header data or curl output to be provided by the user, as it cannot directly fetch headers from a URL. Focused on HTTP response-level security, not application-layer logic vulnerabilities.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean today
- Free to download with an account