SecurAPI

Malek Berrezouga · Consultant API Security

Les hackers ciblent vos APIs.

Faites défiler pour voir ce qui arrive à une API bancaire, de l'attaque à la preuve de correction.

Scénario type · OWASP API1

Un identifiant, puis le suivant, puis 847 comptes.

Sans contrôle d'ownership ni rate limiting, un simple script énumère les ID et aspire les données. Aucune alerte ne se déclenche.

0comptes exposés en 3 minutes

La détection

Chaque couche passée au crible.

OWASP, PCI-DSS, JWT, CORS, rate limiting : chaque endpoint est contrôlé, puis chaque faille est rattachée à un nœud précis de votre architecture.

BOLA · CRITICAL PAN exposé · HIGH Rate limiting absent · HIGH

La correction

De la faille à la preuve de fermeture.

Je priorise sprint par sprint, j'explique chaque finding à votre équipe, puis je re-scanne pour confirmer que la faille est réellement fermée.

Résultat · score cible 85+

Votre API, sécurisée avant l'attaquant.

Un appel de 30 minutes suffit pour évaluer votre situation, où que vous soyez.

Berrezouga.malek@outlook.com

438-455-5846 · Montréal, QC · Remote

Gouvernance API

Une API corrigée aujourd'hui doit le rester demain.

La gouvernance API met en place les règles qui empêchent les failles de revenir : un inventaire, des standards de conception, des politiques de sécurité appliquées automatiquement et un responsable pour chaque API.

Policy-as-code : de la spec à la production

Chaque règle est écrite une fois, puis appliquée automatiquement à chaque commit et en production. Une régression est bloquée avant de livrer, et une dérive en production revient nourrir les règles.

AVANT LA PRODUCTION EN PRODUCTION Dérive détectée → règle mise à jour Spec + commit OpenAPI 3.0 Lint conception Règles OpenAPI Politiques sécurité OWASP API Top 10 CI/CD Jenkins · GitHub Actions API Gateway JWT · rate limit · WAF Catalogue Responsable · revue CONFORME ÉCHEC BLOQUÉ · retour au dev

Cycle de vie d'une API

Un responsable unique et un contrôle à chaque étape, de la conception au retrait.

UN RESPONSABLE UNIQUE, DE BOUT EN BOUT Conception Revue Publication Exploitation Dépréciation Retrait Contrat OpenAPI Revue sécurité Garde-fou CI/CD SLO · alertes En-tête Sunset Accès coupé

Six piliers, une seule vue

Bougez la souris pour déplacer la caméra. Cliquez sur un pilier pour l'explorer, ou ouvrez le radar et la matrice.

Maturité de gouvernance

Six dimensions suivies. Exemple illustratif, pas une mesure réelle.

Inventaire Standards Sécurité CI/CD Cycle de vie Conformité
AvantAprès gouvernance

Où appliquer chaque règle

Exemple de répartition, à adapter à votre architecture.

RègleSpecCI/CDGatewayService
Accès aux objetsOWASP API1Non applicableContrôle complémentaireNon applicableApplication principale
AuthentificationOWASP API2Contrôle complémentaireContrôle complémentaireApplication principaleContrôle complémentaire
Propriétés exposées (PAN)OWASP API3Application principaleApplication principaleContrôle complémentaireNon applicable
Consommation de ressourcesOWASP API4Contrôle complémentaireNon applicableApplication principaleContrôle complémentaire
SSRFOWASP API7Contrôle complémentaireContrôle complémentaireNon applicableApplication principale
Mauvaise configurationOWASP API8Non applicableApplication principaleApplication principaleContrôle complémentaire
Application principaleContrôle complémentaire
Expertise techniqueTechnical expertise

Je parle le langage de vos architectesI speak your architects' language

Quand je détecte une faille dans votre spec OpenAPI, je peux aussi vous montrer comment la corriger dans votre code Spring Boot. C'est la différence entre un auditeur qui coche des cases et quelqu'un qui a vraiment construit ces systèmes.When I find a vulnerability in your OpenAPI spec, I can also show you exactly how to fix it in your Spring Boot code. That's the difference between an auditor checking boxes and someone who has actually built these systems.

