Skip to main content
MalwarePublished

pymaas (PyPI) · Malicious Code

Affects pymaasSource GCVE Database

0

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

Data as of 7 Sep 2026, 14:38 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-15929

What to do

Remove pymaas 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
PyPIpymaasAffected
  • =99.99.0
Fixed in–

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

Description

The pymaas package on PyPI, version 99.99.0, contains malicious code that executes upon import. It collects all environment variables and the hostname, serializes this data as JSON, and sends it to a hardcoded external URL without user consent. This behavior is indicative of a dependency confusion attack designed to exfiltrate sensitive credentials such as CI tokens, cloud keys, and passwords from the environment.

References

Community reviews

Loading reviews…