How ayaan1911/eidolon works
Eidolon helps users inspect public exposure, understand findings, and manually deploy decoys. The main workflow runs email, photo, and repository checks, collects results in a browser-session dossier, and exports a case report; password checking is standalone. A separate admin Trap Lab creates decoys and reviews stored visits. The graph preserves these product stages and the API’s storage and external integrations. Some frontend and backend modules were not excerpted, so their internal connections are included only where the README documents them.
Main entry points: App.jsx Routes and tools · traps.py Trap endpoints · exposure.py Exposure endpoints · FindingsContext.jsx Dossier state
Components 30
Browser experience
- Routes and tools
frontend/src/App.jsx - API client
frontend/src/services/api.js - Email check
frontend/src/components/EmailCheck.jsx - Password check
frontend/src/components/PasswordCheck.jsx - Photo check
frontend/src/components/PhotoCheck.jsx - Repository scan
frontend/src/components/RepoScan.jsx - Dossier state
frontend/src/context/FindingsContext.jsx - Dossier and report
frontend/src/components/Dossier.jsx - Case report export
frontend/src/lib/caseReport.js - Trap Lab
frontend/src/components/TrapLab.jsx - Admin session
frontend/src/lib/adminAuth.js
Exposure checks
- Exposure endpoints
backend/routers/exposure.py - Breach lookup
backend/services/breach_check.py - Photo metadata
backend/services/photo_metadata.py - GitHub scanner
backend/services/github_scanner.py
Decoy operations
- Trap endpoints
backend/routers/traps.py - Admin verification
backend/services/admin_auth.py - Decoy key signing
backend/services/honeytoken.py - Visitor enrichment
backend/services/geolocation.py - Push alerts
backend/services/ntfy_alert.py
API and state
- FastAPI entrypoint
backend/main.py - API schemas
backend/models/schemas.py - Trap and alert records
backend/database.py
Other components
- User / visitor
- GitHub
- XposedOrNot
- Pwned Passwords
- ipwho.is
- ntfy service
- Postgres
Connections 35
- User / visitor → Routes and tools: uses
frontend/src/App.jsx - Routes and tools → Email check: routes to
frontend/src/App.jsx - Routes and tools → Password check: routes to
frontend/src/App.jsx - Routes and tools → Photo check: routes to
frontend/src/App.jsx - Routes and tools → Repository scan: routes to
frontend/src/App.jsx - Routes and tools → Dossier state: provides state
frontend/src/App.jsx - Routes and tools → Dossier and report: routes to
frontend/src/App.jsx - Routes and tools → Trap Lab: routes to
frontend/src/App.jsx - Email check → Dossier state: adds results
- Photo check → Dossier state: adds results
- Repository scan → Dossier state: adds results
- Dossier and report → Dossier state: reads findings
frontend/src/components/Dossier.jsx - Dossier and report → Case report export: exports report
frontend/src/components/Dossier.jsx - User / visitor → API client: requests checks
- API client → FastAPI entrypoint: calls API
- Password check → Pwned Passwords: sends hash prefix
- FastAPI entrypoint → Exposure endpoints: registers
backend/main.py - FastAPI entrypoint → Trap endpoints: registers
backend/main.py - Exposure endpoints → Breach lookup: calls
backend/routers/exposure.py - Exposure endpoints → Photo metadata: calls
backend/routers/exposure.py - Exposure endpoints → GitHub scanner: calls
backend/routers/exposure.py - Breach lookup → XposedOrNot: queries
- GitHub scanner → GitHub: scans repositories
- Exposure endpoints → API schemas: validates responses
backend/routers/exposure.py - Trap Lab → API client: requests trap actions
frontend/src/components/TrapLab.jsx - API client → Admin session: reads token
frontend/src/services/api.js - Trap endpoints → Admin verification: checks admin
backend/routers/traps.py - Trap endpoints → Decoy key signing: verifies decoy keys
backend/routers/traps.py - Trap endpoints → Trap and alert records: stores visits
backend/routers/traps.py - Trap and alert records → Postgres: persists records
- Trap endpoints → Visitor enrichment: enriches visitor IP
backend/routers/traps.py - Visitor enrichment → ipwho.is: looks up IP
- Trap endpoints → Push alerts: schedules alerts
backend/routers/traps.py - Push alerts → ntfy service: sends notification
- Trap Lab → User / visitor: deploys decoy URL