Skip to main content

vulnhound

Finds real vulnerabilities. Proves them. Fixes them. Without burning your tokens.

Status: pre-alpha. Only estimate and version work today; the rest is on the roadmap.

Türkçe

Why

Asking an LLM to security-review a codebase usually means feeding it the whole repo. That is expensive, slow, and most of those tokens are code that has nothing to do with any vulnerability. vulnhound avoids this: cheap static analysis finds candidate flows first, so the LLM only reads a short list and a few small code slices.

How it works

  • The core is the eyes. A stdlib-only Python program builds an AST index and runs taint analysis from untrusted sources to dangerous sinks. It never calls an LLM and prints short JSON.
  • Claude is the brain. Inside Claude Code, the bundled skill tells Claude to run the CLI, read only that output plus small slices, judge each finding, write a PoC for the likely-real ones, prove it in a sandbox, and patch it.

Zero runtime dependencies. Python 3.10+. MIT licensed.

Install

As a Claude Code plugin:

/plugin marketplace add bu-ra34/vulnhound
/plugin install vulnhound@vulnhound

The CLI itself (the skill needs it on your PATH):

pip install vulnhound

CLI

Command What it does
vulnhound analyze [path] [--json] [--no-cache] [--min-severity S] Find candidate vulnerabilities. Exit 1 if any. Findings sharing a sink/helper are grouped (--no-group to list all); tests/examples/docs dirs and test_*.py are skipped unless --include-tests; --include-local-sources adds local/CLI inputs as sources.
vulnhound slice <id> Minimal code slice for one finding.
vulnhound prove <id> --poc FILE [--root DIR] [--backend auto|docker|unshare] [--timeout S] [--json] [--verbose] Run a PoC in a sandbox (no network, resource-limited). Prints PROVEN (exit 0), SAFE (1) or UNVERIFIED (3).
vulnhound estimate [path] [--json] Rough token cost (bytes/4) of reading the whole repo.
vulnhound report [--format json|sarif|markdown] [-o FILE] Render findings.
vulnhound version Print version.

Exit codes: 0 ok / no findings, 1 findings found, 2 usage error (e.g. unknown id), 3 UNVERIFIED (prove).

Proving a finding

vulnhound prove <id> --poc poc.py runs a small standalone Python PoC in a sandbox (network off, memory/CPU/time limited, project mounted read-only) and reports a verdict. The PoC triggers the vulnerable code with a malicious input and calls proven("detail") from vulnhound.poc when the exploit works, or safe("detail") when it is blocked. canary_path() returns a secret file outside the project, for path-traversal PoCs to read. No marker and exit 0 means SAFE; sandbox missing, timeout or a crashing PoC means UNVERIFIED. The PoC never runs on the host.

Caveat: the sandbox needs docker or unshare. The PoC runs against your project, so third-party imports must be importable inside it: the unshare backend sees the host venv read-only, while the docker backend uses a clean python image, so PoCs needing framework imports may report UNVERIFIED there. Pick --backend unshare when the PoC imports your installed deps.

Roadmap

  • M0: skeleton (CLI, plugin, skill, CI)
  • M1: project index (AST, call graph, cache)
  • M2: taint engine
  • M3: framework support and slice
  • M4: sandboxed proof (prove)
  • M5: benchmark
  • M6: release

No benchmark results are claimed yet; they will be published after M5.

Security

Scan only code you own. See SECURITY.md.

License

MIT

Metadata

Release files for vulnhound 0.1.0

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

Source distribution (sdist)

Source distribution for vulnhound 0.1.0
File Size Uploaded Provenance Actions
vulnhound-0.1.0.tar.gz 106.9 kB With provenance Details for vulnhound-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 172.3 kB

Release files / vulnhound-0.1.0.tar.gz

Download URL vulnhound-0.1.0.tar.gz
Size 106.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bb0dcef55b4f12782b9a5e11288085d5103c32cae755e9ca2c95aba4caf8c7de
BLAKE2b-256 checksum
How to use checksums
2ee6c8bee835f8c14f2e90fc323cf8ffd502b5354e9a9cd063bfbebf281e4027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / vulnhound-0.1.0-py3-none-any.whl

Download URL vulnhound-0.1.0-py3-none-any.whl
Size 65.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c997400898124b892f5e2dbdc3f215d67dfa67bf42cee2cc2188e017c4a6928d
BLAKE2b-256 checksum
How to use checksums
89774fb08880fed19d4a428347ba8459681bb175e9b1002cfd147b6e93c8ab76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for vulnhound 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vulnhound-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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