u/Plus-Tangerine2186

▲ 2 r/ethdev

Built a scam detector for new ERC-20s — sharing the architecture: 8 analyzers, 52 on-chain signals

Hi r/ethdev,

We run a scoring pipeline on every new ERC-20 deployed on Ethereum mainnet. Wanted to share the architecture and the actual signal catalog — looking for feedback / signals we're missing.

8 analyzers, 52 signals total:

- honeypot (10 signals) — eth_call simulation of buy / sell on Uniswap V2 + V3

- deployer (9) — wallet history: age, prior deployments, prior scams

- etherscan (7) — source verification + regex on Solidity source

- liquidity (7) — LP concentration, bundling, lock / burn status

- swap_activity (7) — buy/sell ratio from on-chain swap events

- network (5) — deployer-funder graph (mass deployers, mixer funding)

- bytecode (4) — function selectors + known scam hashes for unverified contracts

- distribution (3) — first Transfer events: holder concentration

A few implementation details worth calling out:

- Honeypot sim: we override the simulator's ETH balance to 1000 ETH and use a non-zero gas price specifically to defeat contracts that branch on tx.gasprice == 0 to dodge simulation. Catches buy_only_pattern, amount_dependent, sell-fee tiers.

- Swap-activity hedge: simulator says token is fine, but on-chain reality shows 100 buys / 0 sells over the last hour → buy_only_pattern, 40 points. This caught FWD and SLTE where simulation passed but nobody could actually sell.

- Bytecode for unverified: extract function selectors from deployed bytecode, match against a curated list (blacklist, pause, setMaxTxAmount, etc.). Selectors alone aren't proof, but combinatorial (3+ suspicious + unverified) is a strong signal

reddit.com
u/Plus-Tangerine2186 — 3 days ago

78,372 Ethereum tokens analyzed — 92% of confirmed honeypots from the last 30 days share the exact same on-chain trick

Cross-posting an analysis I found useful — someone scored every fresh ERC-20 deployment on Ethereum mainnet.

**The dataset**:

- 78,372 tokens analyzed (all-time)

- 36,119 high-risk (score ≥ 70) — **46% of every fresh ERC-20 on Ethereum is a scam**

- 1,078 confirmed (score ≥ 90)

- **812 confirmed in the last 30 days alone — 75% of the all-time confirmed scams**

**The dominant pattern**: 86% of all confirmed scams (and **92% in the last 30 days**) share the same flag combo — `honeypot + sell_failed`.

**The mechanic** lives in the `_transfer` override:

- buy() from the Uniswap pair → allowed

- sell() back to the pair → silently reverts with a misleading "insufficient balance" error

**Top recent brand-jacks (last 30d)**: YSUBA 137 fakes, ASTEROID 44, TRUMP 35, SCAM 34, BTC 32, ELON 31. USDT dropped from 245 all-time → 19 in 30d (scammer rotation visible in the data).

**Full breakdown + methodology**: https://rektradar.io/blog/posts/sell-wall-honeypot-78k-tokens/

u/Plus-Tangerine2186 — 9 days ago