Skip to content

alexopsec/stake-casino-exploit

Stake Seed Rotation Exploit PoC v2.2

Build Status Version License Node.js

A Proof of Concept for exploiting Stake.com seed rotation via race-condition vulnerability in Mines, Coinflip & Crash using concurrent WebSocket sessions, nonce flooding, and intercepted hash derivation.

Educational Use Only


🚀 Quick Install

Requirements:

  • Node.js 18+
  • npm
# 1. Clone repo
git clone https://github.com/Marcedv2/stake-casino-exploit.git
cd stake-casino-exploit

# 2. Install dependencies
npm install

🔮 Usage When you run the exploit engine, it will boot with a startup sequence, then ask for parameters via CLI: Game Choice → 1 for Mines, 2 for Coinflip, 3 for Crash Client Seed → Get from Stake (Game → Fairness → Copy) Server Seed → Optional (uses live intercept if blank) Number of Games → How many predictions ahead

Example: Mines Prediction

node index.js
Select Game: 1 ( 1 for mines 2 for coinflip )
Enter Client Seed: Your_Active_Client_Seed
Enter Server Seed Hash: Hash_Of_The_Current_Server_Seed
Enter Nonce: 0

[ ✓ ] [ ✓ ] [ X ] [ ✓ ] [ ✓ ]
...
Recommendation: Pick ✓, avoid X

Example: Coinflip Prediction

node index.js

Select Game: 2 ( 1 for mine 2 for coinflip )
Enter Client Seed: Your_Active_Client_Seed
Enter Server Seed Hash: Hash_Of_The_Current_Server_Seed
Enter Nonce: 0

Nonce 0: Heads (82%)
Nonce 1: Heads (71%)
...

Example:

```python-repl
Nonce 0: Heads (82%)
Nonce 1: Heads (71%)
  • 📜 License MIT — see LICENSE.

About

proof of concept of a race condition caused in stake.com online casinos backend allowing early prediction in games like mine , crash and coinflip

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors