Hunting in the Dark Forest: How I Uncovered a Private $25M Simulation Fork via an RPC Misconfiguration
An internal JSON-RPC endpoint was exposed without authentication after a path-based bypass, and it turned out to be a private Tenderly simulation fork rather than a public node. An attacker could read internal contract state and use state overrides to manipulate the simulated blockchain, potentially reverse-engineering unreleased logic and exhausting paid infrastructure quotas.
In this write-up, I’ll share my experience of discovering a highly sensitive infrastructure misconfiguration in a prominent DeFi protocol (let’s call it TargetX). What started as a simple API scan escalated into uncovering a private simulation environment containing over $25 Million in manipulated assets, and how I…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the reverse proxy only blocked the root path, so appending a chain ID path bypassed the restriction and exposed an unauthenticated Tenderly simulation fork.
Impact
Exposing the private fork could let attackers reverse-engineer unreleased protocol logic, run simulations on upcoming deployments, and exhaust paid infrastructure quotas; the text does not claim direct theft of real funds.
What the attacker needed
Network access to the RPC endpoint; no authentication required
The fix
The endpoint should require authentication and the proxy should block all paths, not just the root; the text says the ticket was reopened and validated but does not state that a fix was deployed.
How it was found
- Send a basic POST request to the RPC root endpoint and observe a 403 or gateway error.
- Append a standard EVM chain ID path such as /1 and receive a valid 200 JSON-RPC response.
- Query a core vault contract balance and compare it with the real mainnet balance via a block explorer.
- Call web3_clientVersion to fingerprint the backend and identify it as Tenderly.
- Use eth_call with a stateDiff parameter to overwrite the proxy logic slot and observe the returned empty result.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A blockchain node is a computer that stores and answers questions about a blockchain. The researcher found that the company's private test copy of the blockchain was reachable from the internet without a password, and that anyone could ask it questions or even change its pretend balances. This matters because the test copy may contain unreleased code and paid resources that outsiders should not touch.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.