Skip to content
PRISON

PRISON

Pull Request Isolation & Security Observation Net.

Created on 3rd October 2026

•

PRISON

PRISON

Pull Request Isolation & Security Observation Net.

The problem PRISON solves

🚨 The Core Problem

Modern software supply chain attacks target the blind spot of CI/CD pipelines: runtime behavior. Traditional security tools (Snyk, Dependabot, SonarQube) rely primarily on Static Application Security Testing (SAST) and manifest scanning. They tell developers what code looks like, but cannot observe what code actually does when executed.

Attackers bypass static scanners using:

  • Malicious Lifecycle Hooks: Obfuscated preinstall/postinstall npm or pip scripts running dynamic commands.
  • Zero-Day Supply Chain Infiltration: Dependency confusion and typo-squatting packages that look clean statically but download remote payloads at build time.
  • Silent Secret Harvesting: Unnoticed extraction of .env files and cloud credentials during testing steps.

đź’ˇ How PRISON Solves It

PRISON (Pull Request Isolation & Security Observation Network) replaces static guesswork with active behavioral detonation:

  1. Sub-200ms MicroVM Isolation (MANTITUP): When a Pull Request is opened, PRISON spawns an ephemeral Firecracker microVM. Untrusted code runs in a sandboxed, hardware-isolated environment away from production runners.
  2. Deception via Synthetic Honeypots: Decoy cloud credentials (AWS_SECRET_KEY, JWT_SECRET) are injected into the sandbox environment. If rogue code attempts to read or exfiltrate them, an immediate breach alarm triggers.
  3. Kernel-Level Observability (OSEN): Zero-overhead eBPF probes monitor low-level kernel syscalls (execve, connect, openat), detecting unauthorized child processes or outbound sockets in real time.
  4. Unified Attack Execution Graph (TRACECOMMON): Converts raw syscall logs into a visual, interactive Directed Acyclic Graph (DAG) mapping process trees and network destinations.
  5. Autonomous AI Remediation (ANAKIN): An AI Security Agent evaluates the execution trace, summarizes the threat, and automatically generates a clean unified Git patch diff—allowing maintainers to fix the issue in one click.
  6. Zero-Data Retention Privacy: To maintain complete privacy, PRISON clones code via short-lived GitHub App tokens into ephemeral memory. Upon analysis completion, the microVM disk is completely shredded—zero user code is ever stored.

Challenges we ran into

1. Firecracker MicroVM Isolation & eBPF Kernel Observability

  • Challenge: Intercepting high-frequency, low-level syscalls (execve, connect, openat) in real time without causing execution latency was difficult. Furthermore, local and non-Linux development environments lacked native KVM virtualization support, leading to pipeline failures when spinning up Firecracker microVMs.
  • Resolution: We engineered a graceful fallback architecture. When Firecracker/KVM host allocation is unavailable, PRISON automatically routes execution to a Semgrep CLI static AST scanner while formatting findings into the identical standardized TRACECOMMON schema so downstream telemetry remains unified.

2. High-Frequency Telemetry Ingestion & Dynamic DAG Visualization

  • Challenge: Streaming raw kernel syscall bursts to the web frontend caused memory leaks and frame drops during live detonations. Additionally, early integration testing suffered from mock JSON fallback data overriding live backend API streams.
  • Resolution: We implemented an early-exit probe mechanism—the moment an eBPF probe intercepts an unauthorized honeypot credential read or unapproved outbound socket, the execution thread halts immediately. We decoupled static fallback fixtures and hooked the dynamic telemetry stream directly into our React Flow DAG engine.

3. Strict Zero-Data Retention & Autonomous AI Remediation

  • Challenge: Providing deep behavioral detonation while ensuring zero persistence of private source code was a critical trust requirement. Additionally, generating syntactically valid Git patches without hallucinations proved challenging.
  • Resolution: We implemented an ephemeral sandboxing lifecycle using short-lived GitHub App tokens, where code is cloned exclusively into volatile microVM memory and purged immediately via post-detonation shred hooks. For remediation, we integrated a specialized DeepSeek agent pipeline (ANAKIN) constrained strictly to generating clean, unified Git diffs with 1-click merge functionality.

4. Build Cache Invalidation & Hybrid Routing Conflicts

  • Challenge: Rapid iterative development and parallel PR merges introduced Webpack chunk cache corruption (Cannot find module './682.js') and structural conflicts between legacy Pages Router and modern App Router configurations in Next.js.
  • Resolution: We audited and harmonized the entire frontend architecture, eliminated conflicting layout components and broken module imports, and enforced strict cache invalidation scripts across our build pipelines.

Tracks Applied (1)

Trace Commons AI

How PRISON fits into Trace Commons AI PRISON (Pull Request Isolation & Security Observation Network) integrates the Tra...Read More

Trace Commons

Discussion

Builders also viewed

See more projects on Devfolio