Reference
Security model
Mortise is built so that an agent can be wrong, or taken over, without the owner losing more than the caps they set. This page lists what each key can do, how the code was tested and how to report a problem.
What each key can do
| Key | Can | Cannot |
|---|---|---|
| Root | Change every setting, plug pieces in and out, move the funds directly, replace itself. | Act without enough of its keys signing. |
| Agent | Run actions through adapters it is allowed, within its caps and floors, until its expiry. | Change settings, install modules, rotate the root, send outside the vault family or listed recipients through the included adapters. |
| Strategy module keeper | Trigger a due step of the module it was named for. | Choose what the step does, or skip the Gate's checks. |
| Pauser | Freeze every agent and module. | Lift the pause, or anything else. |
| Guardians | Together, replace a lost root after the delay of 7 to 90 days. | Act before the delay, or after the root cancels. |
If a key is lost or stolen
- An agent key: revoke the agent, or press pause. Until then it can spend no more than its caps allow in each period.
- A root key in a multisig: the other keys replace it.
- A lost root: the guardians replace it after their delay.
- A stolen root with the timelock installed: the thief's changes wait for the delay, while the owner can move everything to a registered address at once and cancel the schedules until the guardians replace the key.
How it was tested
Every test runs against the real contracts on a fork of Robinhood Chain mainnet, never mocks. The suites cover vault creation, passkey roots, every adapter on live pools and markets, a red team of attacks on the Gate, fuzzing, sub-vaults, the timelock, the deposit router and the deployment itself.
On top of the tests, 47 symbolic properties pass under Halmos, and nine Certora rules are verified on the deployed Gate: the call, approval, cap and swap checks, settings changed only by their own vault, and family links. The SDK and the MCP server were run on mainnet through Alchemy's bundler before release.
Audit status
Mortise has not had an external audit yet. Treat the contracts as new code, and start with amounts you can afford to lose while the deposit limit is in place.
Reporting a vulnerability
Open a private security advisory on the GitHub repository rather than a public issue.