Skip to main content

Vigil — security audit on your own model

lv24-vigil (Python launcher)

PyPI Python npm license MCP

Vigil is a local-first security auditor for code. It runs 263 deterministic rules over a repository (secrets, injection, crypto, auth, web, config/IaC, CI, dependencies, MCP configuration, release hardening) and can then use the model you configure to triage findings, propose fixes and write a threat model. The same program is a CLI and a stdio MCP server. No account, no telemetry.

This package is a thin launcher: the vigil command delegates to the npm package lv24-vigil through npx. It does not reimplement Vigil and bundles neither a binary nor Node.js.

 vigil (this package)  -->  npx -y lv24-vigil@<version>  -->  the Vigil binary

Prerequisites

  • Node.js 18 or newer, including npm and npx (nodejs.org).
  • Python 3.9 or newer.
  • Network access on first run, or an npm cache that already contains the requested package, because npx may download it.

No Node.js? Use Homebrew, Scoop, a Linux package, the container or a release binary instead: https://github.com/LevapVeeskela/lv24-vigil/blob/main/docs/install.md.

Installation

pipx install lv24-vigil        # isolated, recommended for a CLI
pip install lv24-vigil         # into the current environment
uvx lv24-vigil scan --no-llm   # run once without installing

This installs two equivalent console scripts, vigil and lv24-vigil.

Command
Update pipx upgrade lv24-vigil or pip install -U lv24-vigil
Remove pipx uninstall lv24-vigil or pip uninstall lv24-vigil

Usage

vigil version
vigil scan --no-llm                          # deterministic rules: no key, no network
vigil scan --format sarif --fail-on high     # CI gate, SARIF on stdout
vigil status --json                          # resolved provider, model and rules

All arguments are forwarded unchanged to the npm CLI. The child process inherits the terminal, environment and working directory, and its exit code is propagated. You can also run:

python -m lv24_vigil --help
Exit code Meaning
0 Clean
1 Error
2 Findings at or above --fail-on
127 npx was not found; the launcher prints an installation hint
130 Interrupted

MCP server

The launcher passes stdio through, so it can start the MCP server for a client that only has Python tooling:

{
  "mcpServers": {
    "vigil": {
      "command": "uvx",
      "args": ["lv24-vigil", "mcp"]
    }
  }
}

With Node.js on the machine anyway, npx -y lv24-vigil mcp is the direct form. Clients, tools and prompts: https://github.com/LevapVeeskela/lv24-vigil/blob/main/docs/mcp.md.

Version pinning

By default the launcher runs the npm package version matching its own version (currently 0.11.0). Override it with VIGIL_NPM_VERSION to use any npm version or tag:

VIGIL_NPM_VERSION=latest vigil --help
VIGIL_NPM_VERSION=0.11.0 vigil scan --no-llm

PowerShell:

$env:VIGIL_NPM_VERSION = "latest"; vigil --help

For AI agents

{
  "package": "lv24-vigil",
  "install": "pipx install lv24-vigil",
  "requires": ["python>=3.9", "node>=18"],
  "binary": "vigil",
  "mcp": { "command": "uvx", "args": ["lv24-vigil", "mcp"] },
  "deterministic_only": "vigil scan --no-llm",
  "json_report": "vigil scan --format json",
  "status_json": "vigil status --json",
  "version_override_env": "VIGIL_NPM_VERSION",
  "exit_codes": { "0": "clean", "1": "error", "2": "findings at or above --fail-on", "127": "npx not found", "130": "interrupted" },
  "docs_index": "https://github.com/LevapVeeskela/lv24-vigil/blob/main/llms.txt"
}

Prefer --format json or an MCP tool over the human summary. Without a model, --no-llm still runs all 263 rules. Show a fix diff before applying it.

License

Apache-2.0, same as the Vigil repository and the canonical npm package.

Metadata

Release files for lv24-vigil 0.11.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 lv24-vigil 0.11.0
File Size Uploaded Provenance Actions
lv24_vigil-0.11.0.tar.gz 10.9 kB With provenance Details for lv24_vigil-0.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lv24-vigil 0.11.0
File Interpreter ABI Platform Actions
lv24_vigil-0.11.0-py3-none-any.whl Python 3 none any Details for lv24_vigil-0.11.0-py3-none-any.whl

Total release size: 20.3 kB

Release files / lv24_vigil-0.11.0.tar.gz

Download URL lv24_vigil-0.11.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b33f21f6f45c94313415f8a676f5c6cc103730228fe5baca30bc686cfb13ce07
BLAKE2b-256 checksum
How to use checksums
d830815bfb1cd4341ec93f3cecaa3d68dbec1951ad059cc646c62e06fe37db0b
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 / lv24_vigil-0.11.0-py3-none-any.whl

Download URL lv24_vigil-0.11.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5148be37bb6a0b834a64bb5ff63239e27d9b0da0a3249c21a701a318cd94ecf0
BLAKE2b-256 checksum
How to use checksums
dd06fcc27f5f21e6045791b6f0d8f4886af83991b1fb8b6c90e56b78c0cbf866
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 lv24-vigil 0.11.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 lv24_vigil-0.11.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.

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