SOLAY39 / PRELIMINARY REPORT

Aerodrome

AERO

Smart contract security assessment · Base

Technical findings, proposed fixes and review context in one report. Submitted declarations are preserved; execution evidence and founder approval are tracked separately.

Awaiting founder review

This is not a completed security audit or deployment recommendation. No verified security score is issued. Missing evidence does not establish safety or vulnerability.

1Submitted findings
1High / critical claims
1PoC code submissions

Executive overview

Reported scope and review priorities, not a safety rating.

Assessment scope

Smart contract Erc20

Aerodrome Finance is a next-generation AMM designed to serve as Base's central liquidity hub, combining a powerful liquidity incentive engine, vote-lock governance model, and friendly user experience. Aerodrome inherits the latest features from Velodrome V2.

What needs attention

  • 1 high / critical severity submissions require exploitability review.
  • 1 consistency issue in the saved declarations.
  • Source-bound CI evidence is not established.
  • Only the founder may validate findings and sign off.
Inspect record consistency checks (1)

Contract address used as a commit

An on-chain address identifies a deployment, not a source revision. Attach the actual repository commit or an immutable source snapshot.

Scope & architecture

Declared context. Counts and architecture have not been independently confirmed.

Report ID
aerodrome-1772654966787
Network
Base
Contract address
0x940181a94A35A4569E4529A3CDfB74e38FD98631
Declared report date
2026-02-27
Declared compiler target
solc 0.8.19
Source SHA-256 (declared)
Not supplied
Submitted source inventory
File / contractLanguageDeclared LOCSource revision
Aerodrome.solSolidity391Not established

Submitted architecture

Aerodrome is implemented as a erc20 on Base. The contract is compiled with Solidity 0.8.19. It inherits from OpenZeppelin's audited library contracts for standardized functionality. The contract is non-upgradeable with no proxy pattern detected. A mint function is present, requiring careful access control review. The contract scope comprises 391 lines of code.

Historical execution results

Captured 2026-11-07. Tests ran on local source fixtures, not on the current production deployment.

8/8Listed properties passed
256Fuzz cases executed
0Stateful handler calls

Execution scope and provenance

Historical target
Chain 8453 · 0x940181a94a35a4569e4529a3cdfb74e38fd98631
Historical source manifest SHA-256
21009e48f30ee9b1e9c92462bda199442b36223f46fe83e9df51b205c88c8e59
Execution output SHA-256
463d92d0675b240acb418f385f050cd0328406e6ad86be0ae2f9886379b4cac8

These digests identify historical artifacts, not a verified match to the current declared source or deployed bytecode. A digest alone is not independent validation.

Inspect executed properties (8)
Executed propertyCategoryObserved result
testFuzz_UnauthorizedMintReverts(address,uint256)fuzzPassed · 256 runs
test_AuthorizedMintChangesSupply()unitPassed
test_DelegatedMinterOnly()unitPassed
test_Observation_AuthorizedLargeMintSample()unitPassed
test_Observation_DelegationCanRepeat()unitPassed
test_Observation_SetMinterAcceptsZero()unitPassed
test_UnauthorizedMintReverts()unitPassed
test_UnauthorizedSetMinterReverts()unitPassed

Still required before approval

  • Historical source fixtures were deployed locally with synthetic constructor arguments and test doubles where required. These are not production-fork tests.
  • Only the listed properties were exercised. Full entrypoint, line and economic invariant coverage are not established.
  • Current deployed bytecode, live permissions, upgrades and external integrations require separate verification.
  • Passing tests do not validate submitted findings or establish safety. Formal verification was not run; founder approval remains pending.

Technical findings

SUBMITTED, NOT VALIDATED. Severity and disposition are declarations, not founder approval.

Showing 1 of 1 submitted findings.

F-01 · Code finding submission

Unrestricted Minting Function

CRITICAL / SUBMITTED

Public/external mint function

A mint function is exposed without visible access control. Any address may be able to mint new tokens.

Declared impact

An attacker could mint unlimited tokens, destroying the token's value for all holders.

Proposed remediation

Add strict access control (onlyOwner, onlyMinter) to the mint function. Consider adding a supply cap.

Disposition: OPENDeclared CVSS: 7.5 (not validated)CWE-284

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Founder review question

Inspect the implemented mint function, not an interface or modifier name. Check entry guards such as if (msg.sender != minter) revert NotMinter(), inherited authorization and every overload. Distinguish authorized uncapped minting from a public bypass; reproduce unauthorized and authorized calls separately.

Review remediation example

Submitted example. Not compiled or validated here; adapt it to the actual source and storage layout.

// Fix: Add access control to mint function
import "@openzeppelin/contracts/access/AccessControl.sol";

contract Fixed is ERC20, AccessControl {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    constructor() {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(MINTER_ROLE, msg.sender);
    }

    // BEFORE (vulnerable):
    // function mint(address to, uint256 amount) external {
    //     _mint(to, amount);  // no access control
    // }

    // AFTER (fixed):
    function mint(address to, uint256 amount) external onlyRole(MINTER_ROLE) {
        _mint(to, amount);
    }
}
Inspect submitted PoC code

Code submission only. No successful reproduction is established; a privileged caller in a test is not evidence of an unprivileged exploit.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "forge-std/Test.sol";

// Solay39 PoC — Unrestricted Mint
// Finding: Unrestricted Minting Function
// Target: ERC-20 Token Contract @ 0x940181a94A35A4569E4529A3CDfB74e38FD98631

interface IToken {
    function mint(address, uint256) external;
    function totalSupply() external view returns (uint256);
}

contract UnrestrictedMintTest is Test {
    function testExploit() public {
        vm.createSelectFork(vm.envString("ETH_RPC_URL"));
        IToken token = IToken(0x940181a94A35A4569E4529A3CDfB74e38FD98631);
        address attacker = makeAddr("attacker");
        uint256 before = token.totalSupply();
        vm.prank(attacker);
        token.mint(attacker, 1_000_000_000 ether);
        assertGt(token.totalSupply(), before, "Unrestricted mint confirmed");
    }
}

Execution & evidence

Stored narrative, submitted code and captured execution are different evidence classes.

Source snapshot
Missing

Attach exact source files, compiler settings and an immutable source digest.

CI source binding
Not established

A workflow link or a successful job alone cannot establish source-bound analysis.

Exploit reproduction
Not established

1 PoC code submissions are available above. Compilation, execution and exploit preconditions are not established by their presence.

Founder sign-off
Pending

Manual validation, remediation decisions and final approval are reserved exclusively to the founder.

Evidence policy

Historical tool narratives, coverage percentages, generated attack simulations and legacy signatures are not promoted to execution proof. Attach source-bound runner artifacts for any claimed fuzzing, symbolic execution, formal verification or exploit reproduction.

Founder review plan

Concrete next steps toward a defensible final report.

  1. Lock the exact source, dependency versions, compiler settings and deployment identity.
  2. Resolve the saved record inconsistencies before relying on architecture or supply claims.
  3. Validate each finding against the code, with reachable preconditions and a reproducible impact.
  4. Capture real tool outputs, reproduce applicable exploits and retest proposed fixes.
  5. Record the founder's decisions and issue a signed report only when the evidence gate permits it.