CHAINGUARD LIBRARIES FOR PYTHON
Stop installing risk from PyPI

End the endless triage from malware attacks and hard-to-remediate CVEs with Python libraries built to be malware-resistant and drop into your existing enterprise applications.

image

The world’s leading companies trust Chainguard

  • Snap logo.
  • Logo of Chainguard customer SolarWinds
  • VP Bank logo.
  • Logo of Chainguard customer Ironclad
  • Logo of Chainguard customer Wistia.
  • logo of Chainguard customer logicmonitor
  • Logo of Chainguard customer Fortinet

Why Chainguard?

Trusted libraries you can’t get elsewhere

Proactive malware prevention

Stay protected from malicious attacks often inserted during the build and distribution stages of package creation.

Verification by default

Every library is built in a secure, SLSA L2 build system with full provenance and signed SBOMs to prove supply chain integrity.

System scale

Access to hundreds of thousands of versions of libraries across Java, Python, and JavaScript, with more being added every week.

Expertise and experience

The leading open source minds driving the industry forward, delivering new innovations for developers.

Python binaries should always match the source

Today, using PyPI is a leap of faith. You trust that your binaries match their source code. Chainguard builds from source with signed SBOMs and provenance, guaranteeing your dependencies are immune to build-time and distribution-stage malware injections.

Step One

Locate source code

Step Two

Send to Chainguard Factory

Step Three

Use our deep ecosystem expertise to build package in SLSA L2-compliant env.

Step Four

Test built wheels and report success/failure

Step Five

Publish wheels

Step Six

Publish automate provenance

Don’t break your legacy app to fix a vulnerability

Stay secure without the forced refactor. Chainguard backports upstream fixes for critical and high-severity CVEs directly into our malware-resistant libraries. You get the security of the latest patch with the stability of your current version—allowing you to plan upgrades on your terms.

CVE-2024-53908

Remediates a vulnerability in Django that allows remote attackers to execute arbitrary database commands via untrusted JSON field lookups.

CVE-2025-47273

Remediates a vulnerability in setuptools that allows arbitrary file writes and potential remote code execution.

CVE-2022-40898

Remediates a ReDoS vulnerability in wheel that allows remote attackers to exhaust system resources via malicious package filenames.

CVE-2025-48379

Remediates a vulnerability in pillow that allows for potential arbitrary code execution when processing malformed or large DDS images.

Built for teams where speed and security are non-negotiable

Data teams with legacy apps

End the ‘patch or break’ dilemma. We backport hard-to-fix CVEs, so your production pipelines remain secure while you plan your next major version upgrade.

AI/ML startups

Ship fast with enterprise-grade confidence. Pass customer security reviews on day one by proving your AI stack is built on a secure, malware-resistant foundation.x`

Highly regulated enterprises

Audit-ready by default. Replace manual audit prep with automation. Signed SBOMs and provenance prove component integrity and simplify compliance evidence reporting.

16,000+ drop-in, safe Python dependencies

16,000+ drop-in, safe Python dependencies

Access the data science and AI stack you need, such as pandas, numpy, and CUDA, along with thousands of other dependencies that are required for your Python application development.

Signed, sealed, and dependable

Signed, sealed, and dependable

Every version comes built with full provenance and signed SBOMs, so you have indisputable proof that your dependencies came from the SLSA L2-compliant Chainguard Factory, not a machine from a vulnerable maintainer account.

Drops right into your environment

Drops right into your environment

All of our language ecosystems drop right into your current tools and workflows—meaning no set up time, no change management, and no catastrophic malware risk.

Explore the rest of Chainguard’s product suite

CG System promptExecute command

$ chainguard learn --more

contact us

Frequently Asked Questions