Primex Finance

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

Resonance Security reviewed Primex Finance on 14 Oct 2024: 7 findings, 0 critical; 4 marked fixed, 3 open.

No open critical findings
Open the reportOpen Primex Finance’s security record
Report stored on IPFS. Content hash QmbtZQiM2MkamQJtLufxuXbArCDcx7sFaoBMbTWg6nUmJx

Trustblock does not review code.

Findings7

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

SeverityOpenAcknowledgedFixed
Critical000
High002
Medium100
Low202
MediumMissing Amount In And Out Calculations For Paraswap IntegrationOpen

The functions getAmountsIn(), getAmountsOut(), and getGas() do not implement the possibility of calculating beforehand the amount of tokens and gas that will be used to swap through the function _swapExactTokensForTokens(). Users will have to perform swaps by trial and error without previously knowing accurate calculation estimates.

LowImplementation Not Adhering To the Protocol SpecificationOpen

Provided protocol specification, and specifically the recent changes, regarding Oracle contract's implementation state that if Oracle Route's length is equal to four, then Pyth and Chainlink Oracles cannot be neither the first nor the last step in the whole path. This requirement was formulated to assure only expected token conversions are permitted. However, it was observed that the implementation of such mechanism is not complete. Namely, it does verify that Pyth and Chainlink Oracles are not the first step in the four-step route, but they do not assert they are not the last. Hence, the scenarios that were supposed to be prevented by design are actually possible.

LowLack Of Access Control On setProtocolParamsByAdmin()Open

The function setProtocolParamsByAdmin() does not implement access control allowing any user to delegate calls to PositionManagerExtension.While this does not present an immediate threat since all administrative functions on PositionManagerExtension possess proper access control, current or future functions that do not have any access control implemented may be at risk.

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
Audits5 audits by 2 firmsLast audit Oct 2024, by Resonance Security.
Critical findingsNo open critical findingsAcross the 5 reports, 2 critical findings were reported. Each is marked fixed by the firm that reported it.
Open Primex Finance’s security record

Security firm

Resonance Security

18 projects reviewed · 25 reports · latest Aug 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