Skip to content

tf0rs/forta-address-poisoning-agent

Repository files navigation

Address Poisoning Agent

Description

This agent detects address poisoning, phishing transactions.

Supported Chains

  • Ethereum
  • Binance Smart Chain
  • Polygon
  • Avalanche
  • Arbitrum
  • Optimism
  • Fantom

Alerts

  • ADDRESS-POISONING-ZERO-VALUE

    • Fired when a transaction consists of more than 3 zero-value Transfer events, primarily in stablecoins
    • Severity is always set to "medium"
    • Type is always set to "suspicious"
    • Other metadata includes the phishing eoa and contract involved, the length of the transaction logs, and attacker and victim addresses
  • ADDRESS-POISONING-LOW-VALUE

    • Fired when a transaction sends low-value dusting payments to victims, imitating amounts they've previously sent (ex. 0.016 USDT - 16,000 USDT)
    • Severity is always set to "medium"
    • Type is always set to "suspicious"
    • Other metadata includes the phishing eoa and contract involved, the length of the transaction logs, and attacker and victim addresses
  • ADDRESS-POISONING-FAKE-TOKEN

    • Fired when a transaction involves transfers for tokens using the symbols of major stablecoins or base currencies (ex. ETH or USDT)
    • Severity is always set to "medium"
    • Type is always set to "suspicious"
    • Other metadata includes the phishing eoa and contract involved, the length of the transaction logs, and attacker and victim addresses

Test Data

The agent behaviour can be verified with the following transactions:

  • ADDRESS-POISONING-ZERO-VALUE

    • 0x8fef1adea2ca09fc31eb6990c5aba7f4ed1bbab75b18524bd42978ceb136f2cb (50 transferFrom calls)
    • 0x759f75b3d5d134b986f379f26b0cb29b89e1098cc9c42b4e5dbe83ff83a6666a (9 transferFrom calls)
  • ADDRESS-POISONING-LOW-VALUE

    • 0xbaa8ad798afc2abfd75def7b4ab8ee64032cc2c80c74bbf082aeca6b395efb4d (Invalid: the agent looks at the victim's recent tx history)
    • 0x914dca18d23a70569896cd624fec9733fb3a3022f280725352f4d2566d137b1b (Invalid: the agent looks at the victim's recent tx history)
  • ADDRESS-POISONING-FAKE-TOKEN

    • 0x7b1ff5946647d6ae9839441e8929436ece85d28fa80926c3397eb71e4108b183
    • 0x792afab39bc28ee5d00bc6bfe11bb2bc4893a75da38171a28a8ae0b8d7ad68c7

About

Detecting address poisoning transactions on EVM chains

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published