Passive MCP server that watches HTTP traffic and surfaces CVE advisory candidates using local Ollama embeddings. No requests issued, no cloud calls by default. Advisory store (~1.93 GiB) is a separate release asset. Python ≥ 3.11, zero runtime deps.
VulnDog is a CLI traffic-listening vulnerability highlighter built for AI agents. It sits as a local forward proxy, watches the requests flowing through it, and highlights the ones that look potentially vulnerable — matching them against a built-in offline vulnerability knowledge base. Every highlight is advisory: a candidate / possible direction, never a finding.
Status: the capture → analysis pipeline, config v2, scope/SSRF rail, MCP server, AI-provider layer, and the
dbstore-management surface are shipped (src/vulndog/), unified behind thevulndogconsole entry (M2.5): the observing proxy, timestamped run folders, redaction-before-persist, the offline matching engine, andvulndog db build / info / verify(M3.1) all work today viavulndog …(orpython -m vulndog …). The CI/release workflow scaffolding is in place (M3.3), the docs are finalized (M3.2), and the independent-extension validation is shipped (M3.4 — stranger walkthroughs, re-proven by permanent offline tests): all milestones M1.1–M3.4 are delivered. Still planned (see PLAN.md for the milestone table): the first public release — no store ships in the tree yet and there are no releases (store distribution awaits the GAP-1 decision).
Security engineers and AI agents increasingly drive HTTP traffic through local proxies (scanner batteries, browser rigs, agent tooling). VulnDog answers one question about that traffic, live: "does this request look like a known vulnerability class?" — without sending a single byte to a cloud service and without issuing a single request of its own. It observes, matches, and writes candidates down. That is all it does, by design: it never issues a request of its own, and its scope/rail denials are a safety floor — not a security control to rely on.
VulnDog's engine is a fully reused, production-proven core (690 tests green at the 2026-10-28 state) with a deterministic pipeline plus one local ML step:
proxied request
→ tap (pure observer, bounded queue) # redaction happens BEFORE persist
→ events.jsonl (redacted spool, per-run dir)
→ event text shaping # deterministic
→ query embedding via local Ollama # the one ML step
→ FTS5 BM25 prefilter (top-500) # deterministic SQL
→ cosine re-rank vs pre-embedded KB vectors # pure Python
→ score floor (0.49, calibrated) + top_k # deterministic
→ regex "exact-id pins" for literal CVE-/CWE- tokens
→ highlights (highlights.jsonl + highlights.md)
/api/embed, model embeddinggemma:300m, 768-d vectors).
There is no chat completion, no prompt, no per-request LLM verdict anywhere in
the pipeline. See docs/AI-INTEGRATION.md.<len-N>), secret
look-alikes are replaced (<redacted>), and anything that fails redaction is
dropped fail-closed. See docs/RUNS-AND-LOGS.md.| # | Feature | Notes |
|---|---|---|
| 1 | CLI-only interface | shipped entry: vulndog run / status / version / mcp / db (console script after pip install .; python -m vulndog … is the equivalent module form); English product language |
| 2 | Configurable proxy | local observing forward proxy, loopback by default (--host / --port); Mode A only — absolute-form HTTP + CONNECT tunnel. A non-loopback bind requires --allow-remote-bind plus a client credential (--client-token / --client-allow), otherwise the proxy refuses to start |
| 3 | Per-run timestamped folders | every run creates runs/<YYYYMMDD-HHMMSS>[-<tag>]/ inside the project, containing the flagged-request log (highlights.jsonl / highlights.md) |
| 4 | Scope + SSRF rail | in/out host patterns (exact or *.suffix; out wins) — out-of-scope requests get HTTP 403 and never leave the machine; under that, an SSRF rail default-denies private/loopback/link-local/metadata targets (--allow-private to opt in) |
| 5 | Built-in vulnerability DB | offline SQLite knowledge base built from CVE (cvelistV5), ExploitDB, CWE, OWASP Top 10 archives — 456,460 records / 437,782 chunks in the full corpus |
| 6 | Optional AI hook | semantic matching via local Ollama embeddings (default) or a custom provider config; reacts to requests and searches vulnerability matches |
| 7 | MCP server | first-class consumers are AI agents: stdio JSON-RPC MCP server exposing vuln_query, highlights, run_status — shipped, run it with vulndog mcp (docs/MCP.md) |
| 8 | Proven engine, fully reused | the vuln_watchdog core is vendored unchanged (module names identical); no redesign of what works |
| 9 | Advisory-only semantics | output is "candidate / never a finding"; no auto-promotion; the engine issues zero target-bound requests |
Explicit non-features (so nobody expects them): no GUI (CLI only), no MITM/TLS decryption (owner-rejected permanently), no LLM verdicts or prompt-driven reasoning (embeddings only).
The proxy is network-facing code, so its safety floors are explicit: