Give an agent money, not the keys

Three independent layers stand between a compromised trading agent and your funds.

Layer 1

NEAR protocol

The agent’s key is a function-call key. It cannot transfer NEAR, add keys or attach a deposit, and it only reaches its own Guard.

Layer 2

Guard contract

Enforces loss limits, position caps and a slippage floor, and only pays the trader or an address their own wallet approved.

Layer 3

Counterparty check

Before paying anyone, the agent asks about the receiver. It refuses to sign on block and asks a person on warn.

Check an account

What is checked

Shared blocklistContract view call
Exists, is a contractNEAR RPC
Code changed recentlyArchival RPC, comparing code hashes
Account age, activityFastNear Transactions API
Past interactionsTransactions shared by both accounts

If a source can't be read, the answer is a warning, never a silent pass.

Shared blocklist (0)

One report warns. Two reporters, or a confirmation, block.

AccountReportsStateLatest evidence

Limits of each layer are written up in the README.