
I Built a Threat Intelligence Tool That Maps Malicious IPs in Real Time
What I Built The Breadcrumb Engine is a Python tool that takes a list of IP addresses and plots them on an interactive dark-mode map, enriched with real-time threat intelligence from VirusTotal. Each IP is colour-coded by risk level and the full dataset is exportable as CSV. π’ Green β 0β4% (Clean) π Orange β 5β14% (Suspicious) π΄ Red β 15%+ (Malicious) The Stack Streamlit β web UI with zero frontend code Folium β interactive map rendering on a CartoDB dark basemap VirusTotal API β aggregates 90+ security vendor votes per IP ipinfo.io β HTTPS geolocation pandas β data handling and CSV export What I Learned 1. Never hardcode API keys This seems obvious but it's easy to slip up when prototyping. The fix is simple β use environment variables: VT_API_KEY = os . environ . get ( " VT_API_KEY " ) And on Mac, make it permanent: echo 'export VT_API_KEY="your_key_here"' >> ~/.zshrc source ~/.zshrc 2. HTTP geolocation is a MITM risk The original version used http://ip-api.com β plain HTTP. On a clo
Continue reading on Dev.to
Opens in a new tab


