llm-lint
Static checks for “LLM slop” and related drift: oversized files/functions, duplicate bodies, noisy helpers, risky env fallbacks, and secret-shaped strings. Implemented in Rust; configuration lives in llm-lint.toml or llm-lint.json at the root of the tree you scan.
Python environments
The CLI is published to PyPI as llm-lint (pre-built wheels for common platforms via Maturin).
pip / virtualenv
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install llm-lint
llm-lint scan .
uv (recommended)
uv tool install llm-lint
llm-lint scan .
Or run without a global install:
uv tool run --from llm-lint llm-lint scan .
pipx
pipx install llm-lint
llm-lint scan .
JavaScript / Node environments
The npm package llm-lint-cli is a thin wrapper: it runs the same binary via uv tool run --from llm-lint, so the real executable comes from PyPI.
Prerequisites
- uv must be available. On macOS/Linux the package’s install flow can bootstrap uv; on Windows install uv yourself if needed.
Install in a project
npm install -D llm-lint-cli
npx llm-lint scan .
package.json scripts:
{
"scripts": {
"lint:llm": "llm-lint scan ."
}
}
Postinstall config
On a normal (non-global) npm install, if llm-lint.toml is missing in the project root, a starter file is copied from the package template. Existing files are left unchanged.
Other install options
| Channel | Command |
|---|---|
| Cargo (from source / crates.io) | cargo install llm-lint |
Usage
llm-lint scan .
llm-lint scan . -f json --fail-threshold 20
llm-lint scan . -v --max-file-lines 300
See llm-lint.toml in this repo for configuration keys (include rules, thresholds, exclude-dirs, etc.).
Release & publishing
See RELEASING.md for PyPI trusted publishing, npm token, and scripts/release.py.
Repo layout
docs/logo.png— project logo (README header)Cargo.toml/src/— CLI and librarypyproject.toml— PyPI metadata + maturin (bindings = "bin")npm/—llm-lint-cliwrapper +templates/llm-lint.toml.github/workflows/— CI + publish on GitHub Release
Metadata
Release files for llm-lint 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llm_lint-0.1.3.tar.gz | 104.8 kB | With provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_lint-0.1.3-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| llm_lint-0.1.3-py3-none-manylinux_2_39_x86_64.whl | Python 3 | none | Linux glibc 2.39+ x86-64 | Details |
| llm_lint-0.1.3-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 4.6 MB
Release files / llm_lint-0.1.3.tar.gz
| Download URL | llm_lint-0.1.3.tar.gz |
|---|---|
| Size | 104.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6c56abb8eb4f2390e44cda6adba2b80f7d2608803a9640ab248492e8f37f34d
|
|
BLAKE2b-256 checksum How to use checksums |
17839fa5c0a58dfa9c6d16cae2efd7e3b362f3572d94af7014451ca08d3a0058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 25, 2026.
Transparency logRelease files / llm_lint-0.1.3-py3-none-win_amd64.whl
| Download URL | llm_lint-0.1.3-py3-none-win_amd64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8c3e6375c035f2b420bcd749ffd4196158fe241fca21cc71c31cc8b74c0163f0
|
|
BLAKE2b-256 checksum How to use checksums |
7baef905739f6a998b1b17d77a0747b5861c424bb1e69e80dd331cd337e2d33c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 25, 2026.
Transparency logRelease files / llm_lint-0.1.3-py3-none-manylinux_2_39_x86_64.whl
| Download URL | llm_lint-0.1.3-py3-none-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Linux glibc 2.39+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
50e03f56d356b160ce58d987fbd99cdbe2cc35350654cbd6bd83ff13a561ca92
|
|
BLAKE2b-256 checksum How to use checksums |
22b526c9cac3fcb4d70a518630b049c6db84f76cde8b8eca0c02885105b0d097
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 25, 2026.
Transparency logRelease files / llm_lint-0.1.3-py3-none-macosx_11_0_arm64.whl
| Download URL | llm_lint-0.1.3-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2a6fc944ae082740888f26cde450d75e1f812cddcce8f26515f2b86660646bcb
|
|
BLAKE2b-256 checksum How to use checksums |
67ba57ea42e131ab9da2d8607d9c4ac5edf2949dfed502d5d74584df32fbf2f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 25, 2026.
Transparency logSecurity for llm-lint 0.1.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
All 4 files in this release have been uploaded with provenance metadata.
Attestation for llm_lint-0.1.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 Mar 25, 2026.
Transparency logA 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.