Security
How Heimdall keeps agents honest and your funds out of reach, enforced by contracts rather than promises.
4
internal reviews
143
contract tests
29
fuzz and invariant properties
0
open critical or high
How you are protected
Shield receipts
Every verdict is signed with EIP-712 (domain "Heimdall Shield", version 1). A receipt binds the exact account, target, calldata hash and value, expires after 120 seconds and works once.
Vault guard
Vaults only run calls with an ALLOW receipt, and only calls the multisig has allowlisted. Tokens can only be approved to reviewed routers. Each trade, and every 24 hours in total, can lose at most a fixed share of the vault, valued with oracle prices.
Always an exit
redeemInKind returns your share of every asset, needs no price and works while a vault is paused. If one token is ever halted, redeemInKindExcept leaves it behind so the rest still comes out.
Escrow that can't get stuck
Heimdall Pay settles every job exactly once. A dispute nobody decides splits 50/50 after 14 days, and if USDG freezes one party, the others are still paid.
Price bounds
Auto-Invest never buys while the oracle is stale or paused, and never fills worse than the bound you set (at most 5%). The fee your plan starts with never changes.
Admin keys
Every contract is owned by a multisig through two-step ownership. Fees have hard caps in code. Managers, keepers and arbiters can never withdraw anyone else's funds.
Reviews and testing
| Review | Scope | Found | Report |
|---|---|---|---|
| Review 1 | Vaults, Signals, factory, Shield guard | 1 critical, 2 high, 6 medium, 5 low, 6 info | Read |
| Review 2 | Heimdall Pay, staking, fee splitter, stock price feed | 0 critical, 0 high, 1 medium, 5 low, 7 info | Read |
| Addendum | Auto-Invest | 2 low, 3 info | Read |
| Review 3 | All contracts: invariant testing, ERC-4626 views, build size | 0 critical, 0 high, 0 medium, 2 low | Read |
| Review 4 | Risk Oracle, Guard for Safe, x402 facilitator, Agent Passport | 0 critical, 0 high, 1 medium, 2 low | Read |
Every critical, high and medium finding is fixed, and each attack is kept as a test that must keep failing. The contracts also run property-based fuzzing (allowance safety, fee fairness, pro-rata exits, voucher accounting, escrow conservation, staking solvency, bounded Auto-Invest buys) and Slither static analysis. An independent audit comes next; its full report will be published here.
Independent audit
The contracts go to an independent audit firm. The audit pack is ready: scope with file hashes, threat model, invariants, known issues and every internal review. The full report will be published here, with every finding and how it was fixed.
Report a vulnerability
Email security@heimdall.fund with the steps or a proof of concept, ideally a test against a fork of Robinhood Chain. We reply within 48 hours.
Please test on a local fork, never on mainnet funds that are not yours, and keep the issue private until it is fixed. If you follow these rules, we will not take legal action over your research.