Security through chaos
This practical deep dive into the philosophy behind “security through chaos” shows that security does not come from perfect foresight, but from surviving chaos.
Photo by Niels Luigjes
On and , I will be in Brussels at the Free and Open Source Software Developers' European Meeting (FOSDEM). There I will give the presentation “Shaking PHP code until it rattles”.
Unit tests check the inputs we thought of. Fuzzing finds the ones we did not. This talk introduces rattle, a coverage-guided fuzzer for PHP that fuzzes the properties of your PHPUnit test suite as they are.
More informationI am Sebastian Bergmann. I started writing PHPUnit in 2000 and still maintain it. In the same year I gave my first talk at a PHP conference. As a co-founder of thePHP.cc, I help teams in training courses and through consulting and coaching with everything related to PHPUnit, with quality gates for working with LLM-based coding agents, and with supply chain security.
I helped start the PHP Foundation and serve on its board. I have also represented the interests of Open Source at the European Commission and am active in the Open Source working group of the German Informatics Society (Gesellschaft für Informatik).
Where you can meet me next is listed under events. The next dates of my training courses are in the training overview.
This practical deep dive into the philosophy behind “security through chaos” shows that security does not come from perfect foresight, but from surviving chaos.
We only test what we think of. That is precisely what can become a problem.
Shrinking is the unsung hero of property-based testing. I show you how it helps to make inevitable errors understandable.
How thoroughly do your tests cover the code, and how reliably do they detect real errors? I show you how to find out.
Your tests are successful. But are they really? Without a suitable test oracle, you will never know.
One test, hundreds of inputs, and an automatic edge case search. But property-based testing has a hidden pitfall that many overlook.
Do you want your team to get better at testing? I can help with consulting, coaching, and training.