Skip to main content

Static Analysis for LLM Agent Skills

Project description

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.

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 (if formula is in Homebrew core):

brew install razin
razin --help

With Homebrew tap (if core formula is not merged yet):

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

With PyPI:

pip install razin
razin --help

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 aggregate score 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

razin-1.3.2.tar.gz (221.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

razin-1.3.2-py3-none-any.whl (135.3 kB view details)

Uploaded Python 3

File details

Details for the file razin-1.3.2.tar.gz.

File metadata

  • Download URL: razin-1.3.2.tar.gz
  • Upload date:
  • Size: 221.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for razin-1.3.2.tar.gz
Algorithm Hash digest
SHA256 5198564d7417dcd53c1e8e1cac7d9271d6cf07e333d36b9142107d7094836b77
MD5 b8d3920d120df033947518854a2f0bfc
BLAKE2b-256 446625c738e8cf47f5bc79f5a66961252b48a26fcf40cb373fbc454cfa2389e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for razin-1.3.2.tar.gz:

Publisher: release-pypi.yml on theinfosecguy/razin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file razin-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: razin-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 135.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for razin-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 34c6a8c3a570fab9dbff8b104936e8f2c8366da713cfdee9cb2dcc8df3ac334f
MD5 3892befd5e30f0aefe6308e0c3a8bcf5
BLAKE2b-256 ce2acc5935252633e615694895394f0347addcd3c29676050059dcf7bda77fee

See more details on using hashes here.

Provenance

The following attestation bundles were made for razin-1.3.2-py3-none-any.whl:

Publisher: release-pypi.yml on theinfosecguy/razin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page