Transfer requests verified before money moves
- Transfer requests verified before money moves
- 0% → 100%
- Tampered transfers after release
- Zero
- Requests and responses are signed and checked
- Both ways
The challenge
The company’s security team found that a transfer request could be intercepted and altered on its way from the app to the server. An attacker could swap the receiver’s phone number for their own, and the money went to the attacker’s account. The server had no way to tell that the request it received was not the one the customer sent.
The approach
We made every message prove it had not been changed. The app and the server agree on a secret key for each session through a key exchange, so the key itself never travels over the network. The app signs each request with that key (HMAC-SHA256), and the server recomputes the signature from what it received and refuses the request unless the two match. Responses work the same way in the other direction: the server signs, and the app checks before it trusts what it shows.
THE RESULTAfter release, a request altered in transit no longer matches its signature and is rejected before any money moves. The security team recorded no tampered transfers after the fix went live.
Client details are withheld, and the implementation is described in outline only, on purpose. The result is as reported by the client’s security team.