Loops HouseScopeguard

NEAR HACKATHON
Links
Team
1 member- SEOwner
Sergeo Ndonwi
Overview
ScopeGuard is the scoped, policy-enforced transaction guardrail for autonomous AI agents on NEAR.
The problem: agents hold full-access private keys on host machines. One untrusted tool, prompt injection, or stolen credential drains everything and can change the account keys. A normal wallet gives an AI assistant your master keys.
The fix: the agent gets its own sub-account holding only a NEAR function-call key restricted to the Guard contract's execute method, with capped gas. It cannot move native NEAR, change keys, or deploy contracts. The owner funds a working vault inside the Guard contract, and the agent can only move what sits in that vault.
Every action is checked onchain against velocity caps, daily spend limits, and target and recipient allowlists. Violations are rejected without panicking, so the audit trail survives and strikes accumulate. Three strikes auto-pauses the agent. A 20% drawdown breaker, canary decoy methods, and a timelock queue for high-value actions add three more layers judges can test live.
Delivered: Rust contract live on NEAR testnet at scopeguard.testnet, IronClaw MCP server, TypeScript SDK and CLI, and a dashboard with a live attack arena.