r/coolgithubprojects • u/Traditional-Most8699 • 13h ago
Docker CVE Radar — lightweight CVE & threat-intel radar (pure Python + Trivy) behind a strict allowlist HAProxy proxy
I got tired of finding out about new Linux/container CVEs days late, or spinning up massive stacks just to check if a newly disclosed bug actually hits anything running on my home server. I also didn't want a web UI mounting /var/run/docker.sock directly.
GitHub: https://github.com/Juanjor3/docker-cve-radar
It's pure Python 3.12 stdlib (no pip/npm dependencies) + Trivy, running behind an internal HAProxy container (proxy/haproxy.cfg) that only whitelists the exact GET routes needed for container/image inventory. No POST/exec/volumes, and /containers/*/json is blocked too so it can't read other containers' env vars or secrets.
What it does day-to-day:
- Cross-checks running containers against CISA KEV, GitHub Advisories, Ubuntu USN, The Hacker News + OSV.dev, optional NIST NVD, and local Trivy scans.
- Lets you separate WAN-exposed containers from LAN-only ones to reduce noise.
- Runs fast scans (feeds + cached Trivy) or full scans (updates
trivy-dband scans images deduplicated byImageID), with a cancelable live console and optional SMTP alerts. - Binds to
127.0.0.1by default, non-root read-only container, optional Basic Auth, and EN/ES UI toggle.
Full disclosure: I designed and tested the architecture and hardening rules using AI-assisted coding.
If you just want to check out the UI without touching your Docker socket, DEMO_MODE=true spins up sample containers:
git clone https://github.com/Juanjor3/docker-cve-radar && cd docker-cve-radar
DEMO_MODE=true docker compose up -d --buildHappy to hear any feedback on the HAProxy allowlist or if you spot any gaps.



