Loops HouseSealed Exploit

NEAR HACKATHON
Links
Team
1 member- EDOwner
Edy Cu
Overview
Bug bounties are trust-first: the hunter reveals the bug, then a human triager decides whether to pay. The protocol can patch it and call it known, and AI-written fake reports bury the queue.
Sealed Exploit pays for an executed break of a committed invariant on a committed snapshot. A keyless NEAR account on global contract code (demo and corpus bounties; one early test bounty was keyed) commits the snapshot hash, the invariants and the hash of the verifier WASM. A hunter (person or AI agent) posts a bond, commits H(exploit, hunter, salt) and stores the exploit as an OutLayer encrypted secret. The contract asks NEAR OutLayer to run the pinned verifier in a TEE worker (Intel TDX, per OutLayer's docs); it replays the exploit in revm and runs the level's own validateInstance. The verdict comes back to the contract's own callback: no separate oracle, the worker's execution is the trust assumption. The first commit that verifies is awarded, once per invariant; everything else is refused on chain with a reason and a fake costs its bond. The hunter then delivers the exploit sealed to the protocol key, and the contract pays only if it hashes to the h_enc in the worker's verdict.
Measured on NEAR testnet (5 Ethernaut levels; 29 on-chain runs from a 52-item corpus): 5 of 5 real exploits paid on the demo bounty, 0 of 21 fakes paid (corpus bounty), 6 of 6 refusal kinds fired on chain. LLM-only triage (4 text-only models, one on NEAR AI Cloud, no code execution) would pay 1 to 3 of those 21 fakes. Request to verdict p50 7.3 s, p95 10.9 s.
Verify without a NEAR account: make replay (offline) and make verify (all 29 runs chain-checked via a public archival RPC). Limits: targets are CTF-grade Ethernaut levels, not live protocols; trust bottoms out in Intel TDX and OutLayer's attested worker image (we check the worker key, not the quote); mainnet not run.
NEAR is the engine: OutLayer request_execution and store_secrets, global contracts with no keys, yield/resume callback.