Summary
100% of all REPORTED Findings have been addressed
- 0Risk Accepted
- 1Acknowledged
- 6Solved
- 7All Findings
- Critical0
- High0
- Medium0
- Low0
- Informational7
- 6Solved
- 1Ack.
Introduction#
N3XT engaged Halborn to conduct a security assessment of the updated N3XT Digital Dollar (NDD) smart contracts, beginning on November 3rd, 2026, and ending on November 5th, 2026. This security assessment was scoped to the changes in n3xtio/kimono pull request #12767 (branch feat/ab/amm_uniswap_v4_ndd), from base commit 8c22d37 to commit 13067ed, for the NDDv2, NDDIDv3, and NDDAllowlistChecker contracts. Further details can be found in the Scope section of this report.
NDD is an upgradeable ERC-20 deposit token, backed 1:1 by US dollar deposits, that moves only between addresses verified in the NDDID identity registry (identity NFT holders or allowlisted addresses). The reviewed changes integrate NDD with Uniswap v4 permissioned pools. NDDIDv3 adds a pool-starter role and returns Uniswap swap and liquidity permissions, NDDAllowlistChecker exposes these permissions to the Uniswap Permissions Adapter, and NDDv2 restores standard ERC-20 allowances while each transfer still requires verified endpoints.
Assessment Summary#
Halborn was allocated 3 days for this engagement and assigned one security engineer to verify the security of the smart contracts in scope. The security engineer is a blockchain and smart-contract security expert with advanced penetration testing and smart-contract hacking skills, and deep knowledge of multiple blockchain protocols.
The purpose of this assessment is to:
Identify potential security issues within the smart contracts.
Ensure that the smart contract functionality operates as intended.
In summary, Halborn did not identify any significant security risks. However, some enhancements were recommended to improve the consistency of the access rules and the recovery options of the contracts, which were mostly addressed by the N3XT team. The main ones were the following:
Grant the swap permission to allowlisted accounts only through an explicit flag set by the allowlist admin, and refuse it to accounts with an unapproved EIP-7702 delegate.
Keep the
DEFAULT_ADMIN_ROLEset fixed at the two initial keys, or replace a key only through a delayed two-step transfer.Clear the pool-starter status when an identity is revoked.
Probe
permissionedPoolPermissions()when a new identity registry is set.
The N3XT team acknowledged the recommendation to clear the pool-starter status on identity revocation, and accepted by design that allowlisted accounts receive the swap permission whatever their EIP-7702 delegate is.
Scope#
Findings Overview#
# | Title | Severity | Score | Status |
|---|---|---|---|---|
HAL-01 | Swap Bit Is Inferred From Code Shape, So Allowlisted Accounts Can Open The Pool Through EIP-7702 Delegation | Informational | 1.0 | Solved11/06/2026 |
HAL-02 | Admin Set Can Only Grow Because DEFAULT_ADMIN_ROLE Cannot Be Revoked | Informational | 0.5 | Solved11/06/2026 |
HAL-03 | Pool-Starter Status Survives Identity Revocation And Reactivates Liquidity Rights | Informational | 0.3 | Acknowledged11/06/2026 |
HAL-04 | Registry Validation Omits permissionedPoolPermissions, So A Repoint Can Halt The Permissioned Pool | Informational | 0.1 | Solved11/06/2026 |
HAL-05 | EIP-7702 Accounts Get The Swap Bit But Cannot Be Promoted Without An ERC-721 Receiver | Informational | 0.1 | Solved11/06/2026 |
HAL-06 | Design Document Permission Table Does Not Match The Code For Allowlisted Contracts | Informational | 0.0 | Solved11/06/2026 |
HAL-07 | Unused onlyDefaultAdmin Modifier In NDDv2 | Informational | 0.0 | Solved11/06/2026 |
Disclaimer#
Halborn strongly recommends conducting a follow-up assessment of the project either within six months or immediately following any material changes to the codebase, whichever comes first. This approach is crucial for maintaining the project’s integrity and addressing potential vulnerabilities introduced by code modifications.
