cors-auditor
Audit a site's Cross-Origin Resource Sharing (CORS) configuration for misconfigurations — wildcard origin with credentials, reflected arbitrary Origin, the…
Audit a website's HTTP security headers and cookie flags — CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP/COEP, version-leaking banners, and Secure/HttpOnly/SameSite cookies. Use when the user asks to "check my site's security
$ npx -y skills add NovaCode37/claude-security-skills --skill http-sec-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/http-sec-auditContext preview
The summary Claude sees to decide when to auto-load this skill.
Audit a website's HTTP security headers and cookie flags — CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP/COEP, version-leaking banners, and Secure/HttpOnly/SameSite cookies. Use when the user asks to "check my site's security
name: http-sec-audit description: >- Audit a website's HTTP security headers and cookie flags — CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP/COEP, version-leaking banners, and Secure/HttpOnly/SameSite cookies. Use when the user asks to "check my site's security headers", "audit HTTP headers", "is my CSP/HSTS configured right", or "scan a URL for header misconfigs". license: MIT
Checks a site's response headers against modern web-security best practices and returns prioritized findings with concrete fixes. The analysis core is pure and offline-testable; live scanning uses only Python's stdlib `urllib`.
without `Secure`).
# Live scan python skills/http-sec-audit/audit.py https://example.com # JSON output python skills/http-sec-audit/audit.py https://example.com --json # Offline: audit a saved raw header block (no network) python skills/http-sec-audit/audit.py --headers-file response_headers.txt # Only fail CI on high/critical (a missing Permissions-Policy is LOW and # shows up on almost every site) python skills/http-sec-audit/audit.py https://example.com --min-severity high
**Exit codes:** `0` clean · `1` findings reported · `2` fetch/usage error. Every reported finding fails the build; raise `--min-severity` to filter advisory findings out of both the report and the exit code.
1. Run the audit (live, or offline against captured headers). 2. Group findings by severity and present each with its one-line fix. 3. Offer ready-to-paste header snippets for the user's stack (nginx, Apache, Express, etc.) for the missing headers. 4. Only scan sites the user owns or is authorized to test.
Security skills for Claude Code. Install them once and ask Claude, in plain language, to scan a repo for leaked secrets, review Python code, red-team an LLM for prompt injection, or audit HTTP headers, JWTs, Dockerfiles, CORS, and dependencies.
Audit a site's Cross-Origin Resource Sharing (CORS) configuration for misconfigurations — wildcard origin with credentials, reflected arbitrary Origin, the…
Audit project dependencies for known-vulnerable versions and risky pinning. Parses requirements.txt and package.json, matches a bundled offline advisory DB,…
Scan a Dockerfile for insecure build patterns — running as root, unpinned or :latest base images, ADD from remote URLs, piping curl/wget into a shell,…
Decode and security-audit a JSON Web Token — flag alg=none, missing/excessive expiry, symmetric-alg confusion risk, missing claims — and attempt an offline…
Red-team an LLM application against prompt injection and jailbreaks using a curated, categorized payload library and canary-based detection, then produce a…
Static security analysis for Python source via AST walking — finds command injection, insecure deserialization, eval/exec, weak crypto, SQL injection, disabled…