MANTITUP
// MicroVM Engine
Provisions ephemeral Firecracker microVMs in under 150ms. Seeds synthetic honeypot credentials into the execution environment. Enforces hard network isolation and CPU/memory quotas.
Everything you need to understand, configure, and extend the PRISON security platform.
PRISON (Pull Request Isolation & Security Observation Network) is an autonomous DevSecOps platform that detonates every incoming GitHub Pull Request inside an ephemeral Firecracker microVM, traces its execution at the Linux kernel level using eBPF probes, catches credential theft via synthetic honeypots, and uses an AI agent (ANAKIN) to generate and commit remediation patches automatically.
// MicroVM Engine
Provisions ephemeral Firecracker microVMs in under 150ms. Seeds synthetic honeypot credentials into the execution environment. Enforces hard network isolation and CPU/memory quotas.
// eBPF Kernel Probes
Attaches BPF tracepoints to sys_enter_execve, sys_enter_connect, and sys_enter_openat. Captures raw ring buffer events and streams them into the TRACECOMMON pipeline.
// Telemetry Pipeline
:8001Normalizes raw eBPF events into typed NormalizedEvent objects. Classifies risk levels (CLEAN, HONEYPOT_HIT, UNAUTHORIZED_SOCKET, SUSPICIOUS_EXEC). Builds an ExecutionDAG.
// AI Remediation Agent
Evaluates the ExecutionDAG using rule-based scoring (Rule R08 confidence gating) or an LLM provider. Generates unified diff patches and pushes them to GitHub via API.
| METHOD | PATH | SERVICE | DESCRIPTION |
|---|---|---|---|
| POST | /api/v1/webhook/github | Orchestrator :8000 | Receives GitHub PR webhook payload. Verifies HMAC-SHA256 signature. Queues detonation job. Returns HTTP 202. |
| GET | /api/v1/telemetry/events | Telemetry :8001 | Returns all in-memory telemetry events and payloads ingested since last restart. |
| POST | /api/v1/telemetry/events | Telemetry :8001 | Ingests a TelemetryEventPayload. Triggers TRACECOMMON normalization and ANAKIN triage in background task. |
| GET | /health | Both services | Health check endpoint. Returns {"status": "healthy"}. |
Navigate to the Sandbox page from the navbar.
Paste a GitHub Pull Request URL (e.g. https://github.com/org/repo/pull/42) into the input field.
Configure the toggles: Inject Honeypots, Block Outbound Sockets, Bypass Cache.
Click ⚡ Detonate in MicroVM to start the pipeline.
Watch the left terminal panel for live pipeline logs and the right panel for real-time eBPF kernel events.
After analysis, review the TRACECOMMON Attack Graph. Click nodes to inspect syscall details.
If a threat is detected, review the ANAKIN-generated unified diff patch.
Click ✨ Commit Patch & Merge to push the fix to the developer's branch, or ✕ Reject & Close PR.
| VARIABLE | DESCRIPTION |
|---|---|
| GITHUB_WEBHOOK_SECRET | HMAC secret for verifying GitHub webhook signatures. |
| GITHUB_TOKEN | Personal access token for committing patches and managing PRs. |
| OPENAI_API_KEY | (Optional) OpenAI key for ANAKIN LLM triage. Falls back to rule-based. |
| ANTHROPIC_API_KEY | (Optional) Anthropic key as alternative LLM provider. |