Claude Security Skills

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. Claude picks the right skill, runs
it, and explains what it found.
Everything here runs on the Python standard library: no packages to install,
nothing phoning home. The analysis runs offline; only the few skills that need
to hit a URL use the network, and only when you ask them to.
Python 3.9+, MIT licensed. Other languages: Español · Русский
$ python skills/secret-scanner/engine.py .
[secret-scanner] 2 potential secret(s) found:
CRITICAL src/config.py:14:18
Stripe secret key [stripe-secret] value=sk_l...k1L2 (len=32)
HIGH src/config.py:12:11
AWS Access Key ID [aws-access-key-id] value=AKIA...MPLE (len=20)
Summary: critical=1, high=1
New in 1.4.0: dependency-check reads go.mod, including indirect
requirements, and catches vulnerable prerelease versions; sast-lite flags HTTP
calls that can hang forever without a timeout. The GitHub Action from 1.3.0,
uses: NovaCode37/claude-security-skills@v1, picks all of this up. See the
changelog.
The skills
| Skill | What it does | Engine |
|---|
| secret-scanner | Finds hardcoded API keys, tokens and private keys using vendor patterns plus Shannon-entropy analysis, tuned for few false positives | Custom entropy engine |
| sast-lite | AST-based static analysis for Python: command injection, eval/exec, insecure deserialization, SQLi, weak crypto, disabled TLS, each tagged with a CWE | Python ast walker |
| prompt-injection-tester | Red-teams your own LLM app with a categorized payload library and canary detection, then scores resilience 0-100 | Canary harness |
| http-sec-audit | Checks HTTP security headers and cookie flags (CSP, HSTS, SameSite, …) and gives concrete fixes | urllib + pure core |
| jwt-inspector | Decodes and audits JWTs (alg=none, weak expiry, claim hygiene) and cracks weak HMAC secrets offline | HMAC + checks |
| dependency-check | Flags known-vulnerable and unpinned deps in requirements.txt, package.json and pyproject.toml; offline DB plus optional OSV.dev | Version matcher |
| dockerfile-scan | Catches insecure Dockerfile patterns: running as root, :latest base images, curl | sh, remote ADD, baked-in secrets | Dockerfile parser |
| cors-auditor | Audits CORS config for wildcard-with-credentials, reflected origins, null origin and overly broad methods | Header analyzer |
Each skill is self-contained, has its own tests, and exits non-zero when it
finds something, so it also works as a CI step.
Install
As a plugin, from inside Claude Code:
/plugin marketplace add NovaCode37/claude-security-skills
/plugin install claude-security-skills
All eight skills arrive together and update with the marketplace.
Or with the skills CLI, which installs into Cursor, Codex, Copilot and the
other agents as well as Claude Code:
npx skills add NovaCode37/claude-security-skills
Or copy them in by hand, which works the same way:
git clone https://github.com/NovaCode37/claude-security-skills.git
cp -r claude-security-skills/skills/* .claude/skills/
Use ~/.claude/skills/ instead to have them in every project. Restart Claude
Code and it discovers them from each SKILL.md. There's nothing else to
install either way.
If they end up earning their place in your setup, a star helps the next person
find them. Installing goes through a clone, so a star is the only part anyone
else can see.
Usage
Just ask Claude. For example:
| You say | Claude runs |
|---|
| "Any secrets committed in here?" | secret-scanner |
| "Security-review this Python file." | sast-lite |
| "Is my AI assistant jailbreakable?" | prompt-injection-tester |
| "Check example.com's security headers." | http-sec-audit |
| "Decode and audit this JWT." | jwt-inspector |
| "Are my dependencies vulnerable?" | dependency-check |
| "Review my Dockerfile." | dockerfile-scan |
| "Is my API's CORS safe?" | cors-auditor |