/claude-security-skills:cors-auditorfrom claude-security-skills
Audits CORS response headers for misconfigurations including wildcard+credentials, reflected origin, null origin, and overly broad methods. Useful for API security reviews.
Ships in claude-security-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Inspects CORS response headers and reports exploitable misconfigurations with
fixes. The analysis core is pure and offline-testable; live probing uses only
stdlib urllib and sends a throwaway Origin header to detect origin
reflection.
Allow-Origin: * with
Allow-Credentials: true (cors-wildcard-credentials).cors-reflected-origin); critical when combined with credentials.Allow-Origin: null (cors-null-origin).Allow-Origin: * without credentials (cors-wildcard).cors-credentials-enabled).Allow-Methods: * (cors-methods-wildcard).# Live probe (sends a throwaway Origin to test reflection)
python skills/cors-auditor/auditor.py https://api.example.com
# Probe with a specific origin
python skills/cors-auditor/auditor.py https://api.example.com --origin https://evil.example
# Offline: audit a captured header block; pass --origin to test reflection
python skills/cors-auditor/auditor.py --headers-file resp.txt --origin https://evil.example
# Only fail CI on high/critical (hides the medium wildcard + info notes)
python skills/cors-auditor/auditor.py https://api.example.com --min-severity high
Exit codes: 0 clean · 1 findings reported · 2 fetch/usage error.
Every reported finding fails the build. The default reports everything down to
info (including cors-credentials-enabled); raise --min-severity to
low/medium/high to filter advisory notes out of both the report and the
exit code.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub novacode37/claude-security-skills --plugin claude-security-skills8 skills in this plugin
/dependency-checkAudit project dependencies for known-vulnerable versions and risky pinning. Parses requirements.txt and package.json, matches a bundled offline advisory DB, optionally queries OSV.dev live, and warns about unpinned versions. Use when the user asks to "check dependencies for vulnerabilities", "audit my requirements.txt / package.json", "scan for vulnerable packages", or "is my dependency tree secure"./dockerfile-scanScan a Dockerfile for insecure build patterns — running as root, unpinned or :latest base images, ADD from remote URLs, piping curl/wget into a shell, hardcoded secrets in ENV/ARG, world-writable chmod 777, and sudo usage. Use when the user asks to "review my Dockerfile", "is this container image secure", "lint my Dockerfile for security", or "why does my image run as root"./http-sec-auditAudit 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"./jwt-inspectorDecode and security-audit a JSON Web Token — flag alg=none, missing/excessive expiry, symmetric-alg confusion risk, missing claims — and attempt an offline HMAC secret crack against a wordlist to detect weak signing keys. Use when the user asks to "decode this JWT", "is this token secure?", "audit a JWT", or "check if this token uses a weak secret"./prompt-injection-testerRed-team an LLM application against prompt injection and jailbreaks using a curated, categorized payload library and canary-based detection, then produce a resilience score. Use when the user asks to "test my chatbot for prompt injection", "check if my AI app is jailbreakable", "red-team my LLM", "evaluate prompt-injection defenses", or audit a system prompt's guardrails./sast-liteStatic security analysis for Python source via AST walking — finds command injection, insecure deserialization, eval/exec, weak crypto, SQL injection, disabled TLS verification, hardcoded secrets and more, each tagged with a CWE. Use when the user asks to "audit this code for vulnerabilities", "run a SAST scan", "security review this Python file", or before merging untrusted code.Other plugins' skills for the same job