API SecuritySoftware Security

Payment Replay to Free Compute Credits

Payment Replay to Free Compute Credits

In plain English

Replaying an old payment created new credits, like a receipt that works every time you show it.

The technical account follows below, for readers who want the detail.

Three lessons any team can use

01

Every payment action needs a guard against being repeated.

02

Check that a payment already settled before handing over value.

03

Replay protection belongs in the ledger, not the interface.

The Technical Detail

The Challenge

A cloud development platform credited virtual machine time on payment, but replaying a completed transaction through a proxy minted fresh credits without fresh payment. The payment path never confirmed whether a transaction had already settled, so one purchase could be spent over and over.

High severity triage
Credited GHSA reporter
Payment replay proven on video
Idempotency guidance delivered
Payment Replay to Free Compute Credits overview
Payment Replay to Free Compute Credits results
Our Solution

How We Proved It

Traced the flaw to missing idempotency in the checkout and team mutation logic, where replayed transactions processed as new instead of settled. Showed the credit balance climbing past 5,000 on replay with screenshots and a walkthrough video, supplied workspace identifiers so the vendor could trace events in their own logs, and filed a full public advisory with reproduction detail. The vendor confirmed investigation and the researcher was formally credited on the published GHSA.

Company

CodeSandbox

Date

Jun 21, 2024

Category

Security Advisory

Full Writeup

Researched and disclosed by Abang Obed. Read every step, payload, and takeaway.

Read the advisory
CTA Background

Know your risk. Strengthen what matters.

Tell us where you are, what you rely on, and what you need to protect. We will help you understand what to do next.

Talk to us