Skip to content
Business logic Audit finding Intermediate

The protocol doesnt support weird tokens like Tether Gold (that return false on every operation)

The protocol's token transfer helper assumes every token returns a boolean success value, so tokens that return false on every operation, such as Tether Gold, make transfers revert. As a result, the protocol cannot actually support the tokens it claims to support.

anonymousjoe Follow

Originally disclosed on Sherlock

Source: https://github.com/sherlock-audit/2025-09-ammplify-judging/issues/722

This issue has been acknowledged by the team but won't be fixed at this time.

Found by

anonymousjoe

Summary

The protocol uses the TransferHelper.safeTransferFrom(token, _currentTokenRequester, msg.sender, uint256(change)); for its token transfers. But this does not work if the token returns false for all the operations.

Root Cause

Tokens like Tether gold will cause the transfer to always revert. Thus such tokens are not supported by the protocol.

Solidity
            if (change > 0) {
                // Pull tokens from the original caller and send to MAKER_FACET
                TransferHelper.safeTransferFrom(token, _currentTokenRequester, msg.sender, uint256(change));
            } else if (change < 0) {
                // Send tokens from our balance to MAKER_FACET (for fee collection, etc.)
                TransferHelper.safeTransfer(token, msg.sender, uint256(-change));
            }

            // After primary transfer, sweep any dust the contract may still hold for this token
            uint256 residual = IERC20(token).balanceOf(address(this));
            if (residual > 0) {
                TransferHelper.safeTransfer(token, msg.sender, residual);
            }

https://github.com/sherlock-audit/2025-09-ammplify/blob/main/Ammplify/src/integrations/NFTManager.sol#L570-L582

Internal Pre-conditions

None.

External Pre-conditions

None.

Attack Path

There is no attack path for this.

Impact

Protocol claims to support tokens that it cannot support.

PoC

No response

Mitigation

No response

The original report as published on Sherlock, by anonymousjoe. Images and videos are our own copies; raw HTML is shown as text. View it on Sherlock.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the transfer helper only accepts a boolean true return value and does not handle tokens that return false or no value at all.

Impact

Users holding such tokens cannot use the protocol with them, so the protocol's claimed token support is inaccurate; the text states there is no attack path.

What the attacker needed

Token returns false on transfers

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Some tokens do not behave like standard ones: when asked to move funds, they reply 'false' instead of 'true'. The protocol's transfer helper treats that reply as a failure and cancels the whole transaction, so those tokens simply cannot be used even though the protocol says they can.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by anonymousjoe

View all

1 more disclosed report, best first.

More from Ammplify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.