Skip to main content
MalwarePublished Updated

collects (PyPI) · Malicious Code

Affects collectsSource GCVE Database

0

Malicious package : remove collects and rotate any secrets on hosts that installed it.

Data as of 30 Oct 2026, 10:30 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-1341

What to do

Remove collects from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
PyPIcollectsAffected
  • =1.0.1
  • =1.0.2
  • =1.0.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The PyPI package 'collects' versions 1.0.1, 1.0.2, and 1.0.3 contains hidden malicious code that executes upon import or use. This code downloads a secondary malicious script and runs a background process that periodically connects to a remote host to receive further commands. The package is obfuscated and designed to execute remote commands on the victim's machine, indicating clear malicious intent.

References

Community reviews

Loading reviews…