For the complete documentation index, see llms.txt. This page is also available as Markdown.

June 2026 Zodiac Delay/Roles module exploit — incident report

On June 1, 2026 there was an exploit targeting Gnosis Pay users through a vulnerability in several Zodiac modules. Ante vaults were affected because we are using the same Delay and Roles modules Gnosis Pay used (see Technical Stuff & Deployed Contracts for more details).

Total loss across all Ante vaults was about $24 in team test accounts (<0.02% of Assets Under Trust at the time of exploit). Here's what happened, why we were able to limit the damage, and what's next.

The vulnerability

The exploited bug is in SignatureChecker._isValidContractSignature from Zodiac base contracts, inherited by Modifier (https://github.com/gnosisguild/zodiac/blob/master/contracts/core/Modifier.sol)

function _isValidContractSignature(
    address signer,
    bytes32 hash,
    bytes calldata signature
) internal view returns (bool result) {
    uint256 size;
    assembly { size := extcodesize(signer) }
    if (size == 0) {
        return false;
    }

    (, bytes memory returnData) = signer.staticcall( // <-- 'success' boolean is not checked
        abi.encodeWithSelector(
            IERC1271.isValidSignature.selector,
            hash,
            signature
        )
    );

    return bytes4(returnData) == EIP1271_MAGIC_VALUE;
}

The staticcall destructuring is not using the first return argument: (, bytes memory returnData) = signer.staticcall(...) , which is the bool success flag. The function then casts the first four bytes of returnData to bytes4 and compares to 0x1626ba7e , the EIP-1271 magic value. The attacker manipulated the signature field in such a way to force the Safe fallback handler to call an attacker deployed contract which always reverted with a 4-byte payload matching the EIP-1271 magic value. Because of how EVM handles reverts and the sequence of smart contract calls, the revert data ended up in the returnData which was then compared with the magic value.

This allowed the attacker to schedule any transaction on any Safe that had such a Delay module enabled.

Mitigation

We patched the contracts with this small fix and deployed new mastercopies for both Roles and Delay modules on June 4, 2026. This is the same approach that Gnosis Pay took.

The same fix was later reviewed in the Zodiac Signature Patch Audit (June 12, 2026). That review covers Gnosis's own Delay 1.1.1 and Roles 2.1.1, not Ante's addresses, so we checked ours against it. Ante's Delay has the same executable bytecode as the reviewed Delay. Ante's Roles has the same fix on Roles 2.1.0, without two unrelated 2.1.1 fixes for conditions Ante doesn't use. Both sources are verified on Etherscan (exact match). Details: Audits & Security Reviews.

Addresses

Delay.sol

Roles.sol

We shipped UI which allows users to disable the vulnerable modules and provided a way for them to create a new vault with patched recovery modules and migrate the funds into a newly deployed vault.

Why Ante Vaults were not drained?

Our vaults had a default cooldown (grace period) of 3 months at the time; it is now 6 months. Even if the attacker was able to submit a malicious transaction, the exploit did not allow them to bypass the cooldown period.

This gave us and our users enough time to react and disable the vulnerable modules.

Next steps

If you have a vault created on https://app.ante.org/vaults we advise you to go to your Ante Vaults dashboard and check for vaults that are tagged as "vulnerable". Open the vault and follow the instructions from that page to mitigate or migrate.

Last updated