Malicious code in metricboxlite (PyPI)
The metricboxlite package versions 1.0 and 2.0 on PyPI contain malicious code that collects the installer's username and hostname and sends this information to a hardcoded external server. This data exfiltration occurs both during package installation and when the package is imported. The package has no legitimate functionality beyond this data collection behavior.
AI Analysis
Technical Summary
MetricBoxLite versions 1.0 and 2.0 include code that captures the installer's username (via getpass.getuser) and hostname (via socket.gethostname), encodes this information as JSON, and sends it via HTTP POST to a hardcoded out-of-band callback URL not affiliated with the package or its ecosystem. This exfiltration happens during the installation process (triggered by setup.py) and also when the package is imported (via __init__.py). Network errors during this process are silently ignored. The package serves no other purpose than this data exfiltration.
Potential Impact
The impact is limited to the unauthorized disclosure of basic system information such as the installer's username and hostname to a remote attacker-controlled server. There is no indication of further malicious activity or system compromise beyond this data leak. The package does not provide legitimate functionality and is effectively a malicious package designed for reconnaissance or tracking.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing metricboxlite versions 1.0 and 2.0. Remove any installations of this package from systems. Monitor for and block network traffic to the known malicious endpoint if possible. Patch status is not yet confirmed — check the vendor advisory or PyPI security notices for updates.
Malicious code in metricboxlite (PyPI)
Description
The metricboxlite package versions 1.0 and 2.0 on PyPI contain malicious code that collects the installer's username and hostname and sends this information to a hardcoded external server. This data exfiltration occurs both during package installation and when the package is imported. The package has no legitimate functionality beyond this data collection behavior.
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
MetricBoxLite versions 1.0 and 2.0 include code that captures the installer's username (via getpass.getuser) and hostname (via socket.gethostname), encodes this information as JSON, and sends it via HTTP POST to a hardcoded out-of-band callback URL not affiliated with the package or its ecosystem. This exfiltration happens during the installation process (triggered by setup.py) and also when the package is imported (via __init__.py). Network errors during this process are silently ignored. The package serves no other purpose than this data exfiltration.
Potential Impact
The impact is limited to the unauthorized disclosure of basic system information such as the installer's username and hostname to a remote attacker-controlled server. There is no indication of further malicious activity or system compromise beyond this data leak. The package does not provide legitimate functionality and is effectively a malicious package designed for reconnaissance or tracking.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing metricboxlite versions 1.0 and 2.0. Remove any installations of this package from systems. Monitor for and block network traffic to the known malicious endpoint if possible. Patch status is not yet confirmed — check the vendor advisory or PyPI security notices for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15931
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6aa15f82acd9273b496184d8
Added to database: 09/09/2026, 13:30:42 UTC
Last enriched: 09/09/2026, 14:00:15 UTC
Last updated: 09/09/2026, 23:49:23 UTC
Views: 6
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.