Building VulnScanner: Turning Noisy Vulnerability Feeds Into Something I Can Actually Use
A Python tool that pulls NVD, CISA KEV, EPSS and OSV data together and writes SARIF output, and what building it taught me about sorting real risk from feed noise.
I did not set out to build a vulnerability scanner. I set out to stop drowning in vulnerability lists. Every feed I looked at seemed useful on its own, but together they gave me the same flaw under different names, different scores, and different levels of urgency. I wanted one place where I could check a dependency, see why it mattered, and move on with fixing it instead of reading five pages that all said something slightly different.
VulnScanner is a small Python tool I built for that job. You give it something to check, it pulls data from the National Vulnerability Database, the CISA Known Exploited Vulnerabilities catalog, EPSS scores, and the OSV database, and it puts the results together in one report. I chose Python because I could move fast with it, and because most of the feed work is really just fetching JSON, cleaning it up, and joining records on the right keys. Nothing about the first version was fancy. It just had to be honest about where each piece of information came from.
The part that changed how I think about security was prioritisation. A high CVSS score alone does not mean I should drop everything. If CISA KEV says a flaw is already being exploited, that changes the picture a lot. If EPSS puts the chance of exploitation in the near term very low, that also matters, even when the score looks scary. VulnScanner does not make the decision for me. It lines up those signals side by side so I can see the difference between a flaw that is loud on paper and one that is actually being used against real systems. That habit has stuck with me, and I now ask what is known to be exploited before I ask how bad a score looks.
The messy part was the feeds themselves. The same vulnerability can show up with a different identifier, a slightly different product name, or a version range that does not match the next source. Early on I ended up with duplicate rows that made a short list look long, and that is a bad kind of error because it wastes the time you meant to save. I had to normalise names and versions, pick a stable key for each finding, and keep the original source attached to it so I could trace a result back when something looked wrong. Deduplication sounds boring until you see how much cleaner a report feels when each flaw appears once, with its evidence in one place.
SARIF was the piece that made the output useful outside my own terminal. It is a common format for static analysis results, so other tools can read it, show findings in a familiar way, and sort them without me writing a custom parser for each one. I did not pick it because it sounded impressive. I picked it because I kept asking myself how someone else would actually use the output, and a plain text dump would have died in a chat message or a screenshot. With SARIF, the same run can feed into a review workflow instead of sitting in a file nobody opens again.
I am still a student, and I am not going to pretend this is a finished product. It does not replace a proper scanner, it does not prove a system is safe, and it is only as good as the feeds it reads. What it did teach me is to check my sources, to distrust a single score, and to build for the person who has to act on the result, not just for the person who runs the tool. If you are building something similar, start with one feed, get the output right, and only then add the next source. Adding feeds is easy. Making them agree with each other is the real work, and that is where I learned the most.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article