Auditing Python Security
Audits Python libraries for security vulnerabilities using Bandit, pip-audit, Semgrep, and detect-secrets. Identifies SQL injection, command injection, hardcoded credentials, secrets exposed through tracebacks, weak cryptography, and insecure deserialization. Use when reviewing library security, setting up security scanning in CI, or implementing secure coding patterns.
Install
/plugin marketplace add wdm0006/python-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add wdm0006/python-skills --skill auditing-python-securitygit clone --depth 1 https://github.com/wdm0006/python-skills.git /tmp/python-skills
mkdir -p ~/.claude/skills
cp -r /tmp/python-skills/skills/python/security-audit ~/.claude/skills/auditing-python-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 Security Auditing ## Quick Start ```bash # Run all four scanners (gates CI): exit 1 on a blocking finding, exit 2 when a # requested scanner could not run, exit 0 only when every scanner ran clean: uv run python scripts/security_scan.py . # Tolerate scanners that are missing or hung (restores exit 0 in that case): uv run python scripts/security_scan.py . --allow-scanner-failure # Or individually: uvx bandit -r src/ -ll # High-severity static analysis uvx pip-audit . # This project's dependencies uvx semgrep --config auto src/ # Pattern-based SAST uvx detect-secrets scan > .secrets.baseline # Secrets detection ``` ## Tool Configuration **Bandit (.bandit):** ```yaml exclude_dirs: [tests/, docs/, .venv/] skips: [B101] # assert_used - OK in tests ``` **pip-audit:** ```bash uvx pip-audit -r requirements.txt # Scan requirements uvx pip-audit --fix # Auto-fix vulnerabilities ``` ## Common Vulnerabilities | Issue | Bandit ID | Fix | |-------|-----------|-----| | SQL injection | B608 | Use parameterized queries | | Command injection | B602 | subprocess without shell=True | | Hardcoded secrets | B105, B106 | Environment variables | | Weak crypto | B303 | Use SHA-256+, bcrypt for passwords | | Pickle untrusted data | B301 | Use JSON instead | | Path traversal | B108 | Validate with Path.resolve() | ## Secure Patterns
Details
- Skill name
auditing-python-security- Repository
- wdm0006/python-skills
- Path
skills/python/security-audit/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Auditing Python Security skill do?
Audits Python libraries for security vulnerabilities using Bandit, pip-audit, Semgrep, and detect-secrets. Identifies SQL injection, command injection, hardcoded credentials, secrets exposed through tracebacks, weak cryptography, and insecure deserialization. Use when reviewing library security, setting up security scanning in CI, or implementing secure coding patterns.
How do I install the Auditing Python Security skill?
Claude Code plugin: /plugin marketplace add wdm0006/python-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Auditing Python Security popular?
It lives in wdm0006/python-skills, which has 115 GitHub stars and 18 forks.
Related skills
Building Accessible Interfaces
115wdm0006/python-skills
Makes web and app UIs usable by keyboard, screen-reader, low-vision and motion-sensitive users — semantic HTML before ARIA, labelled controls, visible focus, WCAG AA contrast measured rather than eyeballed, touch targets, reduced motion, and automated axe checks plus a manual keyboard pass in CI or before every UI PR. Use when building or restyling a screen, adding a form, modal, menu or custom control, choosing colors, or reviewing a UI change.
Building Browser Extensions
115wdm0006/python-skills
Builds and tests Manifest V3 browser extensions — service-worker message channels that survive teardown, chrome.storage read-modify-write safety, settings validation in the popup, and a Jest chrome mock that can actually fail. Use when writing or reviewing a background service worker, a popup that reads/writes chrome.storage, an extension's Jest suite, or debugging an extension whose UI silently stops responding.
Building Go Projects
115wdm0006/python-skills
Sets up and maintains Go projects with a CI gate that actually gates — module-path correctness, golangci-lint config that matches the installed major version, deterministic gofmt, a pinned toolchain, and meaningful test/lint jobs. Use when creating a Go module, wiring GitHub Actions for Go, debugging a golangci-lint or gofmt CI failure on an unrelated PR, or reviewing a Go CLI that shells out to git/gh.
Ctf Kit
80KerberosClaw/kc_ai_skills
Use when the user is solving an authorized CTF / lab reverse-engineering challenge focused on Windows application authentication or license-check bypass. Guides triage → static analysis → dynamic experiment planning → bypass verification, with strong evidence discipline and VM safety boundaries. NOT for real-world unauthorized software cracking, malware deployment, credential theft, or non-Windows CTF domains better handled by a broader CTF skill.
B2 Cloud Storage
44backblaze-labs/claude-skill-b2-cloud-storage
Manage Backblaze B2 cloud storage. List files, audit usage, estimate cost, clean up stale data, review security posture, and manage lifecycle rules. Use when the user mentions B2, Backblaze, object storage buckets, or storage cleanup.
Owasp Mobile Security Checker
68Harishwarrior/flutter-claude-skills
Use when performing security audits, vulnerability assessments, or compliance checks on Flutter or mobile applications. Covers OWASP Mobile Top 10 (2024) — hardcoded secrets (M1), insecure storage (M9), weak cryptography (M10), network issues (M5), and 6 more categories with automated scanners and remediation guidance.
Browse the most popular Claude skills, all security skills, or write your own with the skills generator.