Skip to content
← RegistryDossier · 5 steps · 4 edges

ERC-4626 first-depositor inflation → drain new deposits

Be the first depositor with 1 wei → mint 1 share. Send tokens directly to the vault to inflate share price. Every subsequent depositor's amount, integer-divided by the inflated rate, rounds to zero shares.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: target deployed a fresh ERC-4626 vault without virtual-share / virtual-asset protection (the OpenZeppelin v5 mitigation). No pre-deposit of liquidity by the deployer.

§ Steps

  1. 01
    Withdraw inflated share — pockets the rounded-out depositsExfiltration
    T1041Exfiltration Over C2 Channel
  2. 02
    Wait for new depositorsInitial Access
    T1078Valid Accounts
  3. 03
    Be the first depositor (1 wei)Initial Access
    T1078Valid Accounts
  4. 04
    Share price now massively inflatedImpact
    AA-4626-INFLATIONERC-4626 Vault Inflation Attack
  5. 05
    Transfer tokens directly to vault addressImpact
    AA-4626-INFLATIONERC-4626 Vault Inflation Attack

§ References

§ Frequently asked

What is the "ERC-4626 first-depositor inflation → drain new deposits" attack path?
Be the first depositor with 1 wei → mint 1 share. Send tokens directly to the vault to inflate share price. Every subsequent depositor's amount, integer-divided by the inflated rate, rounds to zero shares. It chains 5 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Withdraw inflated share — pockets the rounded-out deposits (T1041) — a exfiltration primitive. Assumed environment: target deployed a fresh ERC-4626 vault without virtual-share / virtual-asset protection (the OpenZeppelin v5 mitigation).
What is the final impact of this kill-chain?
The final step lands on Transfer tokens directly to vault address (AA-4626-INFLATION), which falls under Impact. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers