Loops Housempc firewall

NEAR HACKATHON
Links
Team
1 member- STOwner
Stephen David
Overview
The Problem: Function Call Keys on NEAR only inspect NEAR-native calls. When an AI agent calls v1.signer to execute cross-chain transactions, NEAR only receives a blind 32-byte hash. A compromised agent can disguise an approve(MaxUint256) blank check or nested multicall drain behind that hash.
What We Built: MpcFirewall acts as an on-chain X-ray security gate for NEAR Chain Signatures:
On-Chain Decoders: A Rust contract on NEAR that recursively parses raw EIP-1559 RLP calldata and native Bitcoin SegWit UTXOs, computing hashes only after deterministic policy checks pass. 3-Tier Policy: Auto-approves routine errands under $100, escalates $100–$500 expenses to SputnikDAO / Trezu for human multisig quorum, and drops wallet-drainers cold. Private AI Enclave: Co-audits stated intent vs. extracted calldata inside NEAR AI Cloud TEE.
How NEAR Fits In: MpcFirewall owns the MPC derivation path on NEAR (mpc-firewall.testnet → v1.signer), turning NEAR into the safest multi-chain execution hub for autonomous AI agents.