Skip to main content
AI & Machine Learning

AIs Expose Vulnerabilities in German Legal System

Rows of bookshelves with legal texts in a German courthouse or law library, with a blurred laptop screen in the foreground.

"We have identified a substantial number of vulnerabilities in the German legal system using LLMs," the blog post reports.

AIs treating written law like code

The source frames written law as a system encoded in natural language that can contain structural weaknesses, much as software does. It states that "legal systems encode the foundations of social order in natural language" and that, "Similar to computer systems, the written law can contain vulnerabilities that invite exploitation." The post draws a direct analogy: interpretation by courts normally absorbs most of those exploits, and as a result such vulnerabilities "rarely surface in the first place." That equilibrium—between textual ambiguity and judicial interpretation—is the backdrop for the experiments the author describes.

Testing the hypothesis: LLMs and German law

To test the idea that advanced AI could scale the discovery of legal vulnerabilities, the author used large language models to probe Germany's legal texts. The post reports that the tests "identified a substantial number of vulnerabilities in the German legal system using LLMs" and that, "to our knowledge, none of these have been previously recorded." The author says they share a selection of vulnerabilities and "present potential exploits for each," taking care to publish only those exploit demonstrations they judged would "not cause serious harm."

How courts currently mitigate and why that may change

The post emphasizes the stabilizing role courts play: interpretation is the mechanism by which most textual exploits are absorbed. It warns, however, that the arrival of "highly capable AI systems enabling the discovery of vulnerabilities at unprecedented scale" could alter the dynamic. In plain terms offered by the author: what has been rare and contained because of judicial interpretation could become more visible and more repeatable when automated tools can surface latent textual gaps or ambiguities at scale.

What this means for lawmakers, technologists, and courts

  • Lawmakers — The post argues that, faced with proliferating "cheap legal reasoning," lawmakers would need to "significantly harden the process of legislation," explicitly suggesting they might do so "by leveraging advanced AI themselves." That is presented as a defensive, procedural response to the newfound scale of discovery.
  • Technologists and security teams — By demonstrating that LLMs can find previously unrecorded vulnerabilities in a national legal corpus, the author implies that those building or deploying legal-AI systems must reckon with the capacity of such tools to surface exploitable textual gaps.
  • Courts — The report underscores that courts have historically absorbed most exploits through interpretation; it warns that this buffer could be strained if AI makes discovery of those exploits routine rather than exceptional.

Policy and practice: the early-stage risk the post flags

The author describes this work as "still in its early stages," but stresses its trajectory: "definitely something that's coming." The post therefore frames the issue as an emergent risk rather than an already realized crisis. That judgment shapes the recommended emphasis on procedural hardening and on using advanced AI as a legislative tool rather than on emergency legal reforms or punitive measures.

Conclusion: a sober, forward-looking call

The blog post melds a familiar cybersecurity metaphor—hacking and exploits—with law as a text-based system whose vulnerabilities have, until now, been largely mediated by courts. It reports concrete testing in Germany that produced a "substantial number of vulnerabilities" found by LLMs and insists the experiments focused only on low-risk demonstrations. The author's takeaway is clear and prescriptive within the post: inexpensive, scalable legal reasoning powered by advanced AI threatens to change how legal systems surface and absorb textual vulnerabilities, and lawmakers should consider hardening legislative processes, potentially by employing the same AI capabilities. The work is positioned as an early warning with a specific defensive proposal rather than as a diagnosis of immediate failure.

Original: AIs Hacking the Law — schneier.com