DCA Vault
Safety / Security

Security

What has been checked, what has not, and the limits in place until it has.

$5,000

is the most that can be waiting in the vault to be spent, in total, until an outside audit is done. The contract refuses any deposit past it. Interest is not counted.

Outside auditNot yet
Open findings, medium or above2, narrowed, not closed
UpgradesNone possible. There is no proxy
Admin key[Safe address, after deploy]

What was run

Seven rounds. The first four each fixed what the last one found and ran everything again. The fifth was four separate read-throughs before the source was published. The sixth fixed four of the contract findings and narrowed two it could not close. A re-review showed one of those was looser than we had said, and it was narrowed again. The seventh was seven separate audits, each following a different published method, then six reviews of the fixes. It found nothing rated medium or above, and its four contract fixes are in. The findings and the fixes are written up in the repository.

What is still open

Two findings rated medium are narrowed, not closed. Both are reasons the vault holds $5,000 at most for now.

What each one can cost you is on Risks.

ToolWhat it doesLatest run
FoundryUnit, fuzz and invariant tests249 pass, and 31 more on a fork of Base
EchidnaProperty fuzzing11 properties hold
HalmosSymbolic checks18 of 19 pass, 1 did not finish (round 6b's code)
Slither, AderynStatic analysisEvery result triaged
MythrilSymbolic executionEvery result triaged (round 6b's code)

Who can do what

CanCannot
YouStart a plan. Stop it on any day the lending market can pay.Touch anyone else's plan.
KeeperSend a buy once it is due.Change the stock, the amount, the destination or the schedule. Withdraw anything.
AnyoneSend a buy 12 hours after it could first go through.The same limits as the keeper.
AdminPause new deposits, switch off a route, lower the fee, change the deposit limit and the keeper. Add a route, loosen the price limit, change a price feed or raise the fee, up to 10% of interest, after 48 hours in public.Move your money directly. Stop you from stopping. Upgrade the contracts.

The full list of what the admin can change, and how long each change waits, is on Limits.

Contracts

ContractNetworkAddress
VaultBaseNot deployed yet
Vault, test deploymentBase Sepolia0x5713…FE68
Price oracle, test deploymentBase Sepolia0x60fd…8529

Every address the vault talks to is on Contracts.

Found something?

Write to security@dcavault.xyz before telling anyone else. There is no paid bounty yet.