Security review · February 2026
Hedera Connector for USDT0
USDT0 engaged Guardian to review the security of their USDT0 Connector. From the 24th of November 2025 to the 7th of January 2026, a team of 2 auditors reviewed the source code in scope.
See how Guardian runs a stablecoin security audit.
- Published
- Review window
- November 24, 2025 to January 7, 2026
- Rounds
- Main Review, Remediation Review
- Language
- Solidity
- Chains
- Hedera
- Sector
- Stablecoins
- 0 Critical
- 0 High
- 0 Medium
- 1 Low
- 7 Informational
Scope
-
Everdawn-Labs/usdt0-oft-contracts
c1c12b2bcd - hiero-ledger/hiero-consensus-node b71f1a623fc6469486b3
Overview
USDT0 engaged Guardian to review the security of their USDT0 Connector. From the 24th of November 2025 to the 7th of January 2026, a team of 2 auditors reviewed the source code in scope.
Findings 8
Main Review
7 findings-
L-01 Low Locked Initial Supply In HTSConnectorUpgradeable Validation Resolved
Description
The
createHTSTokenmints theinitialTotalSupplyto the treasury, which is theHTSConnectorcontract. There is no function to transfer this initial supply out from the treasury.All transfers in the contract assume mint-then-transfer for new supply or pull-then-burn, but nothing can move the initial treasury balance. If
_tokenInitialTotalSupply > 0, these tokens are effectively stranded.Recommendation
While
initialTotalSupplyis set to 0 for mainnet in the deployment script, it is advisable to also enforce at the contract level that theHTSConnectorUpgradeablehas no initial supply that would be locked.Resolution
USDT0 Team: Resolved.
-
I-01 Informational Missing Validation Of Key Lengths Validation Acknowledged
Description
getKeyValueTypeinKeyHelperUpgradeablecontract accepts arbitrary bytes forED25519andSECP256K1keys without validating length.HTS expects
ED25519public keys to be 32 bytes and compressedSECP256K1public keys to be 33 bytes. Passing an invalid length will cause HTS precompile calls to fail.The function is only used by the current
HTSConnectorUpgradeableduring thecreateHTSTokencall, where the\$._adminKeyis provided as a SECP256K1 key. However,_adminKeyis set during initialization and can be assigned to a byte array of any size.Recommendation
Consider adding length checks in the
getKeyValueTypefunction to ensure that allED25519keys are 32 bytes and allSECP256K1keys are 33 bytes, or alternatively enforcing that_adminKeyis 33 bytes during initialization.Resolution
USDT0 Team: Acknowledged.
-
I-02 Informational Warning About New HTS Precompiles Informational Acknowledged
Description
As introduced in
HIP-646, fungible tokens on Hedera can include metadata. While this was previously unsupported by smart contracts, a new proposal,HIP-1028, enables metadata support for fungible tokens.According to HIP-1028, a new HTS precompile will be deployed at address 0x16c, while 0x167 will remain available for backward compatibility.
The current
HTSConnectoruses the precompile at 0x167 and does not support the metadata key or metadata features for fungible tokens. It is important to be aware of the breaking changes if USDT0 decides to use this metadata feature in the future.Recommendation
Be aware of this situation.
Resolution
USDT0 Team: Acknowledged.
-
I-03 Informational Conflicting transferToken Documentation Documentation Acknowledged
Description
IHederaTokenServiceinterface'stransferTokendocumentation mentions "(positive amount) or receiving (negative amount)", while the parameter docs state "Non-negative value to send. a negative value will result in a failure".Recommendation
Update the NatSpec comment on the
IHederaTokenServiceinterface.Resolution
USDT0 Team: Acknowledged.
-
I-04 Informational Zero Amount Operations Are Not Rejected Early Validation Acknowledged
Description
_debit,_credit,mintTokenPublicandburnTokenPublicfunction in theHTSConnectorUpgradeableaccept_amountLD == 0and only guard against values exceedingint64.max.HTS burn/mint require positive non-zero amounts, so zero results revert in later precompile calls. This wastes gas and degrades UX without a clear error at the top of the call path.
Recommendation
Require
_amountLD > 0and revert early with an error.Resolution
USDT0 Team: Acknowledged.
-
I-05 Informational contract_Id Keys Break Freeze And Wipe Warning Pending
Description
On Hedera, a
contractIDkey is not compatible with contracts that execute viadelegatecallHedera explicitly documents thatcontractIDrequires "the code in the active message frame to belong to the contract" whereasdelegatableContractIdexists specifically to supportdelegatecall.Make sure that the HTS precompile will recognize the used wallet as satisfying a
contractIDkey or change it if needed.This is important for USDT0 because it could break the ability to respond to incidents, stolen funds, sanctions/compliance actions, or any emergencies.
Recommendation
If needed change HTS token creation to
delegatableContractIdis specifically for contracts that might execute logic viadelegatecall.Resolution
USDT0 Team: Pending.
-
I-06 Informational Token Keys Cannot Be Updated Via Connector Superfluous Code Acknowledged
Description
HederaTokenService.soldefines anupdateTokenKeysfunction. However, this function is marked as internal and is never invoked byHTSConnectorUpgradeable, so it cannot be called. As a result, updating token keys via precompile invocation is not possible, even if that was the original intent.Recommendation
Either add an access-controlled external function that allows updating keys through the connector, or remove the
updateTokenKeysinternal function fromHederaTokenService.sol.Resolution
USDT0 Team: Acknowledged.
Remediation Review
1 finding-
I-01 Informational Fix If I-08 Is Not In Final Commit Informational Pending
Description
The comment in issue I-08 states that the issue was fixed in
acf07bcea340c1ca8ed039399c816adf8a851a33. However, this fix is not reflected in the final commit. The freeze and wipe keys still useCONTRACT_ID.Recommendation
No change is required if it was later decided to continue using
CONTRACT_IDdespite the comment indicating a fix. Otherwise, consider applying the fix to the latest commit.Resolution
USDT0 Team: Pending.
No findings match.
More from USDT0
All 51 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.
