← Back to home

Projects

Projects 26

Projects built at work, as a freelancer, in my spare time and during training. Filter by context or by technology.

3 projects · Clear filters

Training · 2024–2025 · Team of 4

Private code

Secure REST API

REST API built by a team of 4 as part of the IT & Information Systems Expert certification, with particular attention to security.

Python FastAPI MariaDB SQLAlchemy OAuth2 +5
Show details

Goal: Apply security best practices from the design of an API onward.

What I did

  • Layered architecture: routers, services and repositories
  • OAuth2 authentication (OAuth2PasswordBearer) with JWT tokens and role-based access control (RBAC), handling 401 and 403 errors
  • Passwords hashed with Argon2, sensitive customer data encrypted with AES using the Cryptography library
  • Interface contract validation with Pydantic schemas: types, formats and required fields checked, protection against injection
  • Rate limiting and maximum request size
  • Pytest unit and integration tests, Swagger documentation

Tests

  • Unit Pytest tests of the service logic
  • Integration Pytest tests of the API routes, from request to database

Security · OWASP

  • A01 Broken access control : Role-based access control (RBAC) on every route, with distinct 401 and 403 responses
  • A04 Cryptographic failures : AES encryption of customer contact details and other sensitive data (Cryptography)
  • A05 Injection : Interface contract validation with Pydantic and anti-injection checks on incoming data
  • A07 Authentication failures : OAuth2 authentication with JWT tokens, passwords hashed with Argon2
  • API4 Unrestricted resource consumption : Rate limiting and maximum request size
Full stack list Python FastAPI MariaDB SQLAlchemy OAuth2 JWT Argon2 Cryptography (AES) Pytest Swagger

Training · Pair project

Not published

Linux post-incident analysis

Investigation of an intrusion attempt on a Linux server, carried out in a pair, from log analysis to putting countermeasures in place.

Kali Linux Bash Python journalctl Fail2Ban +2
Show details

Goal: Understand an incident, document it reliably and prevent it from happening again.

What I did

  • SSH log analysis and timeline reconstruction: entry point, targeted accounts, frequency of attempts
  • Simulated a brute-force attack with Hydra to validate detection
  • Monitoring scripts in Python and Bash, SSH hardening and automatic blocking with Fail2Ban
  • Timestamped chain of evidence verified with SHA-256 hashes
  • Incident management procedure: detection, triage, containment, investigation, remediation and lessons learned

Security · OWASP

  • A07 Authentication failures : Automatic blocking of SSH brute-force attacks with Fail2Ban
  • A08 Software and data integrity : Timestamped chain of evidence verified with SHA-256 hashes
  • A09 Logging and alerting : SSH log analysis and monitoring scripts in Python and Bash
Full stack list Kali Linux Bash Python journalctl Fail2Ban Hydra SHA-256

Training · 2025 · Pair project

Code on GitHub

Bash and Python security scripts

Pair project: automate and secure several aspects of a Linux system with Bash and Python scripts, documented module by module.

Bash Python Nmap cron Cryptography +1
Show details

Goal: Automate a Linux server’s repetitive security checks instead of doing them by hand.

What I did

  • My scripts: scanning open ports and services, in Bash and in Python, with a timestamped report per scanned machine
  • My scripts: automating backups and security tasks with cron
  • Project completed by encrypted password management and security log analysis, built by my teammate
  • Documentation per module, with testing and validation of the scripts done together
Full stack list Bash Python Nmap cron Cryptography Linux
View code ↗