Replit 宣布完成其核心沙箱引擎的底层重写,正式从传统的 Docker 容器架构迁移至基于 Cloud Hypervisor 的微虚拟机(microVMs)方案 1。这一新架构利用 KVM 实现硬件辅助虚拟化,旨在通过更严格的内核级隔离来增强系统的安全性、性能表现及云兼容性 1。每个沙箱现在均与主机及其他工作负载完全隔离,显著降低了内核漏洞带来的攻击面,并为 AI Agent 提供了更为安全的代码执行环境 1。此次技术升级并非孤立行动,而是针对近期 OpenAI Hugging Face 事件、Anthropic 评估事件以及 NIST 代理标准倡议等行业动态所做出的直接回应 1。
在安全性验证方面,Replit 对2026年6月1日至11月4日期间发布的 6,211 个 Linux-CNA CVE 进行了审计 1。通过配置排除项或应用补丁修复,新架构成功规避了其中 5,969 个已知漏洞,覆盖率达到 96.1% 1。一个具体的防御案例是,针对 Anthropic 演示的远程提权漏洞 CVE-2026-98432,Replit 在该漏洞公开披露前两周(即10月12日)便已集成修复后的内核 1。此外,新系统还集成了基于 eBPF 和 Linux Security Modules 的实时威胁检测机制,进一步提升了运行时监控能力 1。
尽管引入了更重的虚拟化层,新架构在性能上依然保持高效,沙箱启动时间约为 500 毫秒,该时长包含了卷挂载和服务配置过程 1。为了实现低延迟和高吞吐量的通信,系统采用了 gRPC over vsock 协议,并使用自定义的 vhost-user virtio-blk 后端来处理块存储 1。这次大规模的基础设施变更是在零数据丢失且无服务中断的情况下完成的,平滑迁移了数亿个项目至新的微虚拟机环境 1。
Replit has completed a fundamental rewrite of its sandbox engine, migrating from Docker containers to microvirtual machines (microVMs) powered by Cloud Hypervisor and KVM hardware-assisted virtualization 1. This architectural shift aims to significantly improve security, performance, and cloud compatibility by isolating each sandbox from the host system and other workloads 1. The new infrastructure supports seamless operation at scale, having successfully migrated hundreds of millions of projects without data loss or service interruption 1.
The updated system integrates real-time threat detection mechanisms utilizing eBPF and Linux Security Modules, while employing gRPC over vsock for communication and a custom vhost-user virtio-blk backend for block storage 1. These technical enhancements have reduced the attack surface for kernel vulnerabilities; an audit of 6,211 Linux-CNA CVEs published between June 1 and November 4, 2026, revealed that configuration exclusions and patches mitigated 5,969 of them, representing 96.1% coverage 1. For instance, the patch for CVE-2026-98432, a remote privilege escalation vulnerability demonstrated by Anthropic, was integrated into the kernel two weeks prior to the CVE's official release on October 12 1.
Performance metrics indicate that the new sandboxes launch in approximately 500 milliseconds, including time for volume mounting and service configuration 1. The decision to rebuild was influenced by industry developments, including incidents involving OpenAI Hugging Face, Anthropic evaluations, and NIST agent standard initiatives 1. Ultimately, this overhaul provides a more secure execution environment specifically designed to support AI agents 1.
评论
还没有评论,欢迎留下第一条。