Offline security scanning for AI-generated code: seven open-source scanners and AI-specific checks in one command.
pip install valvur==1.6.0 Copy PIP instructions
Scorecard's Code-Review, Branch-Protection and Contributors checks need a second maintainer; valvur has one (MAINTAINERS.md).
Status: 1.6.0, the version this tree declares; the PyPI badge above shows what pip install valvur serves, and the CHANGELOG what each version changed.
In Claude Code: /plugin marketplace add MaverickHQ/valvur, then /plugin install valvur@valvur, and ask it to scan the project. From a terminal, with Docker or Podman running: uvx valvur scan.
What it checks, rule by rule, and what it cannot see: how valvur works.
.security-scan/ ← ignores itself in git, so it is never committed ├── SUMMARY.md ← start here: the verdict, anything that failed, the top groups ├── REMEDIATION.md ← a ranked proposal: you choose what to apply ├── findings.json ← every finding, normalised, secrets redacted ├── results.sarif ← SARIF 2.1.0, for code scanning and IDEs └── run.json ← what ran, what was fetched, and what left the machine: nothing A scan ends findings, clean or inconclusive. It never says clean when stale data, an uninspected ecosystem or a Scanner that did not finish cannot support it, and it says why.
How much of what valvur claims it finds is measured as the Score: nine tracks scored by the OWASP Benchmark's formula, with a ratchet that no change may fall more than two points under. It is 74.1 out of 100, the same on Linux and on macOS.
Track 8 is precision on maintained code, where almost nothing is a vulnerability: 3 of its 171 findings are real. Track 9 measures the rules for model output reaching a sink: they catch 30 of 34 generated flows with no false alarm, and none of five published advisories in LangChain, LlamaIndex and Vanna, whose flows each cross a function. Each rule's precision is in docs/RULES.md, and the method, the gates and what valvur does not claim are in docs/EVALUATING.md. Read that one sceptically.
The Claude Code plugin brings the MCP server, a skill that runs the workflow, and a hook that asks you before the agent installs a package valvur flags. Kiro takes it as a power. Any MCP client runs the server with uvx --from valvur valvur-mcp. The agents' guide has the configuration for eleven clients, the seven tools, and the permissions a don't ask mode needs.
The Scanners run in a container, so the machine needs Docker or Podman; valvur doctor says what is missing.
pip install valvur # or: uv tool install valvur valvur scan # offline by default; --profile full adds the registries' answers valvur check npm left-pad # before an install: real, a near-miss, or malicious? valvur gate . --fail-on high --no-inconclusive The command-line guide has every command, what a first scan fetches, the Results Folder, and the settings files.
- uses: MaverickHQ/valvur-action@16b19e275f843419887873ed536a71f872607e24 # v0.2 with: { fail-on: high, no-inconclusive: "true" } The action scans, uploads results.sarif to code scanning and gates the job. The CI guide covers the gate, the image as a step of its own, and GitLab.
valvur builds no detection engine. Seven open-source Scanners do that and deserve the credit; valvur adds one File Set, one findings model, exploit-aware ranking, and three Checks of its own. All of them run in one container, fed a copy of the files. run.json records the version of each that ran, and raw/ keeps what each said.
Exploit intelligence comes from CISA KEV and FIRST EPSS: public primary sources, auditable and mirrorable. No proprietary database, and nothing to lock you in.
Air-gapped? The database, the Name Index and its malicious list, KEV, EPSS and OSV's databases all live outside the image, and each has a mirror setting. See docs/AIR-GAPPED.md.
valvur collects nothing: no account, no API key, no telemetry, and no part of it reports on you or your code. The results stay in .security-scan/, which ignores itself in git. What the host fetches is public data, each fetch recorded in run.json. python3 scripts/verify-offline.py checks it, and on Linux unshare -rn valvur scan proves it (how).
Apache-2.0, see LICENSE; chosen over MIT for the explicit patent grant. Bundled Scanners keep their own licences, listed above and in NOTICE. valvur adds no GPL or AGPL component; the Alpine base carries GPL userland as every Linux container does, and the published SBOM discloses all of it (ADR-0005).
All 2 files in this release have provenance metadata.
ai-generated-code mcp offline sast sbom scanner secrets security slopsquatting supply-chain
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
All 2 files in this release have been uploaded with provenance metadata.
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.
Yanked reason: looks for a local development image; use 0.3.0