JavaSpring BootOpenAPI 3.0KafkaDockerOWASPAzure · AWSGitHub ActionsSonarQubeKubernetesDDDPostgreSQL · Oracle
securapi_scan.py — analyse en coursscan running
1# OWASP API Security Top 10 · 2023
2class SecurAPIEngine:
3 
4 def scan(self, spec):
5 findings = []
6 findings += self.check_bola(spec)
7 findings += self.check_broken_auth(spec)
8 findings += self.check_ssrf(spec)
9 # ... 7 more rules
10 score = risk_score(findings)
11 return {
12 "score": score,
13 "critical": count(findings, "CRITICAL"),
14 "findings": findings
15 }
▶ RésultatResult — demo_banquedemo_api.json
34SCORE
7CRITICAL
10HIGH
6MEDIUM+
Processus d'analyseAnalysis process

Comment l'IA dissèque vos APIsHow AI dissects your APIs

Donnez-moi votre fichier OpenAPI. En moins de 90 secondes, je détecte ce que la plupart des équipes mettent des mois à trouver, si elles le trouvent.Give me your OpenAPI file. In under 90 seconds I detect what most teams take months to find — if they find it at all.

OpenAPI / SwaggerOpenAPI / SwaggerJSON · YAML · v2/v3JSON · YAML · v2/v3ParsingParsingDécomposition specSpec decompositionOWASP EngineOWASP EngineAPI Top 10 · 2023API Top 10 · 2023AI AnalysisAI AnalysisDétection anomaliesAnomaly detectionScoringScoringRisk 0–100Risk 0–100RapportReportPDF · HTML · JSONPDF · HTML · JSON
API1 · API5

AuthorizationAuthorization

Vérifie BOLA, BFLA, accès non autorisés aux objets et fonctionsChecks BOLA, BFLA, unauthorized access to objects and functions

API2 · API8

AuthentificationAuthentication

JWT, OAuth2, HTTP Basic, TLS, headers de sécurité manquantsJWT, OAuth2, HTTP Basic, TLS, missing security headers

API3 · API9

Données sensiblesSensitive data

PAN, PIN, mots de passe exposés, propriétés non restreintesPAN, PIN, exposed passwords, unrestricted properties

API4 · API6 · API7

Consommation & fluxConsumption & flows

Rate limiting, pagination, SSRF, flux métier non protégésRate limiting, pagination, SSRF, unprotected business flows

APIs analysées · 2025APIs analyzed · 2025

51 APIs scannées51 APIs scanned

J'ai analysé 51 APIs publiques utilisées par les plus grandes institutions. La plupart ne passeraient pas un audit PCI-DSS.I analyzed 51 public APIs used by major institutions. Most wouldn't pass a PCI-DSS audit.

0score moyen /100average score /100
0CRITICAL
0%sous 60/100below 60/100
—Survolez une APIHover an API
—
CRITICAL < 42HIGH 42–59MEDIUM 60–79PASS ≥ 80
Exemple d'audit réelReal audit example

Ce qu'un audit ressemble vraimentWhat an audit actually looks like

FINDING-001CRITICALOWASP API1 · BOLA
Accès non autorisé aux comptes bancaires via ID énumérableUnauthorized access to bank accounts via enumerable ID
1GET /api/v2/accounts/{victim_id}/balance HTTP/1.1
2Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ1c2VyXzEyMyJ9...
3Host: api.bank.ca
4// Attacker is user_123 — accessing ANY account by iterating IDs
1HTTP/1.1 200 OK
2{ "accountId": "ACC-99871",
3 "balance": 142500.00,
4 "iban": "CA12 3456 7890 1234 5678",
5 "owner": {"name": "John Doe", "sin": "123-456-789"} }
6// SIN, IBAN, balance of another user returned without authorization check
1# Automated BOLA scan — 847 accounts exposed in 3 minutes
2for victim_id in range(1000, 9999):
3 r = requests.get(f"/api/v2/accounts/{victim_id}/balance", headers=auth)
4 if r.status_code == 200:
5 print(f"EXPOSED: ${r.json()['balance']} CAD — SIN: {r.json()['sin']}")
6# No rate limiting. No auth check. No alert triggered.
01Implémenter une vérification d'ownership côté serveur avant tout retour de donnéesImplement server-side ownership check before returning any resource data
02Remplacer les IDs séquentiels par des UUIDs non-prévisiblesReplace sequential IDs with non-predictable UUIDs
03Ajouter un middleware d'autorisation au niveau API GatewayAdd authorization middleware at API Gateway level
Effort correctifFix effort: 2–4 hrsPCI-DSS Req 6.4ISO 27001 A.9.4.1
9.1CVSS v3.1 · CRITICAL
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityLow
  1. Structure du rapport livréDelivered report structure
  2. 01Résumé exécutif (CISO-ready)Executive summary (CISO-ready)
  3. 02Rapport technique détailléDetailed technical report
  4. 03Roadmap de remédiationRemediation roadmap
  5. 04Specs OpenAPI corrigéesFixed OpenAPI specs
