Many tokens charge a buy or sell tax, a percentage skimmed on each trade and redirected to the deployer, marketing, or liquidity. The tax itself is legal and common, but a setter function that lets the owner change it is dangerous: if the sell tax can be raised toward 100%, the owner can turn a normal token into a soft honeypot where selling returns almost nothing. Two signals matter, whether tax exists and whether it can be modified after launch.
How token taxes work
A taxed token intercepts transfers in its _transfer logic and diverts a percentage to a fee wallet or the liquidity pool. Buy tax applies when acquiring from the pool, sell tax when selling into it. A 5 to 10 percent tax is common; the danger is not the fee itself but who can change it and how high it can go.
Why modifiable tax is a soft honeypot
If the contract exposes a setFee or setTaxes function with no hard cap, the owner can raise the sell tax to 100 percent at any moment, leaving you able to sell only in name while the contract confiscates the entire proceeds. This reaches a honeypot's outcome without blocking the transaction outright.
How Tok{In} detects tax risk
Tok{In} raises has_tax_functionality when fee logic is present and tax_can_be_modified when a privileged setter can change it, using Gigahorse decompilation to read the actual bytecode rather than the token's stated tax. A live sell simulation measures the real proceeds you would receive.
What to do
Prefer tokens with a low, hard-capped tax and no owner setter, and always check the effective sell tax with a live simulation before trading. Because the owner can raise a modifiable tax between scans, re-scan right before you buy or sell.
Check any ERC-20 token for this and 20+ other risks in seconds, free, no wallet connection.
Scan a token