Loops HousePayables

NEAR HACKATHON
Team
1 member- DAOwner
Daniel Ibok
Overview
Payables is an AI accounts-payable agent for DAOs that can't steal from the treasury, even if it's compromised or prompt-injected.
The problem: an AI agent holding a wallet can be talked into paying the wrong account. A doctored invoice, a swapped payout address, or a hidden "ignore previous instructions" is enough.
How it works: suppliers submit PDF invoices. The agent reads them with NEAR AI Cloud, matches them to purchase orders, and runs deterministic risk checks. Invoice text is treated as data, never as instructions. But the agent doesn't decide what gets paid. Its NEAR key can only call request_payment on a policy contract (Rust, near-sdk) that enforces a payee allowlist, a 5 USDC auto-pay limit, a 15 USDC daily cap and one payment per invoice hash. Anything above the limit becomes a Sputnik DAO v2 proposal that the council votes on from the dashboard, and changing a supplier's payout account also needs a DAO vote. Payments are USDC on the NEAR testnet.
Try it at https://payables-zeta.vercel.app, no wallet needed. The contractor portal has one-click sample invoices (clean, tampered payee, prompt injection, over the limit), and the red team page hands you the compromised agent's key so you can try to drain the treasury. Every attack is refused on-chain.
Built during the hackathon with NestJS, Next.js, Prisma, and BullMQ.