Security

June 8, 2026 ยท View on GitHub

The PRBMath codebase has undergone audits by leading security experts from Cantina and Certora.

:warning:Audits are not a guarantee of correctness. Some parts of the code base were modified after they were audited.

All issues have been timely addressed and are fixed in the latest version of PRBMath.

AuditorTypeInitial CommitReport
CertoraFirmprb-math@v4.0.02023-07-12
CantinaFirmprb-math@v3.3.22023-06-08

Cantina Review

Cantina performed an audit of Sablier Lockup in June 2023, which included prb-math@v3.3.2 in scope. Their report included a finding in PRBMath:

3.2.3 PRBMath pow() function can return inconsistent values

The issue has been fixed in this PR: https://github.com/PaulRBerg/prb-math/pull/179

Certora Review

The rounding modes were not explicitly documented. This issue was fixed in v4.0.1.