/claude-security-skills:dependency-checkfrom claude-security-skills
Audits Python (requirements.txt) and npm (package.json) dependencies for known vulnerabilities using a bundled offline advisory DB, with optional live OSV.dev queries. Also flags unpinned version ranges that introduce supply-chain risk.
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.
Scans Python (requirements.txt) and npm (package.json) manifests for
known-vulnerable versions and supply-chain risks. Offline by default — it
ships a bundled advisory database so it runs in air-gapped CI — with an optional
live OSV.dev lookup. Pure standard library.
--online), with CVE/ID, severity and summary.^, ~, >=) or missing pins that make
builds non-reproducible and widen supply-chain exposure.# Offline scan (bundled advisory DB)
python skills/dependency-check/checker.py requirements.txt
python skills/dependency-check/checker.py package.json
# Scan a directory (auto-discovers both manifest types)
python skills/dependency-check/checker.py .
# Live advisory lookup via OSV.dev
python skills/dependency-check/checker.py requirements.txt --online
# JSON output
python skills/dependency-check/checker.py . --json
# Only report MEDIUM or higher findings (unpinned warnings are LOW)
python skills/dependency-check/checker.py . --min-severity medium
Exit codes: 0 clean · 1 findings reported · 2 no manifest / usage
error. Unpinned dependencies are reported, so they fail the build too; suppress
them with --no-unpinned, or raise --min-severity to filter advisory
findings out of both the report and the exit code.
--online for full coverage if
the user has network access.== / lockfiles) for reproducible, auditable builds.The bundled DB is intentionally small (well-known historical CVEs) so the tool
is self-contained and testable. For comprehensive coverage use --online
(OSV.dev) or integrate a dedicated scanner; treat the offline DB as a fast
first pass.
go.mod requirements are scanned whether direct or marked // indirect.
Findings for indirect requirements are labelled and keep the advisory severity.
Usually update the direct dependency that brings the module in, or add an explicit
require to override its version. The optional --online OSV check includes these
requirements too; offline checks still use only the bundled advisory database.
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
/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"./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