Primex Finance

Resonance Security401 addresses on Ethereum, Polygon (POS) and Arbitrum

Resonance Security reviewed Primex Finance on 19 Oct 2023: 12 findings, 1 critical; 9 marked fixed, 3 acknowledged.

1 critical finding, fixed
Open the reportOpen Primex Finance’s security record
Report stored on IPFS. Content hash Qmat2FzynN5HZLT79ECUTPvSxUCfeynuMtjcoY69eEfXfy

Trustblock does not review code.

Findings17

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical001
High010
Medium024
Low004

Marked Info by the firm. Not counted as findings.

InfoMissing Validation Of Zero Amount On batchBurn()Acknowledged

The function batchBurn() does not validate whether the _amounts array contains elements with 0 amount, allowing transactions to take place and events to be emitted that do not change the state of the blockchain. This fact not only incurs unnecessary gas costs, but also fills the blockchain with unnecessary transactions,

InfoConditions On supportsInterface() Can Be Switched To Save GasFixed

Most supportsInterface() functions across the Primex protocol validate the base-most interfaceId. Due to both the inheritance nature of the Solidity language, and the short-circuiting capability of its logical operators, testing the base-most interface first is not optimal to save gas.

InfoDifferent Versions Of canBeFilled() Lead To Undefined BehaviourFixed

The function canBeFilled() implements several versions used throughout different contracts of the Primex protocol. Using different versions of code for the same intended behaviour may lead to unexpected and/or inconsistent results.

InfoUnnecessary Validation Of _params On createBucket()Fixed

The function createBucket() correctly validates _params.positionManager and _params.reserve. However, this validation is unnecessary since the same validation is being made inside the contract Bucket, therefore leading to a duplication of code and the increase of gas costs.

InfoUsage Of Unlimited ApproveFixed

The inclusion of unlimited approval in contracts increase potential attack surface.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Part of Primex Finance’s security record

Primex Finance
Audits9 audits by 2 firmsLast audit Oct 2024, by Resonance Security.
Critical findingsNo open critical findingsAcross the 9 reports, 4 critical findings were reported. Each is marked fixed by the firm that reported it.
Open Primex Finance’s security record

Security firm

Resonance Security

27 projects reviewed · 57 reports · latest Dec 2025

See Resonance Security’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us