uvsign threat model

What uvsign checks on your machine, what it protects against and what it cannot.

uvsign checks, locally, that each transaction is on the requested chain, calls the pinned UvRouter (code hash verified on chain), is canonically encoded, pays out to you, sells and buys what was requested, has a minimum output at or above the Chainlink floor, sends no unexpected value, approves no unknown spender, and pays a capped network fee. Refusals use fixed sentences only, never text from the server or chain. The confirm page loads nothing from the network and needs a human act the agent cannot perform.

It cannot protect you from a compromised machine: malware running as your user or as administrator can read hot keys (agent key, burners) and watch what you approve. Keep your main key in a hardware wallet or an encrypted keystore, and do not give the agent your password.

An agent that can run shell commands (Claude Code, Codex, Gemini CLI, OpenCode, …) is local software running as you, and nothing running as you can be fully protected from it: it can replace the uvsign binary, rewrite its files and fake its pages. uvsign removes the easy paths. Hot keys (agent key, burners) are encrypted with a hot-key password that uvsign keeps in memory only and asks for once per run; their records and the main address they pay back to are sealed with it, so they cannot be rewritten without it. --password-file keeps the password on disk for unattended use, and uvsign hot-keys lock moves keys from older versions off their password files (treat those keys as exposed). The security-relevant settings (RPCs, server, routers, address, signer, keystore path, price limits) must match an approval signed by your main wallet; hot keys additionally require that wallet to be the one they are bound to. When you configure your own RPC, Chainlink prices are also read from uvsign’s built-in RPC and the two must agree within 0.5%, and a node more than two minutes behind is refused. See SECURITY.md for what this does not cover. The safe setups are ask-every-time with a hardware wallet, or budget mode, whose on-chain limits hold even if the agent key leaks. Use burners only with amounts you can lose. Pairs without Chainlink feeds are signed only up to unpriced_max_usd ($25).

The deadline check accepts a deadline up to 60 seconds in the past (clock tolerance) and at most 10 minutes ahead.

uvsign has had internal security reviews only, no external audit. See SECURITY.md.

What uvsign protects against

uvsign decodes and checks every transaction locally against pinned contracts, Chainlink prices and the stated request, and a person approves on a local page or device. Budget and burner keys are limited by uvsign and, for budgets on Base, by on-chain enforcers.

It does not protect against a compromised machine: malware running as your user or as administrator can read hot keys and interfere with what you approve. Your main key is safe only in a hardware wallet or behind a keystore password the agent does not know.