Work · Security · 2024
A web application firewall built into the Laravel ecosystem
A comprehensive WAF for a Laravel-based ecosystem with Redis-backed rate limiting, IP-based protection, multi-CAPTCHA integration, and a Vue.js admin surface for live security controls.
Result
Week 2 credential-stuffing
pages stopped.
- Client
- Direct
- Sector
- Security
- Year
- 2024
- Role
- Tech Lead
- Length
- 14 weeks
- Team
- 3 One lead, one backend, one frontend.
Brief and outcome
What was needed.
The Direct ecosystem (Wallet, Hotels, Surveys, internal CRM) was hitting the same edge-case attacks across each app — credential stuffing, scraping, brute-force on auth. Off-the-shelf WAFs were either a heavyweight Cloudflare upgrade or a generic plugin that didn't understand the auth surfaces. We built one in-house that the application could observe and tune in real time.
What came of it.
The Direct apps stopped getting paged for credential-stuffing campaigns within the first two weeks of rollout. The ops team went from triaging blocks via SSH to running everything from the admin panel. Reusable across the rest of the ecosystem with one config file per app.
What was built
5 parts,
shipped.
A selection of projects shipped through Syntorium and our CTO's prior engagements.
Multi-layer rate limiting
In Redis with per-route, per-IP, per-user, and per-tenant buckets — burst and sustained windows tuned per surface.
Multi-CAPTCHA orchestration
reCAPTCHA v3, Cloudflare Turnstile, and an internal proof-of-work fallback for clients who can't ship Google scripts.
IP intelligence layer
Allow / deny / suspect lists, geo-blocking, and ASN reputation pulled from a third-party feed.
Live admin in Vue.js
Operations team can flip rules, replay blocked traffic, and unblock users without touching config files.
Detailed event log
Attack-fingerprint clustering so the team can see "all of these requests are the same actor" without reading raw logs.
More work
Start
Send a brief.
We reply within one working day with a written estimate or a call.
No newsletters. Your details aren't shared.
Or say hello.
Sunday to Thursday, 09:00–18:00, GMT+4. Remote engineers cover the EU and the US asynchronously. We work in English, Arabic and Urdu.
