ArchonArchon
Public verified reportRun your own audit

Archon public report

RatingRegistry

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

Risk Score

74

Archon completed a read-only Mantle Mainnet audit of RatingRegistry and found 23 deterministic findings. The highest-priority issue is Incorrect Equality, with risk score 74/100 based on severity-weighted findings. The equality check in the verifyRating function may lead to incorrect validation of asset ratings. Review the recommended fixes and run regression tests before deployment.

Findings

low: 1high: 0info: 18medium: 4critical: 0
SeverityFindingLocationConfidence
medium

Incorrect Equality

The equality check in the verifyRating function may lead to incorrect validation of asset ratings.

AuralisRatingRegistry.sol:21970%
low

Timestamp

The verifyRating function relies on timestamps which can be manipulated.

AuralisRatingRegistry.sol:21960%
info

Pragma

The pragma directive specifies a specific version of Solidity.

AuralisRatingRegistry.sol:250%
info

Dead Code

The code contains dead code that is not being utilized.

Context.sol:2540%
info

Dead Code

The enum Grade contains values that may not be used in the contract.

Context.sol:2140%
info

Solc Version

Solidity version specified in Ownable.sol.

Ownable.sol:470%
info

Unindexed Event Address

The event address in the contract is not indexed, which may lead to inefficiencies in event filtering.

Pausable.sol:2870%
info

Unindexed Event Address

The event address in the contract is not indexed, which may lead to inefficiencies in event filtering.

Pausable.sol:2370%
info

Replace long revert string with custom error

Long revert strings can lead to higher gas costs and less clarity in error handling.

AuralisRatingRegistry.sol:12880%
info

Replace long revert string with custom error

Long revert strings can lead to higher gas costs and less clarity in error handling.

AuralisRatingRegistry.sol:12980%
info

Replace long revert string with custom error

Long revert strings can lead to higher gas costs and less clarity in error handling.

AuralisRatingRegistry.sol:13080%
info

Replace long revert string with custom error

Long revert string can be replaced with a custom error for gas optimization.

AuralisRatingRegistry.sol:13180%
info

Replace long revert string with custom error

Long revert string can be replaced with a custom error for gas optimization.

AuralisRatingRegistry.sol:13280%
info

Replace long revert string with custom error

Long revert string can be replaced with a custom error for gas optimization.

AuralisRatingRegistry.sol:17780%
info

Replace long revert string with custom error

Long revert string can be replaced with a custom error for gas optimization.

AuralisRatingRegistry.sol:17880%
info

Replace long revert string with custom error

Long revert string can be replaced with a custom error for gas optimization.

AuralisRatingRegistry.sol:17980%
info

Cache repeated storage read

Repeated storage read for ratingHashUsed.

AuralisRatingRegistry.sol:13070%
info

Cache repeated storage read

Repeated storage read for ratingHashUsed.

AuralisRatingRegistry.sol:14970%
info

Cache repeated storage read

Repeated storage read for ratingHashUsed.

AuralisRatingRegistry.sol:15070%
info

Cache repeated storage read

Repeated storage read for decisionHashUsed.

AuralisRatingRegistry.sol:17870%
medium

Bitmap-pack boolean flags

Storage mapping for boolean flags can be optimized.

AuralisRatingRegistry.sol:6260%
medium

Bitmap-pack boolean flags

The contract uses individual boolean mappings for flags, which can be optimized using bitmap packing to reduce storage costs.

AuralisRatingRegistry.sol:6370%
medium

Bitmap-pack boolean flags

The contract uses individual boolean mappings for flags, which can be optimized using bitmap packing to reduce storage costs.

AuralisRatingRegistry.sol:6470%