CertiK reviewed XRP Ledger (XRPL AMM Addendum) on 15 Aug 2023: 4 findings, 0 critical; 3 marked fixed, 1 acknowledged.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 0 | 1 | 3 |
```cpp=1567 if (maxNodesToDelete && ++deleted > *maxNodesToDelete) ``` `maxNodesToDelete` is `std::optional<uint16_t>`, `deleted` is `uint16_t`. If `maxNodesToDelete == 65535` and there are enough entries in the account directory, the `deleted` will overflow and the code will not work as expected. `maxDeletableAMMTrustLines` passed to `cleanupOnAccountDelete()` is `size_t` set `512`. The ledger allows more than 65535 entries in the account directory according to `View.cpp::confineOwnerCount()`.
There are typos in the code: - "truslines" is supposed to be "trustlines" - "view" is supposed to be "View"
Magic numbers are used as-is in code.
The report names a repository or files. Open the report to see its scope.
1,044 projects reviewed · 1,375 reports · latest May 2025
See CertiK’s auditsSomething 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