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.10.3). Override it with VIGIL_NPM_VERSION to use any npm version or tag:

VIGIL_NPM_VERSION=latest vigil --help
VIGIL_NPM_VERSION=0.10.3 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.10.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 lv24-vigil 0.10.3
File Size Uploaded Provenance Actions
lv24_vigil-0.10.3.tar.gz 10.9 kB With provenance Details for lv24_vigil-0.10.3.tar.gz

Built distribution (wheel)

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

Total release size: 20.3 kB

Release files / lv24_vigil-0.10.3.tar.gz

Download URL lv24_vigil-0.10.3.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9cc7fdc5ba4f7f04b7973fd2168b542e46a77875397fd6ac6556d441c62699fa
BLAKE2b-256 checksum
How to use checksums
4b3c0567544b1c867f444d89ac99583bc812e5dce97fb40f900cb0899b2eebc5
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 17, 2026.

Transparency log

Release files / lv24_vigil-0.10.3-py3-none-any.whl

Download URL lv24_vigil-0.10.3-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fdbb04b22b50b3192d23c7cf99ddf323de891608254cfc12f260d1381cae5cf
BLAKE2b-256 checksum
How to use checksums
6b7d5274be1f2d5a0821e8d915637ad7ff26d432ab1913bc7da9378632109185
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 17, 2026.

Transparency log

Security for lv24-vigil 0.10.3

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.10.3.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 17, 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