How emtrion/cvewatch works
emCVE-Watch combines a PHP account and project portal with a Python vulnerability-scanning service. Users create projects and upload Debian elbe XML or Yocto CSV; scheduled checks process package data, compare it with vulnerability feeds, store findings, and email reports. The graph preserves the documented upload-to-report capabilities and the sampled scanner dependencies. Some portal-to-scanner handoffs are described only in the README, so those links cite that documentation; unsampled internals are not inferred.
Main entry points: deb.py Debian Scanner · yocto.py Yocto Scanner · cron.py Scheduled Checks · utils.py Scan Utilities
Components 18
Web Portal
- Account Access
login/includes/login.inc.php - Profile Settings
profile/includes/profile.inc.php - Project Views
projects/project_view.php - Project Management
assets/includes/projects.php
Project Intake
- File Upload
projects/includes/projects.inc.php - Debian elbe XML
webapp/utils.py - Yocto CSV Recipe
yocto/meta-xxx/classes/package-list.bbclass
CVE Scanning
- Scheduled Checks
webapp/cron.py - Debian Scanner
webapp/deb.py - Yocto Scanner
webapp/yocto.py - Scan Utilities
webapp/utils.py
Data And Notifications
- Feed Updates
webapp/update.py - Database Access
webapp/database.py - Application Database
assets/setup/db.sql - Report Mailer
webapp/mail.py
Other components
- Project User
- Debian And NVD Feeds
- SMTP Email
Connections 24
- Project User → Account Access: signs in
- Project User → Project Views: manages projects
README.md - Project Views → Project Management: lists projects
projects/project_view.php - Project User → File Upload: uploads inventory
README.md - File Upload → Debian elbe XML: stores upload
README.md - File Upload → Yocto CSV Recipe: accepts CSV
projects/includes/projects.inc.php - Debian elbe XML → Debian Scanner: checks packages
webapp/utils.py - Scheduled Checks → Debian Scanner: runs checks
webapp/cron.py - Scheduled Checks → Yocto Scanner: runs checks
webapp/cron.py - Scheduled Checks → Feed Updates: updates feeds
webapp/cron.py - Scheduled Checks → Scan Utilities: uses utilities
webapp/cron.py - Scan Utilities → Debian Scanner: checks packages
webapp/utils.py - Debian Scanner → Database Access: reads and writes
webapp/deb.py - Yocto Scanner → Database Access: reads and writes
webapp/yocto.py - Debian Scanner → Scan Utilities: uses utilities
webapp/deb.py - Yocto Scanner → Scan Utilities: uses utilities
webapp/yocto.py - Debian Scanner → Report Mailer: sends reports
webapp/deb.py - Yocto Scanner → Report Mailer: sends reports
webapp/yocto.py - Debian Scanner → Feed Updates: refreshes feed
webapp/deb.py - Yocto Scanner → Feed Updates: refreshes feed
webapp/yocto.py - Feed Updates → Debian And NVD Feeds: downloads data
webapp/update.py - Database Access → Application Database: queries database
- Report Mailer → SMTP Email: sends mail
README.md - Project User → Profile Settings: edits account
README.md