VulnStack
Point it at a URL and it fingerprints the technologies in use, then matches the versions it finds against a local copy of the NVD. No AI involved, and it never exploits anything.
vulnstack scan https://example.com
fetch -> fingerprint -> resolve products -> query local CVE db
-> compare versions -> classify -> report
What it does
One command runs the whole workflow. VulnStack fetches the page, works out what technologies it runs (web server, language, CMS, framework, frontend libraries), extracts versions where the evidence supports it, and checks those against a local SQLite copy of the NIST National Vulnerability Database. You don’t identify anything by hand or look up CVE IDs.
It uses no language models and no machine learning. Fingerprints are plain data, matching is regular expressions and header or HTML inspection, and the version check is explicit range comparison, so a scan gives the same result for the same input and database.
Fingerprinting
Signals come from Server and X-Powered-By style headers, meta generator
tags, script and stylesheet URLs (lib-1.2.3.min.js, /ajax/libs/lib/1.2.3/,
lib@1.2.3/) and cookies. Each fingerprint maps to a CPE vendor and product,
and a test enforces that every one has a mapping and a test case.
Versions are never invented. Most cookie and HTML signatures identify a product without revealing its version, so those come out as “unknown” and are reported as something to verify, not as a match.
Matching
Detected versions are compared to the structured affected ranges in each record (inclusive and exclusive bounds, open-ended ranges, exact versions). Comparison isn’t lexical and doesn’t assume semver. If it can’t be done safely, the result is “uncertain”, never a match. Every result gets one of six classifications:
| Classification | Meaning |
|---|---|
MATCHED_AFFECTED_RANGE |
version falls in an affected range |
VERSION_NOT_MATCHED |
version is outside every range |
VERSION_UNKNOWN |
product matched, version unknown |
PRODUCT_MAPPING_AMBIGUOUS |
more than one product could match |
AFFECTED_RANGE_UNAVAILABLE |
the record has no version range |
SOURCE_DATA_INCOMPLETE |
the comparison couldn’t be made safely |
A match means a potentially affected component, not a reachable or exploitable one. Backported distro fixes aren’t accounted for, so a match can be a false positive.
Scanning safely
The scanner makes the minimum number of requests and doesn’t crawl or run JavaScript. Since it fetches URLs it is handed, the fetching is locked down:
- Every resolved IP is checked before connecting, and loopback, private, link-local and other reserved ranges are blocked by default.
- The connection is pinned to a validated IP, so DNS rebinding can’t swap the address underneath it, and every redirect is re-validated.
- TLS verification is always on, and response size and time are capped.
- Cookies and credentials are never kept or forwarded.
The database
vulnstack db update downloads a daily-built database from the project’s own
GitHub release (a delta if you’re close, the full file otherwise), checks it
against the SHA-256 and size in a manifest, validates it, and only then swaps it
in. --source nvd goes to NVD directly, and a CVE List v5 tree can be ingested
from disk. A failed sync leaves the existing database untouched. Once it’s
populated, scans work offline.
Running it
python3 -m venv .venv && source .venv/bin/activate
pip install -e .
vulnstack db update
vulnstack scan https://example.com --format html --output report.html
Terminal, JSON and self-contained HTML reports are supported. It targets Debian-based Linux with Python 3.11+, and the repo has a pytest suite that needs no live network.