Search papers, labs, and topics across Lattice.
This paper introduces Bulkhead, an automated framework that leverages large language models (LLMs) and formal methods to detect and remediate path traversal vulnerabilities in container ecosystems. By employing a multi-agent system, Bulkhead identifies high-risk functional patterns and analyzes call chains to uncover vulnerabilities related to host-container interactions, which are often overlooked by traditional static analysis methods. The key result demonstrates that Bulkhead not only effectively identifies vulnerabilities but also generates proof-of-concept exploits and guides the creation of secure patches, significantly improving the security posture of containerized applications.
Bulkhead reveals that automated semantic detection can dramatically reduce the cost and complexity of securing container environments against pervasive path traversal vulnerabilities.
Filesystem isolation in container ecosystems is often weakened by cross-boundary path misresolution, causing path traversal (PaTra) vulnerabilities. These vulnerabilities stem from insecure host-container interactions and have become increasingly pervasive as cloud systems mount shared resources, such as GPUs and agent workspaces, into containers to support AI workloads. Existing defenses remain inadequate. Kernel-level protections are intrusive, can destabilize system calls, and have therefore not been accepted into the Linux mainline. Detection methods rely on static rule matching or manual code auditing. Static rules can flag path-related functions but fail to capture the semantics needed to determine whether a host-container interaction exists, causing many false positives. Manual review requires domain expertise, making it costly, inefficient, and difficult to scale. To address this threat, we present Bulkhead, an automated framework that integrates large language models (LLMs) with formal methods for semantic vulnerability discovery and remediation. Bulkhead uses a multi-agent system to identify and repair PaTra vulnerabilities through multi-dimensional knowledge patterns generalized from known cases. It first applies high-risk functional patterns to locate entry points for cross-boundary interactions in containerized code, then uses call-chain patterns to recover the corresponding execution paths at suitable depth. The Detection pipeline analyzes these call chains against the application scenarios and threat model, identifying vulnerabilities such as missing security checks and TOCTOU flaws in cross-boundary interactions, and generating proof-of-concept (PoC) exploits for validation. These PoCs then guide patch generation. To ensure remediation correctness, the Patch pipeline performs assertion-driven verification using predefined model-checking templates.