SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · News

Project Theseus: Thwart removes template injection from Java web apps

Original article at Chainguard: Unchained (opens in a new tab)

Source
Chainguard: Unchained
Published
November 24, 2026
In the briefing
since November 25, 2026

Summary

Chainguard, in a post by CEO Dan Lorenc and product manager John Slack dated 24 November 2026, releases Thwart, a second building block in Project Theseus. It is a Spring templating engine that turns templates into Java code during the build, so server-side template injection cannot occur because nothing interprets templates at runtime. It deliberately breaks compatibility with Thymeleaf, JSP, FreeMarker and Velocity, and ships tooling for AI coding agents to migrate apps; Chainguard says an agent migrated 18 open source apps unaided, all passing their tests, with 94 percent of 1,212 pages rendering the same. It cites its Athena coalition data showing injection bugs far outnumber memory-safety bugs in Java, Python and JavaScript libraries.

Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

Read the full story at Chainguard: Unchained (opens in a new tab)