← Benchmarks / Parity Wallet Initialization Vulnerability
Historical Vulnerability Benchmark #1

Could AuditAgents Detect the Vulnerability Behind the Parity Wallet Exploit?

We tested AuditAgents against a simplified reproduction of the ownership-initialization vulnerability pattern responsible for the Parity Wallet incident.

RESULT: PASS
Vulnerability Class Access Control / Initialization
Date June 2026
Score 5 / 5
Hints Provided None

Background

The Parity Wallet incident exposed a critical initialization vulnerability that allowed unauthorized ownership takeover. The core issue was that initialization logic could be executed by unintended parties, resulting in complete administrative control over the contract.

For this benchmark, we created a minimal vulnerable contract reproducing the same vulnerability class and submitted it to AuditAgents without any additional hints or manual guidance.

Vulnerability Tested

The following function reproduces the initialization vulnerability class from the Parity Wallet incident:

Solidity Vulnerable
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract SimpleWallet {
    address public owner;
    bool    private initialized;

    // ⚠ No access control — any caller can become owner
    function initWallet(address _owner) public {
        owner       = _owner;
        initialized = true;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Not owner");
        _;
    }

    function withdraw(uint256 amount) external onlyOwner {
        payable(owner).transfer(amount);
    }

    receive() external payable {}
}
Exploit: Any external actor can invoke initWallet() and become the owner of the contract, gaining full withdrawal privileges over all funds.

AuditAgents Findings

The following issues were identified by AuditAgents without any hints or pre-knowledge of the vulnerability:

Critical Unprotected Initialization — Ownership Takeover
High Re-initialization Vulnerability
Medium State Accounting Desynchronization

Benchmark Evaluation

Expected Detection AuditAgents Result
Unprotected Initialization ✓ PASS
Ownership Takeover Risk ✓ PASS
Complete Fund Loss Scenario ✓ PASS
Exploit Path Explanation ✓ PASS
Severity Classification ✓ PASS
Overall Score 5 / 5

Verdict

PASS

AuditAgents successfully identified the vulnerability class responsible for the Parity Wallet ownership takeover pattern, correctly classified it as Critical severity, explained the exploit path, and described the potential financial impact — all without any hints or prior guidance.

Disclaimer: This benchmark uses a simplified reproduction of the original vulnerability pattern and is not the original Parity Wallet codebase. The purpose is to evaluate vulnerability detection capability for this exploit class, not to reproduce any specific historical contract or attack.