prefab-ui 0.21.0 Addresses Reported Sandbox Escape
A security review based on public disclosures says that prefab-ui 0.14.0 through 0.20.2 launched its Deno subprocess with read, write and network permissions while a runner comment described the sandbox as read-only. The reported escape path used Pyodide’s JavaScript proxy to access Deno APIs from sandboxed Python code. The review says version 0.21.0 removes Deno read, write and network permissions before accepting code, starts Deno with --no-prompt and limits bootstrap networking to cdn.jsdelivr.net. It also reports that the flaw could write .pth files into a server virtual environment’s site-packages, creating persistence outside the sandbox; the supplied report does not independently validate the fix.
The case demonstrates that sandbox isolation depends on executable permission settings, not comments describing intended restrictions. The report also says that upgrading alone does not remove possible .pth persistence, so exposed deployments should have their site-packages audited.
This source is a digest of several news items (“CVSS 10.0 沙箱逃逸 + 假扩展后门:给 Agent 开发者的供应链与沙箱安全复盘(附…”). Find this story in the original.