Skip to main content

Lazaret

Static security, supply-chain and quality analysis for Python, JavaScript and SQL, with no dependencies: Lazaret runs on the Python standard library alone, and even building it downloads nothing.

pip install lazaret
lazaret path/to/project                 # scan; writes lazaret-report.{html,json}
lazaret . --ci --sarif out.sarif        # quality gate for CI, SARIF for code scanning
lazaret-registry scan npm:left-pad      # audit a published npm / PyPI package
lazaret-sca . --bundle cve-bundle.json  # match installed dependencies against CVEs
lazaret-mcp                             # MCP server, so an AI assistant can scan code

What it finds:

  • Security: SQL/command/code injection, SSTI, XXE, unsafe deserialization, XSS sinks, weak crypto, disabled TLS verification, hardcoded secrets (provider signatures and entropy), and more, across 63 pattern rules plus supply-chain and coverage findings.
  • Taint analysis: follows untrusted input through assignments, function calls, and across files into sinks, with category-aware sanitizers and a configurable source/sink/sanitizer spec.
  • Supply chain: decode-then-execute patterns, packed and obfuscated JavaScript, suspicious install hooks, smuggled binaries and nested archives, both in your tree and in published npm/PyPI packages.
  • Quality: bugs, code smells, complexity, duplication, with a quality gate and ratings.

Two of its building blocks are usable on their own (provisional APIs until 1.0): lazaret.pg, a PostgreSQL client in pure Python with SCRAM-SHA-256, channel binding and TLS; and lazaret.safexml, a layer that makes the stdlib XML parsers safe for untrusted input.

Licensed under Apache-2.0. Documentation, source and issue tracker: https://github.com/lazaret-dev/lazaret · https://lazaret.dev

Release files for lazaret 0.1.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 lazaret 0.1.0
File Size Uploaded
lazaret-0.1.0.tar.gz 307.5 kB Details

Built distribution (wheel)

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

Total release size: 626.6 kB

Release files / lazaret-0.1.0.tar.gz

Download URL lazaret-0.1.0.tar.gz
Size 307.5 kB
Tags Source
SHA-256 checksum
How to use checksums
223dd5e01c604b7e43ef6b4415c8c1fbb1dac77e5104e6667e4bf5d620c83167
BLAKE2b-256 checksum
How to use checksums
cf249d841a70936a696d693b877ac92023cf43b7e547bc7f8f70ccfa331f101f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

Release files / lazaret-0.1.0-py3-none-any.whl

Download URL lazaret-0.1.0-py3-none-any.whl
Size 319.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9602841c5e2393d35d4527e6730995cd70a97f683ac54b9352de953c6928cff
BLAKE2b-256 checksum
How to use checksums
3c51e4c1971b86b972603b5349b638cf5e6b566a67506a9ec98474ab2304bc1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

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