How money leaves payment apps.

In the large public losses of recent years, a request arrived that looked legitimate and the product honoured it. This page sets out six ways that happened, each from public cases, and the rule MATT holds a payment product to for each one.

The findingWhat the product believed

The request looked right. The product paid.

Each case below turns on something the product accepted as true: that a payment had succeeded, that a balance was still there, that a refund was owed, that a reward had been earned, that the caller owned the account, or that a partner’s message was accurate.

  • 45 minutes

    MobiKwik’s stated time to fix the fault behind its September 2025 payouts.

    The Week (PTI) ↗
  • 1 hour

    Kraken fixed the deposit flaw reported to it in June 2024 within the hour.

    Security Affairs ↗
  • 10 weeks

    How long Razorpay’s 831 failed card payments were settled as approved in 2022.

    The News Minute (PTI) ↗

The fix took minutes. Finding the flaw took far longer.

Six patternsFrom public cases

Six ways a payment product paid out on a bad request.

Choose a pattern to see the cases behind it, the rule that holds it and how the rule is tested.

01

A payment that never completed

The product released value because something said the payment had succeeded. The payer’s bank had said otherwise.

Public cases

  • MobiKwikSeptember 2025

    A fault marked failed transactions as successful, and some merchants received payouts they were not owed. The company said it fixed the fault within 45 minutes.

    About ₹40 crore in the police case; about ₹14 crore recovered

    The Week (PTI) ↗
  • RazorpayMarch to May 2022

    Card payments that the processor had marked as failed reached Razorpay as approved after the authorisation step was tampered with, and merchants were settled. It came to light when the money could not be reconciled.

    831 transactions; about ₹7.38 crore

    The News Minute (PTI) ↗
  • KrakenJune 2024

    A product change credited accounts before deposits had cleared. It was reported through Kraken’s bug bounty programme, and the exchange fixed it within an hour.

    Nearly $3 million withdrawn

    Security Affairs ↗

The rule

Value moves only after the payer’s bank confirms the debit.

How MATT tests it

Fail the debit, forge the success message, replay an old confirmation. No credit, settlement or reward follows.

02

A balance spent twice

The balance check existed. It did not run on every path: after an update, during an outage, under requests sent at the same moment.

Public cases

  • Commercial Bank of EthiopiaMarch 2024

    A fault let customers withdraw more than they held. Word spread overnight before accounts were frozen.

    About $14 million, by the bank president’s account; nearly 80% recovered

    Associated Press ↗
  • Lotus Bank, NigeriaJuly 2024

    After a rollback fix on its bill-payment system, 718 customers made transfers without the balance to cover them. The bank later sued 45 banks to reverse the money.

    ₦1.13 billion

    ThisDay ↗
  • BithumbFebruary 2026

    The exchange credited 620,000 bitcoin where 620,000 won was intended. It said its control matching transfers to actual holdings had failed.

    1,786 bitcoin sold before the freeze

    CoinDesk ↗

The rule

No account pays out more than it holds, on any path.

How MATT tests it

Send the same withdrawal in parallel, during failover and after every release. The total paid stays within the balance.

03

A refund for money never taken

Refunds, reversals and payouts are money moving the other way. Each has to match a real payment and pay back once.

Public cases

  • Revolut (United States)2022

    The Financial Times reported that a difference between Revolut’s US and European systems made it refund certain declined payments with its own money. It surfaced when a US partner bank flagged a cash shortfall. Revolut did not confirm the report.

    About $23 million taken; about $20 million net

    Payments Dive ↗
  • LendboxDecember 2022 to March 2023

    Several hundred accounts withdrew the same money twice, once through the app and once through the payment network. Its platform partner flagged it.

    About ₹10 crore

    Inc42 ↗

The rule

A refund never exceeds what was captured, and pays once.

How MATT tests it

Refund a declined payment. Refund the same payment twice. Reopen a completed order. Nothing pays out.

04

A reward with no real payment

Cashback and bonuses are money given away by rule. Whoever meets the rule without the real activity collects.

Public cases

  • PayPalReported February 2022

    PayPal closed 4.5 million accounts that it said had been created to collect sign-up incentives.

    4.5 million accounts closed

    City AM ↗
  • Stripe (bug bounty)January 2023

    A researcher found that a one-time fee discount could be accepted again and again, and reported it through Stripe’s bounty programme.

    No loss; $5,000 bounty

    HackerOne report 1849626 ↗

The rule

A reward is paid once, to a real payer, for a payment that settled.

How MATT tests it

Pay yourself. Pay, then refund. Replay the claim. Open many accounts on one device. No extra reward is paid.

05

An account that answers to anyone

The request is well formed and the session is real. It belongs to a different customer.

