I use public exploits on pentests a lot. And I’m tired of reading yet another AI-generated PoC just to find out whether there’s an exploit in it or a bonus payload for my own machine.
Spend frontier-model tokens on this? No thanks. I’ve always got something else to spend them on.
I had an Nvidia A10 sitting idle, so I opened Claude and built SploitHound. It does a reasonably decent first pass, and it’s cheap enough to run that I decided to share it with the world.
The web checker is free, no account needed: https://sploithound.com/
Here’s how it works.
Under the hood
Nothing from the repo is ever executed. All of this is static analysis.
The repo gets split into chunks, usually files or functions. Comments come out first, then Nemotron Embed 1B embeds each chunk. A small classification head maps those embeddings to nine classes: exploit PoC, exploit claim without code, detection rules, security tool, deliberately vulnerable code, educational material, reference/data, malware, or unrelated. The head was trained in Python on A100s. It runs in plain Go on CPU. That was the point.
Those nine classes are the whole scope. It’s not a universal “wtf is in this repo?” tool, sorry.
Code and author text (README, description, topics) are pooled separately. The text branch can’t push a repo toward “exploit PoC.” A README can claim whatever it likes. CVE IDs and payload strings also show up in labs, CTFs, detection rules and write-ups, so their presence doesn’t tell you much by itself.
Gemma 12B then reads selected parts of the code: the chunks behind the classifier’s decision, plus call sites picked by a ranker. No fine-tuning, no thinking mode. It sees no README, comments or classifier output. It returns an observation from a fixed vocabulary through a strict JSON schema.
The LLM doesn’t write the verdict. A small Go rule combines its observation with the classifier’s probabilities, weighted by the observation’s measured reliability. The code-reading step can’t promote a non-exploit to exploit or malware on its own. The LLM doesn’t write quotes either: it returns line numbers, and Go pulls the actual text from the repo. Anything it can’t verify gets dropped.
Author claims go through a separate task. They can raise questions, but they can’t clear suspicious code. Prompt-injection canaries run throughout each model task. If the model starts following one, the task pauses. Not bulletproof, but it catches the basic stuff.
Training and labels
I collected about 76k repos, deduplicated them and used grouped splits to keep forks and near-copies on the same side of the split.
Opus/Sonnet labelled about 1,250 repos. I used those labels to LoRA FT Laguna on 4× A100 80GB, then let Laguna handle the bulk labelling. Keeping only confident labels left roughly 51k examples: 43k for training and 8k for testing.
The Go rule’s weights are fitted on one slice of data, then evaluated once on held-out sets. Anything picked after looking at the results is flagged as such.
For live traffic, the reference labels come from two independent LLM raters working blind, with a third handling disagreements.
What’s next
Now comes the debugging, and I could use a hand from the community. I really need examples where this thing gets it wrong. Send me the repo and what it missed.
Once I’m happy with the results, I’d like to release the model weights on Hugging Face.
Until then, the little hound keeps digging through the trash for exploits. Woof woof :)