Agent skill

Sast Bandit

by AgentSecOps in AgentSecOps/SecOpsAgentKit

Python security vulnerability detection using Bandit SAST with CWE and OWASP mapping.

Custom licenceAuto-check passedSecurity

Install Sast Bandit

skills CLI
$ npx skills add AgentSecOps/SecOpsAgentKit --skill sast-bandit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AgentSecOps/SecOpsAgentKit sast-bandit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AgentSecOps/SecOpsAgentKit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/appsec/sast-bandit .claude/skills/sast-bandit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sast-bandit
GitHub stars
220
Used in
1 other repo
Token cost
~2.6k tokens
SKILL.md length
802 words
Files
6 (incl. references, assets)
Skills in repo
24
Repo updated
First seen
Licence
Custom licence

At a glance

Python security vulnerability detection using Bandit SAST with CWE and OWASP mapping.

  • Works in 6 steps: Install and Configure Bandit → Execute Security Scan → Analyze Results → …
  • Scanning Python code for security vulnerabilities and anti-patterns
  • SKILL.md covers Overview, Quick Start, Core Workflow and Security Considerations, plus 5 more sections
  • Calls pip and git; reaches github.com

What it does

Sast Bandit is an agent skill from AgentSecOps/SecOpsAgentKit. Python security vulnerability detection using Bandit SAST with CWE and OWASP mapping. Use when: (1) Scanning Python code for security vulnerabilities and anti-patterns, (2) Identifying hardcoded secrets, SQL injection, command injection, and insecure APIs, (3) Generating security reports with severity classifications for CI/CD pipelines, (4) Providing remediation guidance with security framework references, (5) Enforcing Python security best practices in development workflows.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files and assets (for example `assets/bandit_config.yaml`, `assets/pre-commit-config.yaml` and `references/cwe_owasp_mapping.md`).

It sits in Security, covering Static analysis and SAST, Web application vulnerabilities and Secrets management. It works with Python. The repository describes itself as: Security operations toolkit for AI coding agents. Give Claude Code 25+ skills to catch vulnerabilities, scan containers, detect secrets, and enforce policies automatically.

When your agent uses it

  • Scanning Python code for security vulnerabilities and anti-patterns
  • Identifying hardcoded secrets
  • Command injection
  • Generating security reports with severity classifications for CI/CD pipelines

Example prompts

  • “/sast-bandit”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Install and Configure Bandit
  2. Execute Security Scan
  3. Analyze Results
  4. Prioritize Findings
  5. Remediate Vulnerabilities
  6. Integrate into CI/CD

What it can do on your machine

Read from SKILL.md and the folder at commit 6e25a4b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    Also links to:

    • bandit.readthedocs.io
    • owasp.org
    • cwe.mitre.org
    • python.readthedocs.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sast Bandit loads about 2.6k tokens when it runs, and up to ~8.7k if it reads all its reference files. Until then it costs about 123 tokens; SKILL.md has 802 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~123
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 802 words (~2,594 tokens).

“Bandit is a security-focused static analysis tool for Python that identifies common security vulnerabilities and coding anti-patterns. It parses Python code into Abstract Syntax Trees (AST) and executes security plugins to detect issues like hardcoded credentials, SQL injection, command injection…”

— opening of SKILL.md by AgentSecOps, Custom licence
name
sast-bandit
version
0.1.0
maintainer
SirAppSec
category
appsec
tags
sast, bandit, python, vulnerability-scanning, owasp, cwe, security-linting
frameworks
OWASP, CWE
dependencies.python
>=3.8
dependencies.packages
bandit
references
https://github.com/PyCQA/bandit, https://bandit.readthedocs.io/, https://owasp.org/www-project-top-ten/

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references, assets) in skills/appsec/sast-bandit of AgentSecOps/SecOpsAgentKit.

  • SKILL.md
  • assets/.gitkeep
  • assets/bandit_config.yaml
  • assets/pre-commit-config.yaml
  • references/cwe_owasp_mapping.md
  • references/remediation_guide.md

Open the folder on GitHubat commit 6e25a4b

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in AgentSecOps/SecOpsAgentKit, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Sast Bandit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sast Bandit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sast Bandit this skillAgentSecOps/SecOpsAgentKit2201 repos~2.6kAutomated safety check: PassCustom licence
Security Auditoreigent-ai/eigent15k—~1.8kAutomated safety check: NotesApache-2.0
Cyber NeoHainrixz/cyber-neo283—~5.9kAutomated safety check: WarnMIT
Security Reviewgithub/awesome-copilot40k1 repos~2.3kAutomated safety check: NotesMIT
Golang Securityunxed/f42412 repos~3.6kAutomated safety check: PassMIT
Implementing Devsecops Security Scanningmukul975/Anthropic-Cybersecurity-Skills34k—~3.1kAutomated safety check: PassApache-2.0

