Skip to content
All articles

Auditing before the first user: 67 security findings on Jungle Immobilier

· · 2 min read

Jungle Immobilier sells on-the-ground information about furnished rentals in Cameroon — access video, neighbourhood hotspots — unlocked with tokens bought through Mobile Money. Moving from a local prototype to an internet-facing platform that handles money is exactly when small projects skip the security review.

I did the opposite: a structured audit before launch. It produced 67 findings — 13 critical, 13 high, 21 medium, 20 low. After review, 40 were confirmed, 27 judged overstated in this context, and 34 classified as launch blockers. Fixes shipped between 17 and 21 August 2026.

1. A token paywall that cannot lose money

Unlocking a listing means debiting 5 tokens and creating a 72-hour access right in one move. Done naively, a replayed request could debit twice, two concurrent requests could grant two rights, and an idempotency key captured on one listing could be reused on another — the audit rated that critical.

The unlock now runs in a transaction: a balance-guarded conditional debit, then the access right. A unique index on active rights makes a double unlock impossible at the database level, and the idempotency key is bound to the user and the listing.

2. Never credit on a webhook's word alone

A payment webhook is an incoming call claiming an order is paid. Crediting a wallet on that claim alone lets anyone who can forge it mint tokens.

The webhook only triggers a reconciliation: the service asks the provider for the authoritative status, then credits within a transaction, with the order ID as idempotency key. An order is credited once, never twice.

3. The Docker trap: databases exposed despite the firewall

A port Docker publishes on all interfaces is reachable from the internet even with the host firewall on, because Docker inserts its own network rules upstream. The audit found both databases exposed this way, with no authentication.

No port is published on the host any more: everything goes through the proxy, and the API is reachable only for the two payment webhook routes. The result can be checked from outside, response by response.

4. An internal tool that cannot be turned against its host

The import tool fetches URLs supplied by an operator, on the same server as private services: a forged URL could make it read the internal network (an SSRF hole). Every outgoing request now goes through a layer that allows only http and https, refuses private address ranges and re-validates every redirect.

One last point, stated plainly: automated tests remain this project's weak spot. Each deployment step, however, is gated by recorded manual checks.

A project that touches money, data or several sites?

In 30 minutes I will tell you what is risky, what is simple, and where to start.

Auditing before the first user: 67 security findings on Jungle Immobilier