Skip to main content

Razin - Static analysis for LLM agent skills

razin

Razin is a local scanner for SKILL.md-defined agent skills. It performs static analysis only (no execution) and writes deterministic findings. An optional sandbox-artifact workflow seals an approval-bound plan and simulates verification without running skill code.

Table of contents

Documentation

Full documentation lives at:

Canonical docs source in this repository:

  • docs/

Use this README for quick start only.

Requirements

  • Python 3.12+

Install

With Homebrew (current, via tap):

brew tap theinfosecguy/homebrew-tap
brew install razin
razin --help

With PyPI:

pip install razin
razin --help

PyPI currently provides 1.5.0. These docs describe the 1.6.0 checkout; to use the documented 1.6.0 commands before that release is published, install from this repository with pip install ..

Quick start

Run a scan:

razin scan -r . -o output/

Validate config:

razin validate-config -r .

Common CI gates

# Fail if any high-severity finding exists
razin scan -r . --fail-on high --no-stdout

# Fail if non-probabilistic review priority is 70 or above
razin scan -r . --fail-on-score 70 --no-stdout

Output formats

# Default per-skill JSON reports
razin scan -r . -o output/ --output-format json

# Add CSV + SARIF exports
razin scan -r . -o output/ --output-format json,csv,sarif

Local development

uv sync --dev
uv run pytest -q
uv run ruff check src tests
uv run mypy src tests

Docs preview and checks:

uv sync --group docs
uv run mkdocs serve
uv run mkdocs build --strict
uv run mdformat --check README.md docs

Where to read more

Contributing

See CONTRIBUTING.md.

Security

See SECURITY.md.

License

MIT

Metadata

Release files for razin 1.6.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 razin 1.6.0
File Size Uploaded Provenance Actions
razin-1.6.0.tar.gz 384.7 kB With provenance Details for razin-1.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 602.9 kB

Release files / razin-1.6.0.tar.gz

Download URL razin-1.6.0.tar.gz
Size 384.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d19b1568ca623cf6cd7fd02982edc988f82f62aea7ec689574a8c45bc0e48b1c
BLAKE2b-256 checksum
How to use checksums
09ea121e680ee29bf751b67750d5c10cbd218003adaf9962bde1b5522f7d4329
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 11, 2026.

Transparency log

Release files / razin-1.6.0-py3-none-any.whl

Download URL razin-1.6.0-py3-none-any.whl
Size 218.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c12115638a559e7ba80949196a49654d642b47d91ef51243dd3b5515fbbf4c1
BLAKE2b-256 checksum
How to use checksums
6f8f65d58f7b5d95b94dc7edea9e005f94c3f6eb85e06155e0de5add954c98dc
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 11, 2026.

Transparency log

Security for razin 1.6.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 razin-1.6.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 11, 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