
Bawbel Scanner
io.github.bawbelPublished by GitHub account bawbelv1.1.1Updated Oct 24, 2026
Security scanner for MCP servers and skill files. Detects AVE vulnerabilities before production.
Overview
Scans MCP servers and skill files for agentic security vulnerabilities, producing OWASP AIVSS scores and toxic-flow findings.
- What you can do
- Bawbel Scanner is a static security scanner for MCP server cards and skill files. It runs pattern, YARA, Semgrep, LLM and optional Docker sandbox engines, deduplicates findings, maps them to AVE identifiers, and reports OWASP AIVSS v0.8 scores. It also detects compound toxic flows, grades MCP manifests for conformance, and supports pinning skill files to detect later drift.
- When to use it
- Use it when reviewing third-party MCP servers or skill files before trusting them, or when adding agentic security checks to CI. It is aimed at teams that want vulnerability findings and remediation guidance without executing the scanned server.
- Requirements
- Local Python 3.10+ install, for example via uvx or pip; the core pattern engine needs no other system dependencies. Optional YARA, Semgrep, LLM and sandbox extras add dependencies, and the LLM engine needs an API key. The sandbox engine requires Docker running and may pull a sandbox image from Docker Hub.
Installation
In SourceWeft
- Open Bawbel Scanner in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Bawbel Scanner
Static security scanner for MCP servers and agent skill files, with an OWASP AIVSS score on every finding. Never starts your MCP servers, and runs no scanned content unless you enable the optional Docker sandbox.
[PyPI version] [PyPI downloads] [Pepy total downloads] [License] [Python] [AIVSS aligned]
[Bawbel Scanner demo]Bawbel never executes your MCP servers.
Commands
Why Bawbel
? means not verifiable from each project's public README at the time of writing
(2026-09-12). Sources for every other cell are listed in the PR description.
How it works
System overview
How a scan flows from your file to an AIVSS-scored finding:
Detection stages
Six engines run across the pipeline. Results merge before toxic flow analysis:
False positive reduction
Eight layers run automatically before a finding is reported:
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.
Toxic flow detection
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 detects these compound sequences as toxic flows. 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.
Other scanners detect compound attacks too. NVIDIA SkillSpector, for example, ships a
source-to-sink taint tracker (TT1-TT5) over its own AST, including a credential
exfiltration chain. Bawbel's approach differs in what it operates on and what it emits:
chains are composed from AVE capability tags rather than traced through an AST, so a
flow is detected across natural-language instructions and configuration, not only
executable code. Each flow carries a stable flow_id, its own AIVSS score, and the
AVE IDs of its contributing findings.
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:
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.
Install
pip
Requires Python 3.10+. No other system dependencies for core install.
Docker
The published images are v1.2.3; no 1.3.0 image has been pushed yet. For v1.3.0 features in a container, build from source with the command below.
Available build args: WITH_YARA=true, WITH_SEMGREP=true, WITH_LLM=true, WITH_SANDBOX=true, WITH_ALL=true
Quick start
Example output:
Suppression and false positive management
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.
Focused scans
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.
AIVSS scoring
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.
AVE: the taxonomy behind every finding
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.
44 of the 87 published records have no detection rule in this scanner. 27 of them are
static_detection records that a rule could catch and are the scanner's backlog. The
other 17 are runtime-stage records (15 runtime_observed, 2 runtime_drift_detected):
they describe behavior that only shows up while an agent runs, so static analysis of a
file cannot detect them by design. The record-by-record list, and the commands that
produce every count in this section, are in
bawbel/scanner#79.
Any scanner can emit AVE IDs. See aveproject.org for the implementer guide and record index.
Detection engines
Stage 3: Behavioral sandbox
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.
Enable the sandbox
Or add to your .env / bawbel.yml:
Image setup (three modes)
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.
What the sandbox detects
CI/CD
The action is maintained in bawbel/integrations.
It writes the SARIF file itself and exposes its path as the sarif-file output.
Pre-commit (scans staged .md, .json, .yaml, .yml, and .txt files):
Output formats
Related
Contributing
See CONTRIBUTING.md. The most impactful contribution is a new detection rule tied to an AVE record. The coverage gap lists the published records with no rule yet.
Apache License 2.0 - Free forever - Maintained by Bawbel
Source: README.md at commit 91c5b35
Tools
0Version history
1- v1.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts