← All projects

Case study

This portfolio

Personal · 2026 In production

19
vulnerabilities caught in one audit
0
cookies or trackers

The problem

Present my background with the same quality standards as my projects.

The site you are reading: a Symfony application deployed on an OVH VPS that I administer.

My role

Personal project: design, development, deployment and administration of the VPS.

What I built

  • Content structured in the controller and rendered with Twig, hand-written CSS
  • PHPUnit functional tests that check every section of the page
  • GitHub Actions pipeline: tests, then a CVE audit of the PHP and JavaScript dependencies on every push and every week; a known vulnerability blocks the release
  • Automatic deployment to a VPS: Nginx, PHP-FPM and a Let’s Encrypt HTTPS certificate

Technical highlight

A known vulnerability blocks the release

On every push, GitHub Actions runs the PHPUnit tests and checks the PHP (composer audit) and JavaScript (importmap:audit) dependencies against published CVE databases. Deployment to the VPS depends on both steps: if a known vulnerability shows up, nothing goes to production. The same audit runs every Monday to flag a CVE published between two changes, and after each deployment the pipeline checks that the site responds and that the Symfony profiler is not exposed.

Result

A site tested on every change, deployed automatically, and a real CVE in symfony/expression-language caught by the pipeline and fixed.

Tests

  • Functional PHPUnit (WebTestCase): every page is requested over HTTP and its content checked, including the 404 for an unknown category
  • Continuous integration Tests run by GitHub Actions on every push: a failure blocks deployment

Security · OWASP

  • A02 Security misconfiguration : Production without debug mode, a secret generated on the server, and a check that the Symfony profiler is not exposed
  • A03 Software supply chain : CVE audit of the PHP and JavaScript dependencies in CI, which blocks the release
  • A04 Cryptographic failures : HTTPS with a Let’s Encrypt certificate on the VPS
  • A05 Injection : Automatic escaping of Twig output against XSS
Stack & tools PHP 8.2 Symfony 7.4 Twig AssetMapper PHPUnit GitHub Actions Nginx Let’s Encrypt