← all corpora

bandit-plugins

reference corpus · status live · domain SEC (Security and vulnerabilities) · lane A · refresh pinned · tags GLOBAL · SAST · PYTHON · SECURE-CODING · STATIC-ANALYSIS

What an agent uses it for

An agent writing a Python SAST or secure-coding linter queries this for Bandit's plugin checks (AST patterns for injection, weak crypto, insecure deserialization, hardcoded secrets).

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/bandit-plugins.json
xerj corpus add --from ./bandit-plugins.json
xerj corpus index bandit-plugins then xerj code bandit-plugins "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "bandit-plugins", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
bandit 68ebe11ef792Apache-2.0 4.8 MB / 298 files licence host-verified (ok-spdx): Apache-2.0

4.8 MB across 298 files. Added 2026-10-13.

Rights

Apache-2.0. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.