How dhruvasai/garuda- works
GARUDA is a full-stack network security guardian: its dashboard exposes network discovery and monitoring, behavioral and threat detection, host scanning, firewall controls, and a cryptographic incident ledger. The principal workflow is to inspect network/device posture, detect risks, present findings, and support defensive response and forensic review. The API’s service wiring is supported by the main.py reference index; some monitor, frontend, and unsampled subsystem relationships are shown only as unverified where appropriate.
Main entry points: main.py HTTP API · monitor.py Security monitor · app.js Security dashboard · database.py Database setup
Components 20
Dashboard experience
- Security dashboard
frontend/app.js - 3D topology
frontend/topology3d.js
API and persistence
- HTTP API
backend/app/main.py - API schemas
backend/app/schemas.py - Security monitor
backend/app/services/monitor.py - Database setup
backend/app/database.py - Security records
backend/app/models.py
Network visibility
- Network detector
backend/app/services/network_detector.py - Device discovery
backend/app/services/device_scanner.py - Vendor lookup
backend/app/services/oui_db.py
Detection and response
- Intrusion detection
backend/app/services/ids_engine.py - Behavioral anomaly engine
backend/app/services/ml_engine.py - Malware scanner
backend/app/services/malware_scanner.py - Firewall controls
backend/app/services/firewall_manager.py - Security advisor
backend/app/services/advisor.py - Notifications
backend/app/services/notifier.py
Forensics and trust
- Attestation ledger
backend/app/services/attestation_ledger.py - Attestation contract
contracts/GarudaAttestation.sol
Other components
- Operator
- Abuse.ch feed
Connections 22
- Operator → Security dashboard: uses
README.md - Security dashboard → HTTP API: requests data
- Security dashboard → 3D topology: pairs topology
README.md - HTTP API → API schemas: validates with
backend/app/main.py - HTTP API → Security monitor: queries
backend/app/main.py - HTTP API → Database setup: gets sessions
backend/app/main.py - Database setup → Security records: creates tables
backend/app/database.py - Database setup → HTTP API: provides sessions
backend/app/database.py - HTTP API → Intrusion detection: routes detection
backend/app/main.py - HTTP API → Behavioral anomaly engine: routes analysis
backend/app/main.py - HTTP API → Malware scanner: runs scans
backend/app/main.py - HTTP API → Firewall controls: enforces blocks
backend/app/main.py - HTTP API → Attestation ledger: serves proofs
backend/app/main.py - Intrusion detection → Network detector: uses network data
backend/app/services/ids_engine.py - Device discovery → Network detector: uses network data
backend/app/services/device_scanner.py - Device discovery → Vendor lookup: looks up vendors
backend/app/services/device_scanner.py - Malware scanner → Abuse.ch feed: downloads indicators
backend/app/services/malware_scanner.py - Attestation ledger → Security records: stores blocks
backend/app/services/attestation_ledger.py - Attestation ledger → Attestation contract: anchors roots
README.md - Security monitor → Device discovery: collects devices
- Security monitor → Security advisor: builds advice
- Security monitor → Notifications: sends alerts