Installation¶
Requires Python 3.11+.
Install what you need¶
Each tool is independently installable — someone who wants a model scanner should not inherit an SBOM generator.
Optional extras¶
Heavy dependencies are behind extras and imported lazily, so a scan that does not need them never pays for them.
| Extra | Pulls in | Needed for |
|---|---|---|
airlock[model] |
huggingface_hub |
hf: targets |
airlock[mcp] |
mcp SDK |
live MCP server scans |
airlock[ai] |
httpx |
the optional AI layer, community rule feed over HTTP |
warden[bridge] |
airlock |
warden audit --scan-parts |
manifest[risk] |
airlock, warden |
manifest scan --scan-risk |
manifest[osv] |
httpx |
live OSV vulnerability lookups |
Without an extra, the feature degrades with a clear message rather than a traceback:
$ manifest scan ./project --scan-risk
WARNING airlock is not installed; skipping model risk (pip install 'bulwark-manifest[risk]')
Verify¶
What gets installed¶
Four console scripts: bulwark, airlock, warden, manifest.
Rule packs ship inside the wheels, so detections work from a pip install with no
extra data files to fetch.