Add dust transaction filter to catch native ETH poisoning
Some checks failed
check / check (push) Has been cancelled
Some checks failed
check / check (push) Has been cancelled
Address poisoning attacks also use real native ETH dust transfers (e.g. 1 gwei) from look-alike addresses. Token-level filters cannot catch these. Add a configurable dust threshold (default 100,000 gwei / 0.0001 ETH) that hides transactions below the threshold from history. The threshold is editable in Settings and the filter can be disabled entirely. Document the specific attack tx in the README.
This commit is contained in:
@@ -94,6 +94,8 @@ async function loadTransactions(address) {
|
||||
const result = filterTransactions(rawTxs, {
|
||||
hideLowHolderTokens: state.hideLowHolderTokens,
|
||||
hideFraudContracts: state.hideFraudContracts,
|
||||
hideDustTransactions: state.hideDustTransactions,
|
||||
dustThresholdGwei: state.dustThresholdGwei,
|
||||
fraudContracts: state.fraudContracts,
|
||||
});
|
||||
const txs = result.transactions;
|
||||
|
||||
Reference in New Issue
Block a user