Loops HouseOR
Orthrus Protocol

Event
NEAR HACKATHON
Links
Team
1 member- PEOwner
Peiyu Ge
Overview
Orthrus Protocol is a dual-headed security gateway and sandboxed execution runtime for autonomous AI agents on NEAR. While agents need wallets to participate in the open economy, giving LLMs unrestricted private keys creates existential risks of prompt injections, social engineering, and runaway spending loops. Orthrus solves this through a novel Dual-Headed architecture:
- Head 1 (Semantic Intent Guard): Analyzes agent execution context and raw prompts off-chain before touching the blockchain, blocking adversarial jailbreaks and catastrophic drain attempts at zero gas cost with heuristic threat scoring.
- Head 2 (NEAR On-Chain Policy Engine): A production-grade NEAR smart contract (written in Rust using near-sdk 5.5) that leverages NEAR's native Function Call Keys and Sub-accounts to enforce single-spend caps, rolling 1-hour and 24-hour spending velocity limits, allowed contract/method whitelists, and a 1-click emergency panic kill-switch for human supervisors. The project features a full Rust smart contract, a TypeScript SDK (@orthrus/sdk), an interactive CLI attack simulator, and a real-time web monitoring dashboard with 100% unit and integration test coverage.