Skip to content

Margin of Safety #65: LLMs & Sandbox Escape

Jimmy Park, Kathryn Shih

August 19, 2026

  • Blog Post

Source: threads

Hype around LLM sandbox escapes is leading people to focus on the wrong things

[1] Including outright questionable math decisions, eg

https://www.anthropic.com/research/discovering-cryptographic-weaknesses — in this case, math was being used which had a known theoretical weakness. AI has helped convert the theoretical weakness to a practical weakness.

[2] For the sake of intellectual honesty, we’ll note that the samples are pretty biased: the clusters are (bugs that LLMs are good at finding)*(bugs that exist at volume in the type of code bases people like scanning with Mythos and friends). There may be lots of bugs that LLMs are great at finding but that are not heavily represented in the types of code bases people have (yet) scanned: these could still emerge as future clusters.

[3] Yikes! But also, this happens all the time, only in even worse variations: https://snyk.io/articles/state-of-secrets/

[4] The same CNN report positions the internet access as deliberate. We think this is true, but a somewhat deceptive framing. With very high probability, Irregular was trying to provide an isolated CTF environment that pulled in standard, hard-to-simulate-in-isolation capabilities like full language or OS package manager access, and chose to do so by providing an online package manager. As any of the startups focused on package manager security or FOSS software supply chain will tell you, this gets hairy fast. But the intention was almost certainly *not* to have a CTF environment that was in fact partially online; online was just used as a workaround for the difficulties in simulating things like package management. Irregular’s own statement(here) also comments on controlled internet access being necessary to fully replicate real world conditions.

[5] Irregular does claim Google as a customer here, but it’s unclear whether Google uses them for cybersecurity CTF tests, which is where all of the escapes have occurred.

[6] The JFrog CTO has said here that the model chained multiple vulnerabilities; however, he has said this in the context of the end-to-end goal of getting test answers from Hugging Face’s infra. We’re assuming that the way to reconcile the two competing claims is that the model used one CVE to exploit JFrog, and chained it with other attacks in order to gain Hugging Face access. This threads the needle so that no party is lying, but each is positioning things in a best-for-themselves light.

[7] We don’t claim to know either way on Gemini’s capabilities in this realm!