Public cases

  • Lloyds Banking GroupMarch 2026

    An updated API mishandled requests arriving at the same moment, and customers could see other customers’ transactions for several hours. No money moved.

    447,936 customers may have been shown others’ transactions

    The Register ↗
  • 7pay (7-Eleven Japan)July 2019

    The password reset could send its link to an address the account holder did not own. The service was halted within days of launch.

    About ¥55 million; about 900 accounts

    Security Affairs ↗
  • CoinbaseMarch to May 2021

    Attackers who already held a customer’s email, password and phone number used a flaw in account recovery to receive the SMS code. Coinbase reimbursed the customers.

    At least 6,000 customers

    CoinDesk ↗

The rule

A user must never be able to read or act on another user’s object.

How MATT tests it

For every endpoint that accepts an identifier, a request carrying another customer’s identifier is refused, on every release.

06

A partner’s access, used as built

Banks, lenders, gateways and AI tools each hold some of your access. The product trusts what they send.

Public cases

  • MoneyviewAugust 2025

    As reported, attackers exploited weaknesses in the API integrated with its partner banks and made unauthorised withdrawals from the platform’s bank accounts.

    About ₹48.3 crore

    MediaNama ↗

The rule

A partner or tool does only what its task needs, and the product re-checks what it sends.

How MATT tests it

Act as each partner. Ask for more than the task needs. Send a status that is untrue. It is refused.

How they came to lightWho noticed

Reconciliation and partners found them first.

CaseWho noticedHow long it ran
Revolut, 2022A US partner bankSeveral months
Lendbox, 2022 to 2023Its platform partnerAbout four months
Razorpay, 2022ReconciliationTen weeks
MobiKwik, 2025The company, on day twoTwo days

From the public accounts linked above.

The gapWhy these survive routine testing

Good testing finds these flaws. The product changes between tests.

  • Scanners

    OWASP’s testing guide says business logic flaws lie beyond a vulnerability scanner and depend on the tester’s skill.

    OWASP Web Security Testing Guide ↗
  • Penetration tests

    Skilled testers do find them: missing access control was the most common serious finding in Cobalt’s 2025 report, at 31.1%.

    Cobalt, State of Pentesting 2025 ↗
  • The calendar

    In a 2024 survey of 349 security professionals, 61% updated their web apps weekly or more often, and nearly 75% tested them monthly or less often.

    CyCognito, 2024 ↗

How attacks run nowBeyond one model

An attacker runs a system, far more than one model.

A frontier model on its own, asked to find flaws, gets a small part of the way. The damage comes from the system built around the models.

  1. 01

    Many agents at once

    A swarm of agents works in parallel. One maps the product, others probe each feature, others write and run the exploit.

  2. 02

    Models from several companies

    Each task goes to the model that does it best, open and commercial alike, and the mix keeps changing.

  3. 03

    Guardrails removed

    Many of those models run with the safety limits of a public assistant taken out.

  4. 04

    Chained attacks

    Small weaknesses are joined into one path: a leaked detail, a missing check, a reused session, an account takeover.

MATT tests your product against that system: many agents, several models, 400,000+ known vulnerabilities and 1,700+ attack patterns, with each chain proved end to end.

With MATTEach pattern becomes a rule

Each pattern becomes a rule re‑proved on every release.

  1. 01

    Read the product

    MATT maps how money moves in your product from the code: every component, partner and connection.

  2. 02

    Declare the rules

    Each pattern on this page becomes a plain-English rule for your product, with an executable check behind it.

  3. 03

    Prove each one

    MATT attempts the attack with test accounts and shows the request and response for any path that worked.

  4. 04

    Keep it holding

    Each fix is retested, and every rule is re-proved on each release, as holding or broken.

From a real engagementOne payments company

16repositories connected through MATT’s GitHub app for one audit of a payments company

The audit found rare issues, remote code execution among them.

A real engagement. The client’s name is withheld.

Questions

What is a business logic flaw in a payment product?

It is a flaw in what the product is willing to accept as true. The request is well formed and often comes from a signed-in user. The product pays out because a check was missing on one path: a payment that had failed, a balance already spent, a refund with no payment behind it.

Can a vulnerability scanner find these flaws?

OWASP’s Web Security Testing Guide says business logic flaws are beyond a vulnerability scanner and depend on the skill of the person testing. A scanner looks for known weaknesses. These flaws live in how your own product moves money.

Do penetration tests find them?

Yes. Skilled testers find them, and missing access control is the most common serious finding in Cobalt’s 2025 report. A penetration test covers a set period. MATT works between tests and re-proves each rule on every release.

Where does MATT run its tests?

You choose, and it is written into the scope: staging that mirrors production, production within agreed limits, or staging first and then a confirmation in production. MATT uses test accounts only.

What does MATT need access to?

You connect MATT’s GitHub app and choose the repositories it can read, and you provide a test login to the product. The trust page lists what MATT touches and what stays with you.

Does a MATT audit count for SOC 2?

Yes. A MATT audit counts as security testing evidence for SOC 2. Your auditor confirms the evidence for your own report, as with any test.

How do we start?

With a discovery call with a MATT co-founder about your product and how you secure it today.

Know where you stand.

Book a discovery call→

Let’s understand your priority

What brings you to MATT?

What would you like help with?
01 / 02