🛡️ Security Monitor
Real-time threat detection, fraud prevention & automated remediation
Total Events
-
Critical
-
High Risk
-
Medium Risk
-
Blocked IPs
-
Frozen Wallets
-
| Time | Severity | Threat Type | Description | Source | Status |
|---|---|---|---|---|---|
| Loading events... | |||||
Events Over Time
Risk Distribution
Top Threat Types
Top Suspicious IPs
| IP Address | Risk Score | Risk Level | Threats | Status | Last Seen |
|---|---|---|---|---|---|
| Loading IP risks... | |||||
| Wallet Address | Risk Score | Risk Level | Threats | Status | Last Activity |
|---|---|---|---|---|---|
| Loading wallet risks... | |||||
| Time | Action Type | Description | Target | Executed By | Status |
|---|---|---|---|---|---|
| Loading actions... | |||||
📚 Security Monitor - Quick Guide
🎯 Features
- 19 Threat Types - Fraud, MITM, API abuse, wallet anomalies, unusual trading, and more
- Risk Scoring (0-100) - LOW (0-30), MEDIUM (31-60), HIGH (61-80), CRITICAL (81-100)
- 12 Automated Actions - Block IP, freeze wallet, disable API key, require MFA, etc.
- Real-time Monitoring - Request-level threat detection via middleware
- Telegram Alerts - Instant notifications for HIGH/CRITICAL threats
🚀 How to Use
- Monitor Events - View security events in the main table, filter by severity/status/time
- Analyze Threats - Click on any event to see detailed information
- Review Analytics - Check the Analytics tab for trends and patterns
- Manage Risks - Review high-risk IPs and wallets, block/freeze as needed
- Track Actions - View mitigation history in the Actions tab
🔌 API Endpoints
GET /security-monitor/api/stats?hours=24
GET /security-monitor/api/events
GET /security-monitor/api/ip-risks
POST /security-monitor/api/block-ip
POST /security-monitor/api/freeze-wallet
GET /security-monitor/api/health
📊 Performance Metrics
<100ms
Detection Latency
<50ms
Event Logging
<5s
Alert Delivery
<1s
Auto-remediation
📖 Documentation
- 📄 Architecture:
app/routers/security_monitor/ARCHITECTURE.md - 🚀 Deployment Guide:
app/routers/security_monitor/DEPLOYMENT.md - 📚 User Guide:
app/routers/security_monitor/README.md - 💻 Code Examples:
app/routers/security_monitor/examples.py
Event Details
Auto-refresh: 30s