Runtime Security
Runtime security and SOC2-style evidence for AI agents: identity, behavior, threats and memory integrity.
Status, in the repository's words: Released. The README lists features that were described in earlier docs but do not exist in this release.
What it is
A FastAPI service that watches AI agents while they run.
It produces the forensic evidence a security program needs.
A guardian agent decides what to do about each finding, at an advisory, semi-autonomous or fully-autonomous level.
By default the guardian is advisory: it only logs, and an operator has to review.
What it does today
- Issues and revokes short-lived agent credentials, with a lifetime of 1-720 hours and immediate revocation.
- Builds a baseline of each agent's behavior and flags anomalies, including spikes in outbound volume and new hosts.
- Records prompt-injection threats (matched by signature), memory-poisoning threats and privilege-escalation threats.
- Checks memory writes and quarantines or rejects anomalous ones.
- Scores how agents coordinate and passes threshold breaches to the guardian; these are recorded, but nothing is isolated.
- Keeps an append-only forensic audit trail. Nothing is pruned automatically; it is kept until you delete it.
- Generates SOC 2 Type II evidence reports from the recorded events.
- Fails closed: if the admin token is not set, every route other than the health check returns 503.
- Serves an HTML dashboard that polls the JSON API every 30 seconds.
What it ships
- Six components, backed by an audit bus, a compliance-report module and a SQLite persistence layer.
- A JSON API; the service listens on port 8093.
- A Dockerfile is included; the container runs as a non-root user.
- An audit forwarder, optional and off by default, that sends events over HTTP to an external audit-ingest receiver.
What it needs
- Python 3.12, or Docker.
- The Python dependencies pinned in requirements.txt.
- No external services are required to start it; it stores its data in local SQLite.
- An admin token must be set; without it every route except the health check refuses requests.
- A JWT secret must be set; it signs the API's JWTs.
Install
Copied from the repository's README. This site has not run these commands.
pip install -r requirements.txt cp .env.example .env # set RUNTIME_SECURITY_ADMIN_TOKEN, RUNTIME_SECURITY_JWT_SECRET, OUTBOUND_HOST_ALLOWLIST uvicorn app.main:app --env-file .env --host 127.0.0.1 --port 8093
Limits and known issues, as the repository lists them
As listed on branch main of BulletproofSoftwareAI/bulletproof-runtime-security on 2026-11-30, commit 44158a1: newer than the version described above.
- The audit bus mirror is a plain copy and is not tamper-evident: it has no hash chain or signature.
- A throttle decision is only a record for an upstream gateway to enforce; the service does not rate-limit agents.
- The service sends no operator notifications; guardian decisions are recorded for your own alerting to pick up.
- There is no automatic retention: forensic events and the audit-bus mirror keep growing until an operator deletes rows.
- No Qdrant integration: memory integrity scores a distance value supplied by the caller, and nothing connects to a vector store.
- The release container image has 53 HIGH findings in Debian packages that have no fix yet.
Works with
Documents in the repository
Where each statement on this page comes from
Read from BulletproofSoftwareAI/bulletproof-runtime-security, branch main, commit afe8078; the limits and known issues from BulletproofSoftwareAI/bulletproof-runtime-security, branch main, commit 44158a1, read on 2026-11-30. File and line for each statement:
- Runtime security and SOC2-style evidence for AI agents: identity, behavior, threats and memory integrity.
README.md:3 - Released. The README lists features that were described in earlier docs but do not exist in this release.
README.md:71 - 2.0.9
app/__init__.py:4 - 2026-11-14
CHANGELOG.md:7 - Apache-2.0
README.md:128 - A FastAPI service that watches AI agents while they run.
docs/OVERVIEW.md:3 - It produces the forensic evidence a security program needs.
README.md:8 - A guardian agent decides what to do about each finding, at an advisory, semi-autonomous or fully-autonomous level.
README.md:11 - By default the guardian is advisory: it only logs, and an operator has to review.
README.md:56 - Issues and revokes short-lived agent credentials, with a lifetime of 1-720 hours and immediate revocation.
README.md:17 - Builds a baseline of each agent's behavior and flags anomalies, including spikes in outbound volume and new hosts.
README.md:18 - Records prompt-injection threats (matched by signature), memory-poisoning threats and privilege-escalation threats.
README.md:19 - Checks memory writes and quarantines or rejects anomalous ones.
README.md:20 - Scores how agents coordinate and passes threshold breaches to the guardian; these are recorded, but nothing is isolated.
docs/OVERVIEW.md:26 - Keeps an append-only forensic audit trail. Nothing is pruned automatically; it is kept until you delete it.
README.md:23 - Generates SOC 2 Type II evidence reports from the recorded events.
docs/OVERVIEW.md:30 - Fails closed: if the admin token is not set, every route other than the health check returns 503.
docs/INSTALL.md:43 - Serves an HTML dashboard that polls the JSON API every 30 seconds.
docs/OVERVIEW.md:13 - Six components, backed by an audit bus, a compliance-report module and a SQLite persistence layer.
docs/OVERVIEW.md:17 - A JSON API; the service listens on port 8093.
docs/OVERVIEW.md:11 - A Dockerfile is included; the container runs as a non-root user.
README.md:36 - An audit forwarder, optional and off by default, that sends events over HTTP to an external audit-ingest receiver.
docs/audit-forwarder.md:3 - Python 3.12, or Docker.
docs/INSTALL.md:9 - The Python dependencies pinned in requirements.txt.
docs/INSTALL.md:10 - No external services are required to start it; it stores its data in local SQLite.
docs/INSTALL.md:4 - An admin token must be set; without it every route except the health check refuses requests.
README.md:42 - A JWT secret must be set; it signs the API's JWTs.
README.md:49 - The audit bus mirror is a plain copy and is not tamper-evident: it has no hash chain or signature.
README.md:131 at 44158a1 - A throttle decision is only a record for an upstream gateway to enforce; the service does not rate-limit agents.
README.md:110 at 44158a1 - The service sends no operator notifications; guardian decisions are recorded for your own alerting to pick up.
README.md:107 at 44158a1 - There is no automatic retention: forensic events and the audit-bus mirror keep growing until an operator deletes rows.
docs/ADMINISTRATOR.md:154 at 44158a1 - No Qdrant integration: memory integrity scores a distance value supplied by the caller, and nothing connects to a vector store.
README.md:119 at 44158a1 - The release container image has 53 HIGH findings in Debian packages that have no fix yet.
README.md:187 at 44158a1 - With the optional audit forwarder turned on, the governance plugin's receiver writes each forwarded event to its own audit database.
docs/audit-forwarder.md:182 - The repo includes a Code Hardener security scan report of version 1.0.0.
README.md:109 - Install section of the README
README.md:28
Bulletproof suite v1.0.0 pins tag v2.0.9, commit afe8078, tagged 2026-11-14.