Comment je travaille avec vousHow I work with you

De la vulnérabilité à la correctionFrom vulnerability to fix

Votre APIYour APIOpenAPI specOpenAPI specScore inconnuScore unknownSecurAPI EngineSecurAPI EngineOWASP · AI · CVSSOWASP · AI · CVSSScan 0–100Scan 0–100RapportReportCVSS · PoC · OWASPCVSS · PoC · OWASP4 CRITICAL4 CRITICALSprint PlanSprint PlanPar prioritéBy priority3 sprints3 sprintsAPI SécuriséeSecured APIPCI-DSS ReadyPCI-DSS ReadyScore 85+Score 85+
01

Je détecteI detect

Chaque vulnérabilité classée par sévérité CVSS, avec preuve d'exploitationEvery vulnerability ranked by CVSS severity, with exploitation proof

02

J'expliqueI explain

Débrief avec votre équipe — chaque finding devient une tâche JiraTeam debrief — each finding becomes a Jira task

03

Je prioriseI prioritize

Roadmap sprint par sprint — les CRITICAL en sprint 1Sprint-by-sprint roadmap — CRITICAL in sprint 1

04

Je vérifieI verify

Re-scan après correction — je confirme que la faille est ferméeRe-scan after fix — I confirm the vulnerability is closed

Déroulement d'un audit Express — 5 joursExpress audit timeline — 5 days

Réception de vos specs OpenAPI · signature NDA · setup environnement isoléReceive OpenAPI specs · NDA signed · isolated analysis environment setup

OWASP Top 10 · détection BOLA/Auth/PAN · scoring 0–100 par endpointOWASP Top 10 · BOLA/Auth/PAN detection · 0–100 scoring per endpoint

Business logic review · auth bypass chains · test des flux financiers critiquesBusiness logic review · auth bypass chains · critical financial flow testing

CVSS scoring · PoC documentation · roadmap sprint par sprintCVSS scoring · PoC documentation · sprint-by-sprint roadmap

Rapport complet · appel débrief équipe · specs OpenAPI corrigées livréesFull report · team debrief call · corrected OpenAPI specs delivered

Architecture de référenceReference architecture

Ce que je construisWhat I build

Chaque requête est authentifiée, autorisée et auditée — indépendamment de sa source.Every request is authenticated, authorized and audited — regardless of its source.

Du commit au déploiement en production — chaque étape a son gate sécurité. Les failles ne passent pas.From commit to production — every step has a security gate. Vulnerabilities don't make it through.

Microservices — chacun valide le JWTMicroservices — each validates JWT independentlyClientsClientsWeb · Mobile · 3rd partyServices internesInternal servicesmTLS · service meshPartenairesPartnersOAuth2 · scopedAPI GatewayRate limit · WAF · JWT validation · LogsAuth ServerOAuth2 · PKCE · ScopesObservabilitySIEM · Logs · AlertsAccountsPaymentsUsersAdminBases de donnéesDatabasesAES-256 · TLS · RLSSecretsSecretsVault · rotation autoEvent QueueEvent QueueKafka · async · DLQ✓ JWT · scope · rate-limit
DeveloperDeveloperSpring Boot APISpring Boot APIOpenAPI specOpenAPI specGit commitGit commitSecurAPI GateSecurAPI GateOWASP scanOWASP scanBOLA checkBOLA checkJWT validationJWT validationBlock if CRITICALBlock if CRITICALRegistryRegistryDocker image scanDocker image scanCVE checkCVE checkSBOM generationSBOM generationCloud DeployCloud DeployKubernetesKubernetesAuto-scalingAuto-scalingZero-downtimeZero-downtimeProductionProductionAPI securedAPI securedPCI-DSS readyPCI-DSS readyMonitored 24/7Monitored 24/7Infrastructure cloud — sécurisée par défautCloud infrastructure — secure by defaultAPI GatewayWAF · DDoS · ThrottleService MeshmTLS · Istio · LinkerdSecrets ManagerAuto-rotation · VaultObservabilityPrometheus · Grafana · SIEMIaC SecurityTerraform · OPA · policiesBLOQUÉ — CRITICALBLOCKED — CRITICAL
-- /100
0
Critical
0
High
0
Medium
0
Low
What impacts the score

Votre demande

Choisissez ce dont vous avez besoin.

Sélectionnez une ou plusieurs options. Je réponds sous 24 h.

Services demandés

Aucune sélection pour le moment.