# Mitigating malware in the python ecosystem with Chainguard Libraries

DevFeed: [Mitigating malware in the python ecosystem with Chainguard Libraries](<https://devfeed.tech/articles/mitigating-malware-in-the-python-ecosystem-with-chainguard-libraries-13163.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/mitigating-malware-in-the-python-ecosystem-with-chainguard-libraries>)

Published: 2025-06-10T00:00:00Z

Content type: article

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [chainguard libraries](<https://devfeed.tech/topics/chainguard-libraries.md>), [chainguard](<https://devfeed.tech/topics/chainguard.md>), [Malware](<https://devfeed.tech/topics/malware.md>), [Python](<https://devfeed.tech/topics/python.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [backstabber-s-knife-collection](<https://devfeed.tech/tags/backstabber-s-knife-collection.md>), [chainguard](<https://devfeed.tech/tags/chainguard.md>), [chainguard-libraries](<https://devfeed.tech/tags/chainguard-libraries.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-mitigation](<https://devfeed.tech/tags/malware-mitigation.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [pypi-malware](<https://devfeed.tech/tags/pypi-malware.md>), [python](<https://devfeed.tech/tags/python.md>), [research](<https://devfeed.tech/tags/research.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

Chainguard analyzes about 3,025 malicious Python packages from the Backstabber's Knife Collection to assess Chainguard Libraries for Python. The analysis reports that requiring attributable source code and validating source-to-artifact integrity could have prevented about 98% of the packages from being published; excluding packages without source code, the reported mitigation rate is 75%.

## Source excerpt

Chainguard recently found that 98% of malicious Python libraries from the Backstabber's Knife Collection could be avoided by using Chainguard Libraries.