‹ Notes

Notes on pentesting the law with LLM's and RL

If LLM’s are in essence a runtime for the English language, could the law be pentested?

Fuzzing is a technique in computer programming where you generate random inputs to a program in order to break it. I don’t see why we can’t do this with LLM’s.

Can an LLM generate synthetic legal cases to stress test the law? We can already do this with DeepSeek R1 reinforcement learning and chain of thought.

Humans write computer code and it is never perfect the first time, it always contains bugs. Why would the law be different? Gödel found a loophole in the Constitution.

Could you imagine a continuous integration system for the law? France has an executable legal code.