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
- Chains
- Ethereum, Arbitrum, Hyperliquid, Solana, Ink
- Sector
- Stablecoins
- 0 Critical
- 0 High
- 0 Medium
- 0 Low
- 5 Informational
Scope
-
GuardianOrg/usdt0-tether-contracts-hardhat
5fec6b305ae43023089c
4 files in scope · 101 nSLOC
| File | nSLOC | Lines |
|---|---|---|
contracts/Tether/WithBlockedList.sol | 21 | 58 |
contracts/Wrappers/ArbitrumExtension.sol | 32 | 470 |
contracts/Wrappers/interfaces/IERC5267.sol | 16 | 11 |
contracts/Wrappers/OFTExtension.sol | 32 | 107 |
Findings 5
-
I-01 Informational Hardcoded Alchemy RPC URL exposes an API key Informational Acknowledged
Description
test/OFTExtension.test.jshardcodes 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.
-
I-02 Informational Uncoordinated Arbitrum upgrades stop OFT flows Compatibility Acknowledged
Description
Arbitrum uses independently upgradeable token and OFT proxies. The currently deployed OFT implementation was compiled to invoke the legacy
mint(address,uint256)andburn(address,uint256)token entrypoints. In contrast, theArbitrumExtensionV2implementation on the reviewed branch authorizes the OFT throughcrosschainMint(address,uint256)andcrosschainBurn(address,uint256). It does not expose the legacyburnentrypoint and its inheritedmintentrypoint is restricted to the token owner.If only the token proxy is changed to the reviewed implementation, an outgoing OFT
send()calls the missing legacyburnselector and reverts. An incominglzReceive()calls the inheritedmintfunction 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
crosschainMintandcrosschainBurnat the same time as the token implementation. -
I-03 Informational Late manifest setup blocks Avalanche upgrade Configuration Resolved
Description
The Avalanche preparation script is intended to load
.openzeppelin/usdt0/avalanche.jsonbefore it validates the live proxy and deploys the new implementation. However, the script imports Hardhat before assigningMANIFEST_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.openzeppelindirectory even thoughmain()assigns and prints the intended directory afterward.OpenZeppelin consequently looks for the absent
.openzeppelin/avalanche.jsoninstead of the checked in.openzeppelin/usdt0/avalanche.jsonthat records the live proxy and implementation.validateUpgradethen rejects the live implementation as unregistered.prepareUpgradeperforms the same validation before deployment, so it stops for the same reason. An operator who follows the standalone command in the script withMANIFEST_DEFAULT_DIRunset 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_DIRbefore importing Hardhat when the variable is unset. Derive the absolute.openzeppelin/usdt0path from__dirnameso manifest selection does not depend on the operator's working directory. -
I-04 Informational Blocking zero address disables minting Validation Acknowledged
Description
The blocklist owner can add
address(0)through eitheraddToBlockedListoraddMultipleToBlockedListbecause their shared_addToBlockedListhelper writes every supplied address without validation. ERC20 minting represents newly created tokens as a transfer fromaddress(0). Consequently, every_mintcall passes that address toTetherToken._beforeTokenTransfer, which rejects a blocked sender unless the immediate caller is the token owner.If the owner blocks
address(0), a user call toWrappedExtension.deposittransfers 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 callcrosschainMintsuccessfully. Deposits and incoming cross chain mints remain unavailable until the owner removesaddress(0)from the blocklist. Only the owner can trigger this condition and failed calls do not move assets.Recommendation
Reject
address(0)in_addToBlockedListbefore writingisBlocked. This applies the same validation to the individual and batch blocklist entrypoints. -
I-05 Informational Blocking the fee reserve stops settlement Validation Acknowledged
Description
Celo fee settlement first reserves the maximum gas payment at
GAS_FEE_ADDRESS. After transaction execution,creditGasFeestransfers 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
addToBlockedListandaddMultipleToBlockedListaccept the reserve address. If the token owner blocks it, a latercreditGasFeescall reaches_beforeTokenTransferwithfromset toGAS_FEE_ADDRESS. The immediate caller is the configuredFeeCurrencyWrapperor 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
FeeCurrencyWrapperfrom clearingdebitedbecause 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 rejectsGAS_FEE_ADDRESSinTetherTokenCeloExtensionso both the single and batch blocklist functions inherit the same restriction.
No findings match.
More from USDT0
All 45 reportsPut 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.
