Loops HouseBounden

NEAR HACKATHON
Team
1 member- HAOwner
Hassan Dosunmu
Overview
Bounden is a digital-goods shop run by an autonomous agent that is structurally incapable of theft. The cashier's entire on-chain authority is two NEAR contract methods - fulfil_order and issue_refund - exercised through an allowlisted function-call access key. The shop contract is the constitution: a catalogue, a price band that binds even the owner, a refund band (a $50 cap inside a one-hour window), and a treasury only the owner can withdraw, to the owner account only. The cashier cannot move the treasury, redirect a payout, or refund outside the band, because those operations do not exist inside its authority - and anyone can verify that, because every power it holds is a public, inspectable on-chain object. Buyers pay the contract directly in a USD stablecoin (Circle's NEAR testnet USDC) via ft_transfer_call; the cashier never touches payment. Its order and refund judgements come from NEAR AI Cloud TEE inference, and when a judgement approves an order, its attestation hash is written on-chain with that order, verifiable after the fact. Inventory is sealed: on-chain you will find only SHA-256 commitments, never a usable code; plaintext lives in the worker's encrypted vault and is delivered re-encrypted to the buyer. The repo ships a live, reproducible attack suite - prompt-injection treasury drain, out-of-band refund, payout redirect, inventory dump, price-band violation - each case printing the on-chain rejection it hit. Bounden is a template: an open constitution and storefront any agent-run digital-goods business can adopt. Solo build, all code written after 19 Oct 2026. Testnet build; demo inventory is clearly fake and test-marked.