Skip to content
We manage your security to weather the AI storm →

Security review · September 2026

Tether Contracts - PR110 + Upgrade for USDT0

Guardian's review of Tether Contracts - PR110 + Upgrade for USDT0, published September 2026. The report records 5 findings, including 5 informational.

See how Guardian runs a stablecoin security audit.

Published
Review window
August 31 to September 3, 2026
Language
Solidity, JavaScript
Sector
Stablecoins
  • 0 Critical
  • 0 High
  • 0 Medium
  • 0 Low
  • 5 Informational

1 resolved · 4 acknowledged

Scope

  • GuardianOrg/usdt0-tether-contracts-hardhat 5fec6b305ae43023089c
4 files in scope · 101 nSLOC
FilenSLOCLines
contracts/Tether/WithBlockedList.sol2158
contracts/Wrappers/ArbitrumExtension.sol32470
contracts/Wrappers/interfaces/IERC5267.sol1611
contracts/Wrappers/OFTExtension.sol32107

Findings 5

  1. I-01 Informational Hardcoded Alchemy RPC URL exposes an API key Informational Acknowledged
    Location
    test/OFTExtension.test.js:20

    Description

    test/OFTExtension.test.js hardcodes an Alchemy RPC URL containing an API key directly and exposes to everyone who has access to the repository.

    Recommendation

    Revoke and rotate the exposed Alchemy API key, and replace the hardcoded RPC URL with an environment variable.

  2. I-02 Informational Uncoordinated Arbitrum upgrades stop OFT flows Compatibility Acknowledged
    Location
    contracts/Wrappers/ArbitrumExtension.sol:484-493; contracts/Tether/TetherToken.sol:80-83; usdt0-oft-contracts/deployments/arbitrum-mainnet/solcInputs/c8bf47934980bc87a8dee825db37537e.json:137

    Description

    Arbitrum uses independently upgradeable token and OFT proxies. The currently deployed OFT implementation was compiled to invoke the legacy mint(address,uint256) and burn(address,uint256) token entrypoints. In contrast, the ArbitrumExtensionV2 implementation on the reviewed branch authorizes the OFT through crosschainMint(address,uint256) and crosschainBurn(address,uint256). It does not expose the legacy burn entrypoint and its inherited mint entrypoint is restricted to the token owner.

    If only the token proxy is changed to the reviewed implementation, an outgoing OFT send() calls the missing legacy burn selector and reverts. An incoming lzReceive() calls the inherited mint function as the OFT and reverts because the OFT is not the token owner. Both cross-chain directions remain unavailable until the OFT implementation is also changed to use the IERC-7802 entrypoints.

    The current live token and OFT implementations remain compatible. The client has also confirmed that no active Arbitrum upgrade is planned and that a future rollout would upgrade both implementations. This is therefore an operational constraint for a future deployment rather than a vulnerability in the current configuration. An upgrade that changes only one proxy or exposes the intermediate state between separate upgrade transactions will temporarily stop Arbitrum OFT transfers.

    Recommendation

    Treat the Arbitrum OFT and token implementations as one compatibility unit. Encode both proxy changes in the same atomic governance transaction so the deployed OFT moves to crosschainMint and crosschainBurn at the same time as the token implementation.

  3. I-03 Informational Late manifest setup blocks Avalanche upgrade Configuration Resolved
    Location
    scripts/avalanche_usdt0_prepare_upgrade.js:27-28,48-53

    Description

    The Avalanche preparation script is intended to load .openzeppelin/usdt0/avalanche.json before it validates the live proxy and deploys the new implementation. However, the script imports Hardhat before assigning MANIFEST_DEFAULT_DIR. Importing Hardhat loads the OpenZeppelin upgrades plugin, whose manifest module reads this environment variable once during module initialization. When the variable is initially unset, the plugin retains the default .openzeppelin directory even though main() assigns and prints the intended directory afterward.

    OpenZeppelin consequently looks for the absent .openzeppelin/avalanche.json instead of the checked in .openzeppelin/usdt0/avalanche.json that records the live proxy and implementation. validateUpgrade then rejects the live implementation as unregistered. prepareUpgrade performs the same validation before deployment, so it stops for the same reason. An operator who follows the standalone command in the script with MANIFEST_DEFAULT_DIR unset cannot complete the preparation workflow until they diagnose the failure and export the variable before starting Hardhat. The failure occurs before deployment and does not change onchain state.

    Recommendation

    Assign MANIFEST_DEFAULT_DIR before importing Hardhat when the variable is unset. Derive the absolute .openzeppelin/usdt0 path from __dirname so manifest selection does not depend on the operator's working directory.

  4. I-04 Informational Blocking zero address disables minting Validation Acknowledged
    Location
    contracts/Tether/WithBlockedList.sol:29-40,49-52

    Description

    The blocklist owner can add address(0) through either addToBlockedList or addMultipleToBlockedList because their shared _addToBlockedList helper writes every supplied address without validation. ERC20 minting represents newly created tokens as a transfer from address(0). Consequently, every _mint call passes that address to TetherToken._beforeTokenTransfer, which rejects a blocked sender unless the immediate caller is the token owner.

    If the owner blocks address(0), a user call to WrappedExtension.deposit transfers the original tokens and then reaches the rejected mint. The revert rolls back the entire transaction, including the original token transfer. A configured OFT contract that is distinct from the token owner also cannot call crosschainMint successfully. Deposits and incoming cross chain mints remain unavailable until the owner removes address(0) from the blocklist. Only the owner can trigger this condition and failed calls do not move assets.

    Recommendation

    Reject address(0) in _addToBlockedList before writing isBlocked. This applies the same validation to the individual and batch blocklist entrypoints.

  5. I-05 Informational Blocking the fee reserve stops settlement Validation Acknowledged
    Location
    contracts/Tether/WithBlockedList.sol:29-31,37-41,49-52; contracts/Tether/TetherToken.sol:47-57; contracts/Wrappers/CeloExtension.sol:23-29,57-79; contracts/Wrappers/FeeCurrencyWrapper.sol:101-143

    Description

    Celo fee settlement first reserves the maximum gas payment at GAS_FEE_ADDRESS. After transaction execution, creditGasFees transfers the refund, tip and base fee from that reserve to their recipients. The Celo fee currency interface requires this credit phase to pay every specified amount.

    Both addToBlockedList and addMultipleToBlockedList accept the reserve address. If the token owner blocks it, a later creditGasFees call reaches _beforeTokenTransfer with from set to GAS_FEE_ADDRESS. The immediate caller is the configured FeeCurrencyWrapper or the Celo VM address, neither of which is the token owner. The inherited hook therefore rejects the blocked sender and reverts the credit as soon as it attempts a transfer.

    The revert rolls back every payout in that call. It also prevents FeeCurrencyWrapper from clearing debited because that write occurs after the external token call. Fee credits remain unavailable until the owner removes the reserve from the blocklist. The owner alone can cause and recover this condition.

    Recommendation

    Validate reserved protocol addresses in the shared blocklist write path before updating isBlocked. Add an internal validation hook that rejects GAS_FEE_ADDRESS in TetherTokenCeloExtension so both the single and batch blocklist functions inherit the same restriction.

More from USDT0

All 45 reports
  1. Canary Sponsored DVN Migration

    0 findings No findings
  2. Zero Network - USDT & XAUT Deployment

    0 findings No findings
  3. OFT Contracts Upgrade - Fast lane

    3 findings 3 findings: 2 low, 1 informational
  4. MultiHopComposer Review

    7 findings 7 findings: 4 low, 3 informational

Put your code through the same review.

This review started with a conversation about scope. Tell us what you are building and we will plan yours with you.

Get a quote