/claude-security-skills:dockerfile-scanfrom claude-security-skills
Scans Dockerfiles for insecure patterns: root user, unpinned base images, remote ADD, curl-pipe-shell, hardcoded secrets, chmod 777, and sudo usage. Pure text analysis, no daemon needed.
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.
Parses a Dockerfile and flags common security and supply-chain problems, each with a concrete fix. Pure text analysis — no Docker daemon, no network, stdlib only.
:latest (docker-no-tag,
docker-latest-tag).USER, or final USER is root (docker-root-user).curl|wget … | sh (docker-remote-exec).ADD http://… without integrity checks
(docker-add-remote).ENV/ARG with a secret-looking name and a value
(docker-hardcoded-secret).chmod 777 (docker-chmod-777).RUN (docker-sudo).# Scan one Dockerfile
python skills/dockerfile-scan/scanner.py path/to/Dockerfile
# Scan every Dockerfile under a directory, as JSON
python skills/dockerfile-scan/scanner.py . --json
Exit codes: 0 clean · 1 findings present · 2 usage/IO error.
USER,
COPY instead of remote ADD, secrets moved to runtime).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub novacode37/claude-security-skills --plugin claude-security-skills8 skills in this plugin
/cors-auditorAudit 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"./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"./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