Similar skills

  • Security Auditor

    eigent-ai/eigent

    Audits source code, dependencies and config files for vulnerabilities and hardcoded secrets, using two bundled Python scanners and an OWASP Top 10 checklist.

    15k GitHub stars~1.8k tokensUpdated today
    SecurityAuto-check: notes
  • Cyber Neo

    Hainrixz/cyber-neo

    Comprehensive cybersecurity analysis for any local project. An agent skill from Hainrixz/cyber-neo.

    283 GitHub stars~5.9k tokensUpdated 2 mo ago
    SecurityAuto-check: warnings
  • Security Review

    github/awesome-copilot

    Official

    AI-powered codebase security scanner that reasons about code like a security researcher — tracing data flows, understanding component interactions, and catching vulnerabilities that pattern-matching…

    40k GitHub starsUsed in 1 repo~2.3k tokens
    SecurityAuto-check: notes
  • Security best practices and vulnerability prevention for Golang — injection (SQL, command, XSS), cryptography, path traversal, SSRF and HTTP security headers, cookies, secrets management, memory…

    241 GitHub starsUsed in 2 repos~3.6k tokens
    SecurityAuto-check passed
  • Implementing Devsecops Security Scanning

    mukul975/Anthropic-Cybersecurity-Skills

    Integrates SAST, DAST, and SCA into CI/CD pipelines using Semgrep for SAST, Trivy for SCA and container scanning, OWASP ZAP for DAST, and Gitleaks for secrets detection.

    34k GitHub stars~3.1k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Security Scan

    ericrisco/rsc-harness

    A skill your agent uses when automated scanners drive a security sweep of a repo or app — SAST, dependency/lockfile CVEs, secrets in the tree or git history, IaC misconfig — and the raw output has…

    174 GitHub stars~2.8k tokensUpdated yesterday
    SecurityAuto-check: notes

More from AgentSecOps/SecOpsAgentKit

All 24 skills in this repo
  • Sast Semgrep

    AgentSecOps/SecOpsAgentKit

    Static application security testing (SAST) using Semgrep for vulnerability detection, security code review, and secure coding guidance with OWASP and CWE framework mapping.

    220 GitHub starsUsed in 2 repos~2.4k tokens
    Auto-check passed
  • Secrets Gitleaks

    AgentSecOps/SecOpsAgentKit

    Hardcoded secret detection and prevention in git repositories and codebases using Gitleaks.

    220 GitHub starsUsed in 2 repos~4.1k tokens
    Auto-check passed
  • DefectDojo Vulnerability Management

    AgentSecOps/SecOpsAgentKit

    Aggregates scanner results into DefectDojo, deduplicates findings, tracks remediation SLAs and prepares compliance reports across products and pipelines.

    220 GitHub stars~2.3k tokensUpdated 5 mo ago
    Auto-check passed
  • TShark Traffic Analysis

    AgentSecOps/SecOpsAgentKit

    Guides authorized packet capture and analysis with TShark, Wireshark's command-line tool, for security investigations, malware detection and forensic examination of network traffic.

    220 GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check: notes
  • Container Scanning with Grype

    AgentSecOps/SecOpsAgentKit

    Scans container images, filesystems and SBOMs with Grype for known vulnerabilities, ranks them by CVSS, EPSS and CISA KEV, and wires scans into CI/CD thresholds.

    220 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Hadolint Dockerfile Security Linting

    AgentSecOps/SecOpsAgentKit

    Lints Dockerfiles with Hadolint for security misconfigurations and best-practice violations, locally and in CI, with strict, balanced and permissive rule templates.

    220 GitHub starsUsed in 1 repo~4.4k tokens
    Auto-check passed

Works with

Categories

Questions about Sast Bandit

What does Sast Bandit do?

Python security vulnerability detection using Bandit SAST with CWE and OWASP mapping. Sast Bandit is an agent skill from AgentSecOps/SecOpsAgentKit. Python security vulnerability detection using Bandit SAST with CWE and OWASP mapping.

When should I use Sast Bandit?

Sast Bandit fits situations like: scanning Python code for security vulnerabilities and anti-patterns; identifying hardcoded secrets; command injection; generating security reports with severity classifications for CI/CD pipelines.

How do I install Sast Bandit in Claude Code?

Run `npx skills add AgentSecOps/SecOpsAgentKit --skill sast-bandit -a claude-code`. Or copy the skill folder (skills/appsec/sast-bandit in AgentSecOps/SecOpsAgentKit) into .claude/skills/sast-bandit in your project. Claude Code loads it when a task matches its description.

How do I install Sast Bandit in Codex?

Run `npx skills add AgentSecOps/SecOpsAgentKit --skill sast-bandit -a codex`. Or copy the skill folder (skills/appsec/sast-bandit in AgentSecOps/SecOpsAgentKit) into .agents/skills/sast-bandit in your project. Codex loads it when a task matches its description.

Can I use Sast Bandit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AgentSecOps/SecOpsAgentKit --skill sast-bandit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sast-bandit, .gemini/skills/sast-bandit, .github/skills/sast-bandit and .opencode/skills/sast-bandit in your project.

What does Sast Bandit need to run?

Going by SKILL.md and its folder, Sast Bandit needs the command-line tools its instructions call (pip and git). Our summary lists: Python 3.

Does Sast Bandit access the network?

SKILL.md names 5 domains. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. As links in the text: bandit.readthedocs.io, owasp.org, cwe.mitre.org and python.readthedocs.io. This is read from the text; nothing was executed.

Is Sast Bandit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sast Bandit use?

Sast Bandit has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Sast Bandit use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.1k tokens, read only when the agent opens those files.

What are the alternatives to Sast Bandit?

Skills that share tags, products or a category with Sast Bandit: Security Auditor (eigent-ai/eigent, 15k stars), Cyber Neo (Hainrixz/cyber-neo, 283 stars), Security Review (github/awesome-copilot, 40k stars) and Golang Security (unxed/f4, 241 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sast Bandit?

AgentSecOps (a GitHub organization) maintains it in AgentSecOps/SecOpsAgentKit, which has 220 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on April 15, 2026.

Source: AgentSecOps/SecOpsAgentKit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.