Skip to content
Boris Truyens

The tensile test

Security research on my own projects and on open-source software: reading code as if you want to break it, and writing down what you find.

In materials science you pull a test bar apart until it breaks. Not because you want it broken, but because only then do you know what it can take. The yield strength is not on the label. You have to measure it.

Software has a label too. It is called marketing. “Secure.” “Authoritative server.” “Validated transactions.” The question is whether the code lives up to it.

How I work

Always the same way, and always with the same limits:

  • Passive and white-box. I read the source code and look at what is publicly visible. No attacks on live systems, no brute force, no stolen credentials, nothing that harms anyone else.
  • Several readers. A lead reviewer and a few AI agents that each go through a different part of the code: authentication, database, infrastructure, input. Every finding must be proven with a line of code, or it doesn’t count.
  • A report with severity levels, from critical to informational, with a concrete fix for each point.

Three reviews

My own game. The first audit covered the account and economy backend of my own shooter. It found two critical weaknesses, exactly the kind the text on the website promised to prevent. The server trusted things the player told it about themselves. The one thing done really well was how passwords were stored. That backend is now parked until the game itself is done. It was the most useful humiliation of the year.

An open-source infrastructure platform. Then a larger project by another company: software to automate servers and clusters. The verdict was the reverse. The code was notably well secured: solid authentication, encrypted secrets, clean separation between customers, no passwords in the code. What remained was one serious issue and a handful of Kubernetes defaults that were broader than needed. Conclusion: the makers’ promises were largely backed by the code. That is a result too.

An app from my phone. To understand how an Android app is built, I pulled its installation file wirelessly from my own phone and looked at its structure statically. Not an attack, but a lesson in how much an app reveals about how it is put together.

What the three have in common

Afterwards I read my own projects differently. In the flight game Project Vanguard, the same way of reading found an XSS hole in squadron names and an updater that didn’t check what it unpacked. Both have since been fixed.

The lesson is the same as in the inspection room: the code tells the truth the marketing doesn’t. A drawing can promise ±0.01 mm. Only the dial gauge tells you whether it holds.

Where this leads

This project shares threads with others. Follow one.