What Happened
The DeFiHackLabs reproduction supplies an attacker-controlledfrom contract whose owner returns the attacker and whose delegatedTransferERC20 does nothing. It calls RewardsHypervisor’s deposit operation to demonstrate the unbacked-mint path. A successful call to an attacker-controlled transfer implementation is not evidence that VISR arrived in custody. Pinned DeFiHackLabs reproduction.
Attack Mechanism
The deposit path trusted a caller-supplied contract to transfer VISR into custody throughdelegatedTransferERC20. An attacker-controlled contract could return the expected owner and make that transfer function a no-op. The call succeeded, but no underlying tokens arrived; the protocol still minted reward shares.
The relevant evidence is the custody balance, not the success of the external call. When a deposit mints shares, the asset balance must increase and existing holders’ backing per share must not fall.
For balances B and supply S, preserving the pre-deposit ratio means B_after / S_after >= B_before / S_before. Cross-multiplication gives B_after * S_before >= B_before * S_after. Reversing this inequality would accept dilution—the opposite of the intended protection.
For example, starting with 100 assets and 100 shares, minting another 100 shares without receiving assets leaves only 0.5 assets per share. The example rejects both the missing asset increase and the dilution.

