How driveaway500/enchiridion works
Enchiridion is a Discord OSINT and security-intelligence bot. Its main workflow is a Discord request or scheduled feed cycle: the bot routes commands to feature cogs, which obtain or process vulnerability intelligence and present it in Discord. The feed path is documented in the task source; the README identifies CVE, KEV, exploit, and zero-day capabilities. The graph also shows translation and persistence layers. Some cog-to-view and feature wiring is unsampled, so those links are marked unverified rather than asserted as inspected calls.
Main entry points: omega_api Intelligence APIs · cve_task.py Feed cycle · cve_view.py CVE views · bot.py Bot client
Components 26
Bot runtime
- Application setup
src/main.py - Bot client
src/bot.py
Intelligence features
- CVE commands
src/cogs/cve_cog.py - KEV commands
src/cogs/kev_cog.py - Exploit commands
src/cogs/exploit_cog.py - Zero-day commands
src/cogs/zeroday_cog.py - Help commands
src/cogs/help_cog.py - Language commands
src/cogs/lang_cog.py - KEV parsing
src/parser/kev_parser.py - Intelligence APIs
src/omega_api
Feed processing
- Feed subscriptions
src/cogs/feed_cog.py - Feed cycle
src/feeds/cve_task.py - Feed fetching
src/feeds/engine.py - CVE parsing
src/parser/cve_parser.py
Discord presentation
- CVE views
src/ui/cve_view.py - CVE search forms
src/ui/cve_modal.py - KEV views
src/ui/kev_ui.py - Exploit views
src/ui/exploit_ui.py - Zero-day views
src/ui/zeroday_ui.py
Shared services
- Translations
src/translator - Feed records
src/database/feed_db.py - Guild languages
src/database/lang_db.py - HTTP client
src/httpx_client.py - JSON files
src/database/json_handler.py - CVSS radar
src/graph/cve_radar.py
Other components
- Discord users
Connections 35
- Discord users → Bot client: interacts with
README.md - Application setup → Bot client: starts
src/main.py - Bot client → HTTP client: uses
src/bot.py - Bot client → Feed cycle: registers
- Discord users → CVE commands: requests CVEs
- Discord users → KEV commands: requests KEV
- Discord users → Exploit commands: requests exploits
- Discord users → Zero-day commands: requests zero-days
- Discord users → Feed subscriptions: manages feeds
- Discord users → Help commands: requests help
- Discord users → Language commands: sets language
- Feed subscriptions → Feed records: manages subscriptions
src/cogs/feed_cog.py - Feed cycle → Feed fetching: fetches feeds
src/feeds/cve_task.py - Feed cycle → CVE parsing: parses responses
src/feeds/cve_task.py - Feed cycle → Feed records: checks and records
src/feeds/cve_task.py - Feed cycle → Discord users: sends alerts
src/feeds/cve_task.py - Feed fetching → HTTP client: requests feeds
src/feeds/cve_task.py - KEV commands → KEV views: presents KEV
src/cogs/kev_cog.py - Exploit commands → Intelligence APIs: queries exploits
src/cogs/exploit_cog.py - Zero-day commands → Intelligence APIs: queries zero-days
src/cogs/zeroday_cog.py - Exploit commands → Exploit views: presents results
- Zero-day commands → Zero-day views: presents results
- CVE commands → CVE search forms: opens search
- CVE search forms → CVE views: renders details
src/ui/cve_modal.py - CVE views → Intelligence APIs: loads CVE data
src/ui/cve_view.py - CVE views → CVSS radar: renders radar
src/ui/cve_view.py - CVE views → Translations: localizes labels
src/ui/cve_view.py - KEV views → KEV parsing: uses parsed data
src/ui/kev_ui.py - Exploit views → Intelligence APIs: loads exploit data
src/ui/exploit_ui.py - Zero-day views → Intelligence APIs: loads zero-day data
src/ui/zeroday_ui.py - Exploit views → Translations: localizes labels
src/ui/exploit_ui.py - Zero-day views → Translations: localizes labels
src/ui/zeroday_ui.py - Language commands → Guild languages: stores language
src/cogs/lang_cog.py - Language commands → Translations: selects language
src/cogs/lang_cog.py - Intelligence APIs → HTTP client: makes API requests
src/omega_api/cve_c.py