dependency-check
Audit project dependencies for known-vulnerable versions and risky pinning. Parses requirements.txt and package.json, matches a bundled offline advisory DB,…
Audit a site's Cross-Origin Resource Sharing (CORS) configuration for misconfigurations — wildcard origin with credentials, reflected arbitrary Origin, the 'null' origin, overly broad allowed methods, and risky credentialed CORS. Use when the user asks to "check my CORS config",
$ npx -y skills add NovaCode37/claude-security-skills --skill cors-auditor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cors-auditorContext preview
The summary Claude sees to decide when to auto-load this skill.
Audit a site's Cross-Origin Resource Sharing (CORS) configuration for misconfigurations — wildcard origin with credentials, reflected arbitrary Origin, the 'null' origin, overly broad allowed methods, and risky credentialed CORS. Use when the user asks to "check my CORS config",
name: cors-auditor description: >- Audit a site's Cross-Origin Resource Sharing (CORS) configuration for misconfigurations — wildcard origin with credentials, reflected arbitrary Origin, the 'null' origin, overly broad allowed methods, and risky credentialed CORS. Use when the user asks to "check my CORS config", "is my API's CORS safe", "test for CORS misconfiguration", or "why can any site call my API". license: MIT
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-Credentials: true` (`cors-wildcard-credentials`).
(`cors-reflected-origin`); critical when combined with credentials.
(`cors-credentials-enabled`).
# 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.
1. Probe the endpoint (live) or audit captured headers (offline). 2. Explain each finding and why it is exploitable (e.g. reflected origin + credentials = cross-origin data theft). 3. Recommend an explicit origin allowlist and dropping credentials where not needed. 4. Only test APIs 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 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,…
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,…
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…