Malicious code in pymaas (PyPI)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The pymaas package version 99.99.0 includes top-level code that runs immediately on import, invoking a function that harvests the entire process environment variables and the system hostname. This data is serialized and exfiltrated via an HTTP POST request to a non-publisher-controlled external domain (https://vuorblucjega.dssldrf.net/python-install-log/pymaas). The package's unusually high version number and description referencing dependency confusion suggest it is a malicious package deployed to capture sensitive environment credentials through dependency confusion attacks.
Potential Impact
This malicious package can leak sensitive environment variables including CI tokens, cloud provider keys, registry authentication tokens, and database passwords to an attacker-controlled external server. This exposure can lead to credential compromise and unauthorized access to critical systems or services that rely on these credentials.
Defensive Guidance
No official patch or remediation is currently available. Users should avoid installing or importing the pymaas package version 99.99.0. Verify package authenticity before use and monitor for suspicious packages in dependency trees. Consider using package allowlists and supply chain security tools to prevent dependency confusion attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15929
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6a9c2642acd9273b49fc9b8a
Added to database: 09/05/2026, 14:25:06 UTC
Last enriched: 09/07/2026, 14:38:17 UTC
Last updated: 10/03/2026, 05:21:21 UTC
Views: 118
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.