Home / Articles

Application security · Audits

What security audits taught me

The first penetration test was a shock. Above all, it changed the way I design software: security isn't a feature you ship, it's a discipline that never ends.

David RenaudNovember 20266 min read

For years, our application worked, grew and satisfied its customers. Like many products built quickly, it had been designed to meet business needs, not to withstand an attacker. I didn't really realize it. The first security audit, at the end of 2019, made it very clear.

The wake-up call

We had commissioned a penetration test from a specialized firm. The results were unequivocal: critical vulnerabilities, quickly exploitable, that had never been identified. A perfectly functional application can remain highly exposed if security isn't built in from the design stage.

Part of the explanation was structural. Our product had been built without a framework. The protections a modern framework provides "by default" (CSRF tokens, automatic escaping, session handling) existed only if we had written them ourselves. And we hadn't written all of them.

I chose to see that audit not as a failure, but as the best training we had ever received.

Turning a report into an action plan

The auditors spent a week in our offices. They explained the fundamentals, then tested with us, in real conditions, the protections we were putting in place. The whole team was involved and trained: that was the condition for security to become a collective reflex rather than one person's topic.

Then we had to rework the code, across thousands of files, for months, without interrupting the service:

With no ready-made framework, I had to understand each mechanism in depth to design it and fit it into a legacy codebase. That's probably where I learned the most about application security.

Later audits: improving… and staying humble

Later audits, run by other firms, confirmed the progress: the alert level was nothing like before. Then, in 2025, a new auditor found new vulnerabilities. They had been there for a long time, just less visible. Once again it took several months of work to address the most critical ones.

That second, quieter shock taught me something as important as the first:

Security is never a final state. The richer a product, the more its attack surface evolves, and a fresh pair of eyes will always find something.

What I would do differently from day one

Key takeaways

  • Software that works well isn't necessarily secure software.
  • An audit is accelerated training: welcome it rather than endure it.
  • Security is the whole team's business, not one person's.
  • It is managed over time, like quality or technical debt.

Today, when I design a feature, I no longer ask only "does it work?", but also "how could someone abuse it?". That may be the deepest change these audits produced in me.