Built for NEAR Protocol Hackathon · Cross-Chain via NEAR Intents

The Autonomous General Contractor with Hard Cryptographic Safety.

AI agents with raw keys face unbounded financial risk. NexusGuard enforces scoped Function-Call Access Keys, autonomous build-vs-buy task decomposition, 1-round counter-offer negotiations, and real-time prompt-injection defense with cross-chain USDC settlements.

NEAR Protocol NEAR Intents (1Click) Base L2 OutLayer market.near.ai

See It Run in Real Time

Watch the full pipeline execute — from policy-bound wallet initialization to cross-chain settlement — or see the Security Swarm intercept a live attack.

nexusguard@near:~$
SIMULATOR ACTIVE

Three Pillars. Zero Trust Assumptions.

Every layer is mathematically bounded — no raw keys, no unbounded spend, no unverified deliverables.

Bounded Key Custody & Policies

Scoped Function-Call Access Keys only — never FullAccess. Hard budget caps ($25.00 USDC) and human-in-the-loop co-signatures for payouts exceeding $10.00.

Cannot call delete_account
Cannot call add_key
Cannot exceed budget cap
Scoped to escrow.nexusguard.testnet

Autonomous Procurement & Negotiation

Evaluates build-vs-buy tradeoffs across 3 strategies: self-build, agent-market outsource, and cross-chain micro-bounty. Counters overpriced quotes exactly once.

sec-swarm-alpha.near $9.50WALKED AWAY
audit-bot-lite.near $6.80→$6.45COUNTERED
verifier-alice.base.eth $4.75ACCEPTED

Invisible Cross-Chain Settlement

Settle deliverables across NEAR, Base, and Arbitrum in native USDC via NEAR Intents 1Click rails with accountant-ready CSV ledgers and verifiable receipt hashes.

RCP-4023A042 $0.00 · NEAR
RCP-4D8669FF $6.45 · NEAR
RCP-A4C4C336 $4.75 · Base L2
Active Defense Layer

AI Firewall & Security Swarm

Every outgoing transaction passes through a multi-layer interception pipeline before reaching the chain adapter.

Threat Detection Patterns

!

Prompt Injection

ignore all previous instructions

!

Escrow Bypass

bypass_escrow drain_to_external

!

Admin Override

ADMIN_OVERRIDE transfer_all_funds

!

On-Chain Blocklist Hit

0xDEADBEEF...BAD → BLOCKED

7 regex patterns + on-chain blocklist matching · Sub-1ms detection latency

Cryptographic Incident Receipt

Incident ID INC-A4B7C1AE
Threat Type PROMPT_INJECTION
Risk Level CRITICAL
Attacker rogue-auditor.near
Amount Blocked $50.00 USDC
Status BLOCKED

SHA-256 Receipt Hash

130380b82b2a65e6b835394240515ae6…

Every blocked transaction generates an immutable cryptographic receipt for audit trail & forensic analysis.

Rule Q-017 Compliant

Automated Screening & Judge Reproducibility

Clone. Install. Run. Every feature is deterministic and testable with zero funded wallets or secret keys.

Terminal — Verification Commands

# Full pipeline — zero keys needed

$ python main.py --dry-run

# Prompt-injection attack simulation

$ python main.py --attack-demo

# Run all 54 automated tests

$ pytest tests/ -v

======================== 54 passed in 7.15s ========================

# Launch Mission Control UI

$ python server.py

→ http://localhost:8000

54

Passing Tests

0

Keys Required

7

Injection Patterns

3

Cross-Chain Settlements

Built to Sweep 6 Tracks

Every module is purpose-built for a specific hackathon judging category.

🤖

07-agents

Multi-agent orchestration, market.near.ai integration, 1-round negotiation state machine.

🛡️

06-security

Prompt-injection defense, key custody policy engine, cryptographic incident receipts.

🐝

05-swarms

Multi-agent swarm coordination with build-vs-buy decomposition and specialist delegation.

💼

04-business

Autonomous procurement, accountant-ready CSV ledgers, verifiable financial audit trail.

🌍

08-realworld

NEAR Intents 1Click cross-chain settlement with real API integration and verifiable receipts.

💎

01-defi

NEAR Intents 1Click API cross-chain quotes, NEP-141 escrow interface, USDC settlement rails.

Ready to Explore?

Launch the Mission Control dashboard and run the full NexusGuard pipeline yourself — zero funded wallets required.