Skip to main content

AgenticVulHunter

AgenticVulHunter is a four-stage agentic secure code review tool. It reviews the current Git change and returns comments that pass the Stage 4 validation threshold.

Pipeline

Git diff
   ↓
Stage 1: Candidate localisation
   ↓
Stage 2: Context enrichment
   ↓
Stage 3: CWE hypothesis generation
   ↓
Stage 4: Vulnerability validation
   ↓
Review comments above the threshold

The pipeline runs directly on the repository. It does not use annotated SCRBench data at runtime.

Install

From this folder:

pipx install . --force

Check the installed version:

agenticvulhunter --version

LLM setup

The endpoint, API key, and model are the only public LLM setup values. Other research settings stay inside AgenticVulHunter.

Option 1: avh_setup.toml

Create avh_setup.toml in the repository where the review is run:

[llm]
endpoint = "http://localhost:11434/v1"
api_key = ""
model = "qwen3-coder:30b"

For an API endpoint that requires a key:

[llm]
endpoint = "https://example.com/v1"
api_key = "your-key"
model = "your-model"

Option 2: exports

export AVH_ENDPOINT="http://localhost:11434/v1"
export AVH_API_KEY="your-key"
export AVH_MODEL="qwen3-coder:30b"

Exports take priority over avh_setup.toml when both are present.

Do not commit a real API key to Git.

Run a review

Use the default threshold of 0.6:

agenticvulhunter review

Use another threshold:

agenticvulhunter review 0.7

The terminal shows the AVH banner and the status of all four stages while the review is running.

Threshold

The threshold is applied to the final Stage 4 validation score. It is not a separate pipeline stage.

agenticvulhunter review       -> 0.6
agenticvulhunter review 0.7   -> 0.7
agenticvulhunter review 0.9   -> 0.9

JSON output

agenticvulhunter review --json

Remove old build

rm -rf dist

Build package

python -m build

Check package

python -m twine check dist/*

Upload to PyPI

python -m twine upload dist/*

Remove old installation

pipx uninstall agenticvulhunter

Clear cache

uv cache clean

Install latest version

pipx install agenticvulhunter

Check version

agenticvulhunter --version

Release files for agenticvulhunter 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agenticvulhunter 1.0.3
File Size Uploaded
agenticvulhunter-1.0.3.tar.gz 69.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agenticvulhunter 1.0.3
File Interpreter ABI Platform
agenticvulhunter-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 154.3 kB

Release files / agenticvulhunter-1.0.3.tar.gz

Download URL agenticvulhunter-1.0.3.tar.gz
Size 69.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5253e15f9ca3cc4fcda9a939b9e47002ca1fb1d635ed8a6186e4b91f8385db29
BLAKE2b-256 checksum
How to use checksums
216a5a492e3aa21805eb0342cb3d8f83a4a73617d4ed8b8fd3f91bb4cf0e2e43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / agenticvulhunter-1.0.3-py3-none-any.whl

Download URL agenticvulhunter-1.0.3-py3-none-any.whl
Size 85.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a859dc6b87aa4f6f57eb03caca8201987ec71526d9fceeb2c2a2d9d27a10531e
BLAKE2b-256 checksum
How to use checksums
7302d0fb5c7f8ab73a25b124f03a77e31446528807b82012bda43d5d71756b34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release history Release notifications | RSS feed

1.0.4

2 release files

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.7.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page