ArchonArchon
Public verified reportRun your own audit

Archon public report

AuralisAgentRegistry

Mantle Mainnet · scan depth full-report · generated 6/15/2026, 11:38:01 PM

Risk Score

79

Archon completed a read-only Mantle Mainnet audit of AuralisAgentRegistry and found 23 deterministic findings. The highest-priority issue is Incorrect Exp, with risk score 79/100 based on severity-weighted findings. The function setActive allows unauthorized users to change the active state of agents. Review the recommended fixes and run regression tests before deployment.

Findings

low: 3high: 1info: 17medium: 2critical: 0
SeverityFindingLocationConfidence
high

Incorrect Exp

The function setActive allows unauthorized users to change the active state of agents.

Math.sol:12380%
medium

Divide Before Multiply

The function setActive may lead to incorrect calculations if called improperly.

Math.sol:12370%
low

Shadowing Local

Local variable name shadows a state variable, which can lead to confusion.

AuralisAgentRegistry.sol:8960%
low

Reentrancy Benign

The function registerAgent is susceptible to benign reentrancy due to external calls.

AuralisAgentRegistry.sol:8750%
low

Reentrancy Events

The function registerAgent emits events that could be exploited in a reentrancy context.

AuralisAgentRegistry.sol:8750%
info

Assembly

Assembly was detected from deterministic analysis at Strings.sol:24-44. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

Strings.sol:2474%
info

Assembly

Assembly was detected from deterministic analysis at Math.sol:123-202. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

Math.sol:12374%
info

Assembly

Assembly was detected from deterministic analysis at ERC721.sol:465-482. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

ERC721.sol:46574%
info

Pragma

Pragma was detected from deterministic analysis at AuralisAgentRegistry.sol:2. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

AuralisAgentRegistry.sol:274%
info

Dead Code

The code contains a struct definition that may not be utilized.

Context.sol:2540%
info

Dead Code

Dead Code was detected from deterministic analysis at ERC721.sol:385-388. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

ERC721.sol:38574%
info

Dead Code

Dead Code was detected from deterministic analysis at ERC721.sol:346-356. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

ERC721.sol:34674%
info

Dead Code

Dead Code was detected from deterministic analysis at ERC721.sol:328-333. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

ERC721.sol:32874%
info

Dead Code

The struct AgentProfile is defined but may not be fully utilized.

Context.sol:2150%
info

Dead Code

Dead code detected in ERC721.sol.

ERC721.sol:10080%
info

Dead Code

Dead Code was detected from deterministic analysis at ERC721.sol:377-379. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

ERC721.sol:37774%
info

Dead Code

Dead Code was detected from deterministic analysis at ERC721.sol:224-228. The issue should be reviewed because it can affect contract correctness, user balances, or operational cost depending on how the function is used.

ERC721.sol:22474%
info

Solc Version

Solidity version specified in Ownable.sol.

Ownable.sol:490%
info

Replace long revert string with custom error

Long revert string can be replaced with a custom error in AuralisAgentRegistry.sol.

AuralisAgentRegistry.sol:9385%
info

Replace long revert string with custom error

Another long revert string can be replaced with a custom error in AuralisAgentRegistry.sol.

AuralisAgentRegistry.sol:9485%
info

Cache repeated storage read

Repeated storage read can be cached in AuralisAgentRegistry.sol.

AuralisAgentRegistry.sol:9890%
info

Cache repeated storage read

Repeated storage read can be cached to optimize gas usage.

AuralisAgentRegistry.sol:9980%
medium

Bitmap-pack boolean flags

Boolean flags can be packed into a single uint256 to save storage space.

AuralisAgentRegistry.sol:3770%