Skip to content

Token Safety Integration: Protect DeFi Operations with SafeAgent #96

@Aigen-Protocol

Description

@Aigen-Protocol

Token Safety for FinRobot

Proposal

FinRobot agents that interact with DeFi/crypto markets need safety checks before executing trades or analyzing tokens. SafeAgent provides this as a simple API call or MCP server integration.

What SafeAgent provides

  • Safety score (0-100) for any ERC-20 token across 6 EVM chains
  • 27 scam pattern detection: honeypots, hidden mints, ownership exploits, fee traps
  • Real honeypot simulation via actual DEX swap testing
  • DeFi yields, gas prices, token price data

Integration

# Direct API — no dependencies needed
import requests
r = requests.get("https://cryptogenesis.duckdns.org/scan", 
                  params={"address": "0x...", "chain": "base"})
safety = r.json()
# Returns: safety_score (0-100), verdict, flags, risk breakdown

Use case

Before FinRobot executes a DeFi trade:

  1. Check token safety score
  2. If score < 80, flag as risky
  3. If honeypot detected, block the trade entirely

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions