Home/Case Studies/Signed Security Testbed
Back to case studies
Case Study

Signed Security Testbed on Real Stripe and AWS KMS

A security startup needed to show buyers, not just tell them, that its owner check stops a stolen token on systems that move real money and real keys. We built a live testbed that fires up to 200,000 simulated attacks per run at real Stripe, AWS KMS and Google Cloud KMS calls, with the check off and then on, and seals every run so anyone can verify the result.

Python / FastAPIStripeAWS KMSGoogle Cloud KMSPost-Quantum Signatures
Signed security testbed dashboard: 200,000 of 200,000 through with the owner check off, 0 with it on

The Challenge

Buyers kept asking the same question: if an attacker steals a valid session token, what actually happens on a payment or a key-signing call? The client needed a dashboard a presenter can run live in a briefing, with real provider APIs at the end and evidence a third party can check afterwards. This builds on the continuous authentication and post-quantum work for the same client.

What We Delivered

  • Run generator. 100,000 simulated stolen-token requests per attack scenario, 200,000 in the combined run, mixed with 11,000 genuine owner transactions that must still clear.
  • Owner-check gateway in FastAPI. With the check on, a request without fresh owner evidence is refused before anything leaves the server.
  • Real rails. Stripe payment intents, AWS KMS signing and Google Cloud KMS signing, with the result shown per rail.
  • Sealed reports. Every run is signed with ML-DSA-65, a post-quantum signature scheme, over the results and the hash of the full request log, and timestamped under RFC 3161 by a public authority.
  • Provider proof. Stripe events and AWS CloudTrail confirm the refused requests never reached the provider.
  • Reporting extras. MITRE ATT&CK technique IDs on each attack card, a run archive, and a 95% upper bound on the breach rate in the downloadable JSON.

Results

  • Owner check off: 200,000 of 200,000 stolen-token requests went through.
  • Owner check on: 0 went through, across every run in the test set.
  • 11,000 of 11,000 genuine owner transactions cleared in both modes, with 0 lockouts.
  • 0 errors over 231,000 logged requests in the combined run, on an 8 vCPU server.

Testbed dashboard, real rails table and verification boxes

Architecture: run generator, owner-check gateway, real rails, signed report, timestamp, provider proof and dashboard

The Detail That Needed Care

In our own end-to-end review we found that the public demo token shown on screen could reach the real Stripe, Google and AWS endpoints, even though every demo run behaved correctly. We closed it before the client's briefing: the rails now need a per-run secret only the presenter's run holds, and an outsider with the public token gets 403 on all three. Request bodies are capped at the proxy and 46 automated tests cover the gateway and reports.

What We Did Not Claim

The attacks are simulated replays of stolen tokens against a testbed built for briefings, not a production deployment. It does not show that any real or quantum attack was stopped, and the owner check is a behavioural signal, not biometric certification.

Need to prove a security control to buyers?

Baydot builds live tests on real APIs that produce checkable evidence, and reports only what that evidence supports.

Book a Free Call