Skip to main content

DeFi token and approval risk scanner — detect honeypots, rug pulls, and excessive approvals

This project has been quarantined.

PyPI Admins need to review this project before it can be restored. While in quarantine, the project is not installable by clients, and cannot be being modified by its maintainers.

Read more in the project in quarantine help article.

Project description

defi-risk-scanner

DeFi token and approval risk scanner. Detect honeypots, rug pulls, and excessive token approvals.

Installation

pip install defi-risk-scanner

Usage

from defi_risk_scanner import detect_honeypot, scan_token_approvals

risk = detect_honeypot('0xTokenAddress')
print(risk['is_honeypot'], risk['risk_score'])

approvals = scan_token_approvals('0xTokenAddress')
for a in approvals:
    print(a['spender'], a['risk'])

Features

  • Honeypot detection via on-chain analysis
  • Token approval scanning
  • Rug-pull indicator flags
  • Risk scoring (0–100)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

defi_risk_scanner-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file defi_risk_scanner-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for defi_risk_scanner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9116c9a2129259d93b6bfaf8ec46501ca1d420991324c94ee52d701570a71384
MD5 1c12c934f11f8a50b86019d3faced39c
BLAKE2b-256 213f95afc3e236708bb22f8c3a13deca9ff9eef84973ff8236e78e9efc437830

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page