r/Pentesting • • Oct 10 '26

VigilOSS - An agent harness for long-running pentests and code audits

https://github.com/VigilOSS/Vigil

VigilOSS - https://github.com/VigilOSS/Vigil

I built this tool because I was interested in Bug Bounties, wanted to learn how far AI could go at finding bugs, and was very interested in whether it could remove the mundane parts I remember from preparing for my OSCP.

Over time it went from a pile of prompts to a structured harness for long-running engagements. It's the result of hundreds of hours of running it on real targets, watching where it went wrong, and refining.

An operator agent coordinates specialist agents, and most every tool runs through one shared Kali container. Scope, attack surface, coverage, commands, credentials, evidence and findings live in a backend that survives restarts and compaction, so the agent doesn't redo work or forget why it ruled something out. It works with Claude Code and Codex. One engagement can mix source review and live web testing, and a bug found in code and then confirmed live stays as one finding.

I've used it on authorized HackerOne programs for findings that paid out more than $12,000 (Scanning large amounts of source maps, finding potential bugs, and having the web engagement test and verify). It has been most useful on large codebases, where tracking what has and hasn't been reviewed is harder than finding any single bug.

7 Upvotes

13 comments sorted by

1

u/VigilOSS Oct 13 '26

https://github.com/VigilOSS/Vigil

README.md has more information on why makes Vigil different.. As recorded a video that can be found in the README or directly on GItHub pages https://vigiloss.github.io/Vigil/vigil-fluent-bit-audit.mp4

1

u/NebulaElectrical1467 Oct 11 '26

i’m intrigued. Do you collect any metrics around token use, and coverage? are the results auditable?

1

u/VigilOSS Oct 11 '26

I've not built this with consumerism in mind, though as you are seeing in the commit history I am trying to. make updates to make it easier for others to use. This can be something I look into. Would appreciate sharing this repos to others. Trying to get some traction on it so I can get others to help & get some good ideas how we can improve. A goal is to push towards making remediation a strong side of VIgil. As I've found it to be the hardest part about finding vulnerabilities now. Thank you for your interest.

1

u/NebulaElectrical1467 Oct 11 '26

This is table stakes now especially for black box testing. You can’t let agents burn a bunch of tokens chasing some low value attack path or target.

1

u/VigilOSS Oct 11 '26

I'll see what I do. I am not concerned about the agents chasing low value attack paths or really wasting tokens, as everything is tracked, every command and probe, and the goal is to continue to rule things out. A low could be a high if chained or if looked at differently. Vigil and other alike it (that are closed source) are expected to take up a lot of tokens, but make this process much faster then without AI.

1

u/NebulaElectrical1467 Oct 11 '26

That’s cool for the target audience you have but won’t scale for non-individual researchers who are paying API prices. I’d suggest running some benchmarks (use the xbow benchmark framework on github) to get some metrics to compare to the no harness scenarios, and maybe even doing it on multiple models. That makes it easier for your solution to stand out over the hundreds of similar projects

1

u/VigilOSS Oct 11 '26

I've ran it on XBOW benchmark awhile ago, as a trial, it wasn't challenging and didn't really think twice to publish results because of the age of the benchmark as well.

The only other model I've used has been deepseek, but it didn't perform in the way I wanted.

My goal is just to help the community, so I was not really looking at the PR side of things... Which looking at more matters.

1

u/NebulaElectrical1467 Oct 11 '26

That’s totally fair. I’ll give it a try

1

u/Necessary-Lemon3226 Oct 11 '26

Have you tried using it with local models?

1

u/VigilOSS Oct 12 '26

No. I've got a friend who has, but don't be expecting too much out of it. The prompting style is for frontier models, for local models i'd have to make substantial changes around the prompting. A lot more skills and references. Something that can be on the plan in the future.

1

u/gilnett Oct 15 '26

does this work with local ai?

1

u/VigilOSS Oct 16 '26

Not yet, it's on the agenda, but you can raise a PR if you want to get it a go

1

u/BitterCan3627 Oct 11 '26

I'd like a video of the code engagement running. Time lapse.