Code Security
Automatically triggered when running security scans, auditing code for vulnerabilities, checking dependencies for CVEs, reviewing code for security issues, or hardening Python applications. Applies when discussing: security audit, vulnerability scan, bandit, pip-audit, dependency vulnerabilities, OWASP, injection, path traversal, secrets detection, insecure deserialization, auth bypass, or "is this code secure?". Also triggers on: "run security checks", "find vulnerabilities", "security review", "check for CVEs", "audit dependencies", "security lint", "pen test this code", "harden this applica
Install
/plugin marketplace add sam-dumont/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add sam-dumont/claude-skills --skill code-securitygit clone --depth 1 https://github.com/sam-dumont/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/code-security/skills/code-security ~/.claude/skills/code-securityPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Python Code Security Skill This skill combines **static analysis tools** with **LLM-powered dynamic analysis** to provide comprehensive security coverage. Static tools catch known patterns; Claude reasons about logic flaws, business rule bypasses, and context-dependent vulnerabilities that no static tool can detect. ## Two-Layer Security Model ``` ┌─────────────────────────────────────────────────────────┐ │ Layer 1: Static Analysis (Automated) │ │ Bandit · pip-audit · ruff S-rules · secrets detection │ │ → Known vulnerability patterns, CVEs, exposed secrets │ ├─────────────────────────────────────────────────────────┤ │ Layer 2: LLM Dynamic Analysis (Claude) │ │ Code path reasoning · business logic review │ │ → Logic flaws, auth bypasses, race conditions, │ │ context-dependent vulnerabilities │ └─────────────────────────────────────────────────────────┘ ``` --- ## Layer 1: Static Analysis Tools ### Tool Stack | Tool | Purpose | Invocation | |------|---------|------------| | **Bandit** | Python-specific security linter (SAST) | `uvx bandit -r src/` | | **pip-audit** | Dependency CVE scanner | `uvx pip-audit` | | **ruff S-rules** | Bandit rules integrated in ruff | `uv run ruff check --select S src/` | | **detect-secrets** | Secrets/credentials in source code | `uvx detect-secrets scan` | | **safety** | Alternative dependency vulnerability check | `uvx safety check` |
Details
- Skill name
code-security- Repository
- sam-dumont/claude-skills
- Path
plugins/code-security/skills/code-security/SKILL.md- License
- MIT
- Repo updated
- 3 November 2026
FAQ
What does the Code Security skill do?
Automatically triggered when running security scans, auditing code for vulnerabilities, checking dependencies for CVEs, reviewing code for security issues, or hardening Python applications. Applies when discussing: security audit, vulnerability scan, bandit, pip-audit, dependency vulnerabilities, OWASP, injection, path traversal, secrets detection, insecure deserialization, auth bypass, or "is this code secure?". Also triggers on: "run security checks", "find vulnerabilities", "security review", "check for CVEs", "audit dependencies", "security lint", "pen test this code", "harden this applica
How do I install the Code Security skill?
Claude Code plugin: /plugin marketplace add sam-dumont/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Code Security popular?
It lives in sam-dumont/claude-skills, which has 38 GitHub stars and 4 forks.
Related skills
Advanced Code Quality
38sam-dumont/claude-skills
Use when going beyond basic linting to enforce advanced Python code quality gates. Triggers on: cognitive complexity, code duplication detection, architectural enforcement, import boundaries, dependency hygiene, test quality beyond coverage, mutation testing, docstring coverage, type coverage, AI-generated code detection, AI slop detection, complexipy, jscpd, import-linter, deptry, diff-cover, mutmut, interrogate, sloppylint, refurb, pylint design checks, wily, radon maintainability, pytestarch, griffe, "bulletproof Python", "tighten quality gates", "advanced quality checks", "beyond ruff and
Code Quality
38sam-dumont/claude-skills
Automatically triggered when setting up Python code quality tooling, configuring linters, adding type checking, improving code standards, running code quality checks, setting up pre-commit hooks, or auditing Python code for quality issues. Applies when discussing: ruff setup, mypy configuration, code formatting, linting rules, cyclomatic complexity, dead code detection, file length limits, pre-commit hooks, Makefile targets for quality, uv-based workflows, pyproject.toml configuration, or "check my code quality". Also triggers on: "set up linting", "add type checking", "configure ruff", "forma
Outcome Engineering
38sam-dumont/claude-skills
Use when starting significant features, evaluating build-vs-buy decisions, reframing failed approaches, or when the user mentions "outcome engineering", "o16g", "outcome-first", "what's the outcome", or "frame this as an outcome". Also use proactively when a task description focuses on implementation ("build X", "add Y") without defining the desired outcome or verification criteria.
Fedramp
33scytale-labs/GRC-Claude-Skills
Use when the user asks about FedRAMP — the US government cloud authorization program, impact levels (Low/Moderate/High/LI-SaaS), NIST SP 800-53 control baselines, the System Security Plan (SSP), 3PAO assessment, JAB vs Agency authorization paths, the FedRAMP Marketplace, the ATO (Authority to Operate), or continuous monitoring obligations. For cloud service providers selling to US federal agencies.
Brain Search
43inite-ai/inite-brain-service
Semantic search over the INITE Brain knowledge graph via the search_knowledge MCP tool. Use when the user wants to find facts, entities, or evidence about people/companies/objects in their tenant, especially when the question is fuzzy or natural-language. Supports bitemporal "as of" queries.
Iso 27001
33scytale-labs/GRC-Claude-Skills
Use when the user asks about ISO/IEC 27001 — Information Security Management System (ISMS), Statement of Applicability, the 93 Annex A controls (2022 revision), risk assessment and treatment, Stage 1/Stage 2 certification audits, surveillance audits, or cross-walks with SOC 2, HIPAA, or GDPR. For organizations seeking certification globally.
Browse the most popular Claude skills, all security skills, or write your own with the skills generator.