The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Bawbel Scanner listing page.
The only open-source scanner that produces OWASP AIVSS scores for MCP servers and skill files. Never executes code.
Bawbel never executes your MCP servers.
| Command | Description |
|---|---|
bawbel scan <path> | Scan a skill file or directory for AVE vulnerabilities. Supports --recursive, --format text|json|sarif, --fail-on-severity, --no-ignore, --watch |
bawbel report <path> | Scan a component and show a full remediation guide with fix guidance per finding |
bawbel creds <path> | Focused scan — hardcoded credentials and secret exposure only |
bawbel chain <path> | Focused scan — unsafe agent delegation chains only |
bawbel ssc <url> | Fetch and scan an MCP server-card for AVE vulnerabilities without starting the server |
bawbel scan-server-card <url> | Alias for ssc |
bawbel conform <target> | Score an MCP server manifest against the MCP specification (A+ to F grade) |
bawbel scan-conformance <target> | Alias for conform |
bawbel accept <id> <file> | Mark a finding as a false positive or accepted risk — inserts a justified suppression comment with reviewer and optional expiry |
bawbel pin <path> | Hash skill files and save to .bawbel-pins.json for rug pull detection |
bawbel check-pins <path> | Check skill files for drift against .bawbel-pins.json |
bawbel cp <path> | Alias for check-pins |
bawbel init | Initialise Bawbel Scanner in a project — generates .bawbelignore and bawbel.yml |
bawbel version | Show version and detection engine status |
| Bawbel | Snyk agent-scan | ClawGuard | Cisco DefenseClaw | |
|---|---|---|---|---|
| Executes MCP servers during scan | Never | Yes | No | Sandboxed |
| Open vulnerability database | Yes (48 records, public API) | No | No | No |
| OWASP AIVSS v0.8 scores | Yes | No | No | No |
| Toxic flow detection | Yes (12 chains) | No | No | No |
| Conformance grading (A+ to F) | Yes | No | No | No |
| Git-committed rug pull detection | Yes | Local only | No | No |
| Justified suppression with expiry | Yes | No | No | No |
| License | Apache 2.0 | Apache 2.0 | MIT | Proprietary |
How a scan flows from your file to an AIVSS-scored finding:
Six engines run in parallel. Results merge before toxic flow analysis:
Eight layers run automatically before a finding is reported:
| Layer | Mechanism | FP reduction |
|---|---|---|
| FP-1 | Code fence stripping | ~60% |
| FP-2 | Preceding-line negation context | ~15% |
| FP-3 | Confidence scoring (path, line context) | ~10% |
| FP-4 | LLM meta-analyzer (optional) | ~7% |
| FP-5a | Inline <!-- bawbel-ignore --> | per-line |
| FP-5b | Block suppression | per-section |
| FP-5c | .bawbelignore patterns | per-file |
| FP-6 | Justified suppression with audit trail | per-finding |
Every active finding carries a confidence field (0.0–1.0) that starts from the
AVE-class baseline and is adjusted by FP-2 through FP-4 before appearing in output.
confidence_band() maps it to "high" / "medium" / "low" for human display.
See Evidence Lifecycle for the full pipeline.
See Suppression Guide for full details.
A single fetch() call is a finding. A fetch() that retrieves credentials and then
sends them to an external endpoint is an attack chain — and the two findings together
are far more dangerous than either alone.
Bawbel is the only open-source scanner that detects these toxic flows: compound
attack sequences where two or more findings combine into a higher-severity threat.
After deduplication, every finding is mapped to a capability tag. Bawbel then checks
all pairs against 12 built-in chain definitions and raises a ToxicFlow when a
dangerous combination is found.
The toxic flow AIVSS (9.8) is higher than either individual finding (6.8), because the chain represents a complete, end-to-end exploit — not just a capability.
12 built-in chains:
| Flow | Capabilities required | AIVSS |
|---|---|---|
| Credential Exfiltration | credential-read + data-exfil | 9.8 |
| Remote Code Execution | code-exec + external-fetch | 9.7 |
| Supply Chain RCE | supply-chain + code-exec | 9.6 |
| Goal Override + Execution | goal-hijack + code-exec | 9.5 |
| Lateral Movement + Execution | lateral-movement + code-exec | 9.4 |
| Tool Poisoning + Exfiltration | tool-poison + data-exfil | 9.3 |
| Identity Spoof + Escalation | identity-spoof + privilege-escalation | 9.2 |
| Persistence + Exfiltration | persistence + data-exfil | 9.1 |
| Context Inject + Memory Write | context-inject + memory-write | 8.9 |
| Goal Override + Exfiltration | goal-hijack + data-exfil | 8.8 |
| Scope Expansion + Exfiltration | scope-expansion + data-exfil | 8.7 |
| Covert Channel + Persistence | covert-channel + persistence | 8.6 |
Toxic flow in JSON output:
confidence is min(baseline confidence) across the contributing findings —
the weakest link in the chain. A chain is only as confident as its least certain component.
Adding a new flow requires one entry in scanner/core/toxic_flows/flows.py. No other
files need to change.
pip
Requires Python 3.10+. No other system dependencies for core install.
Docker
| Image | Engines | Best for |
|---|---|---|
bawbel/scanner:latest · 1.3.0 | Pattern | Lightweight CI pipelines |
bawbel/scanner:full · 1.3.0-full | Pattern + YARA | Recommended for most users |
Available build args: WITH_YARA=true, WITH_SEMGREP=true, WITH_LLM=true, WITH_SANDBOX=true, WITH_ALL=true
Example output:
When a finding is legitimate, suppress it with a justification that creates an audit trail.
For accepted risks with an expiry date:
Or use the CLI to insert the comment directly:
Expired accepted risks resurface automatically as active findings on the next scan.
Run a credential-only or delegation-only scan for targeted triage:
Both commands use the same output format as bawbel scan. For a full security
scan use bawbel scan.
Every finding includes an OWASP AIVSS v0.8 score.
AARS is the sum of 10 Agentic Risk Amplification Factors scored per the AVE record for that attack class.
Bawbel Scanner implements AVE (Agentic Vulnerability Enumeration), the behavioral classification standard for agentic AI components.
AVE assigns stable identifiers to distinct attack classes — each with an AIVSS score, a behavioral fingerprint, OWASP MCP Top 10 and MITRE ATLAS mappings, and indicators of compromise. Every finding Bawbel produces maps to an AVE ID so teams using different scanners speak the same language.
| Records | 51 (AVE-2026-00001 → 00051) |
| Schema | v1.0.0 — validates at ave.bawbel.io/schema.html |
| AIVSS | v0.8 — every record scored |
| Crosswalks | OWASP MCP Top 10 · MITRE ATLAS · NIST AI RMF · OWASP AST10 |
Any scanner can emit AVE IDs — see ave.bawbel.io for the implementer guide and record index.
| Engine | What it does | Install |
|---|---|---|
| Pattern | 40+ regex rules mapped to AVE records | Always on |
| YARA | 39 binary and behavioral YARA rules | [yara] |
| Semgrep | 41 structural Semgrep rules | [semgrep] |
| LLM | Semantic analysis of intent and context | [llm] |
| Magika | ML-based content type verification | [all] |
| Sandbox | Dynamic behavioral analysis in Docker | See below |
The sandbox runs your skill file inside an isolated Docker container and watches for malicious behavior at runtime — outbound connections, credential reads, shell injections, and filesystem writes that static rules cannot catch.
Image: hub.docker.com/r/bawbel/sandbox · bawbel/sandbox:latest · bawbel/sandbox:1.2.3
Requirements: Docker Desktop or Docker Engine must be running.
Or add to your .env / bawbel.yml:
BAWBEL_SANDBOX_IMAGE | What happens |
|---|---|
default (recommended) | Checks local Docker cache first. If not found, pulls bawbel/sandbox:latest from Docker Hub once and caches it. Subsequent scans use the cache — no network needed. |
local | Skips Docker Hub entirely. Builds the sandbox image from the bundled Dockerfile inside the package. Use this for air-gapped or offline environments. |
<custom-image> | Uses your own image. Point to any registry: registry.company.com/bawbel/sandbox@sha256:abc123 |
First run with default: Bawbel pulls bawbel/sandbox:latest from Docker Hub automatically (~200MB, one time only). Every scan after that uses the local cache — instant, no network call.
First run with local: Bawbel builds the image from the bundled Dockerfile. Takes ~60 seconds on first run, cached afterwards.
| Category | Examples |
|---|---|
| Network egress | Connections to pastebin.com, rentry.co, ngrok tunnels, webhook capture sites |
| Credential access | Reads of ~/.ssh/, .env, private key files |
| Filesystem writes | Writes to ~/.bashrc, ~/.zshrc, cron directories |
| Process injection | curl|bash, wget|bash, eval(), exec(), unexpected pip install |
Pre-commit:
| ave.bawbel.io | AVE — Agentic Vulnerability Enumeration standard (51 records, schema, crosswalks) |
| api.piranha.bawbel.io | PiranhaDB — public threat intel API |
| aivss.owasp.org | OWASP AIVSS v0.8 scoring standard |
| bawbel.io/docs | Full documentation |
See CONTRIBUTING.md. The most impactful contribution is a new detection rule tied to an AVE record.
Apache License 2.0 - Free forever - Maintained by Bawbel