Skip to content

Consider adding a pre-swap safety check #1

Description

@Neurobyteio

Hey - nice, clean implementation, especially the sub-second WebSocket detection. One thing that stood out: the bot fires the swap immediately on detection with no check on the token contract itself. Given how many freshly-deployed tokens on Base are honeypots or have malicious tax/pause functions, that's a real risk for anyone running this with real funds — you could snipe a token you can't sell back out of.

I built AgentRisk to solve exactly that: honeypot detection, deployer wallet freshness, on-chain LP-lock verification, and a live sell simulation that checks whether a token is actually sellable right now (catches cases where the code looks clean but the pool won't let you exit). Paid per call via x402 (0.15 USDC), or there's a free public UI with 3 free scans if you just want to see the output first.

Not trying to sell anything here — just flagging a real gap since people will actually run this against real liquidity. Happy to answer questions if useful.

https://agentrisk.dev

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions