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 --update-bundle             # download OSV + CISA KEV + EPSS into cve-bundle.json
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

Metadata

Release files for lazaret 0.1.7

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.7
File Size Uploaded Provenance Actions
lazaret-0.1.7.tar.gz 582.1 kB With provenance Details for lazaret-0.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / lazaret-0.1.7.tar.gz

Download URL lazaret-0.1.7.tar.gz
Size 582.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6cf0a269c7c89976aca7c25583b30fe49d2911db3b4777ed7b95993f2620f67f
BLAKE2b-256 checksum
How to use checksums
6fd1beed515bf29f1de9b7f2a54fc4f99bb33836ca8a9fb8684cd28f60ef3a1b
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 29, 2026.

Transparency log

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

Download URL lazaret-0.1.7-py3-none-any.whl
Size 601.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9fd8e86d9b447c397d60793c54f472b26b8fa4286ec987231e0b85d4503ab6bc
BLAKE2b-256 checksum
How to use checksums
5cb9d0ca45c67fe73e4caf4ce6a0ce4ffbed522784f2518e7670f0b06165b1b0
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 29, 2026.

Transparency log

Security for lazaret 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lazaret-0.1.7.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 Sep 29, 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