MeteraDOCS
Request access

Reference

Security model

Metera is built for agents that hold real money, so it is designed to be safe even when the agent is wrong, compromised or tricked.

What Metera never does

  • Never sees or holds a private key. Signing happens in your Turnkey enclave with a delegated signer. Metera holds no funds; there is nothing to withdraw and nothing to trust.
  • Never signs what failed your policy. The signer is policy-scoped: only transactions that passed your rules are signed.
  • Never trusts what the caller says a transaction does. The intent is checked against the decoded instructions, and token risk runs on the mint the transaction actually outputs, not the one you typed.
  • Never calls missing data safe. No data is a caveat, never a pass.
  • Never resends blindly. Failed or expired executions are not retried automatically.
  • Never stores your gate policy or verdict. Only the underlying checks are logged.

Threats it is designed against

ThreatDefence
Prompt injection makes the agent request a bad tradeYour policy (programs, mints, size, daily cap, impact) is enforced outside the agent, before signing
A transaction hides an extra instructionLayer 3 denylist: hidden Approve, SetAuthority, mint, burn or freeze, a foreign CloseAccount, program upgrades, lookup table mutation
The bytes change between check and signatureLayer 4 ties message_hash and raw bytes to the verified transaction and re-simulates
A malicious or spoofed output tokenToken risk on the decoded output mint, never the claimed one
One RPC lies or lagsSimulation on two independent RPC nodes at the same slot
One data source is wrongLevels, independence rules, anchors and a sampled semantic judge; refusal when the level cannot be reached
Someone later disputes what Metera saidMerkle-anchored proof of every delivered record