Malicious code in astlsi (PyPI)
Description
The astlsi package on PyPI is a malicious Python library that masquerades as a proxy health-check utility. Its starts() function collects various user files from Android device storage, archives them, and exfiltrates the data to a remote server using a hardcoded Bale bot token and chat ID. The proxy check functionality is a decoy to hide this exfiltration behavior. This package targets Android environments and is designed for unauthorized data theft.
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 astlsi PyPI package contains malicious code that, when executed, traverses the Android user storage directory (/storage/emulated/0/) to collect files with source and document extensions such as .py, .json, .txt, .html, and .php. These files are compressed into a zip archive and sent via an HTTP POST request to a remote endpoint at https://tapi.bale.ai/<bot-token>/sendDocument with a hardcoded Bale bot token and chat ID. The package's purported proxy latency check is a cover for this data exfiltration activity. This behavior classifies the package as an infostealer targeting Android devices.
Potential Impact
The malicious code enables unauthorized exfiltration of potentially sensitive user files from Android devices where the package is executed. This can lead to data leakage, privacy violations, and potential further compromise depending on the nature of the stolen files. The hardcoded credentials and remote endpoint facilitate covert data theft without user consent.
Defensive Guidance
No official patch or remediation is currently available for this malicious package. Users and developers should avoid installing or using the astlsi package version 0.1.0 from PyPI. Remove any installations of this package from affected environments. Monitor for and block network communications to the indicated remote endpoint if possible. Use trusted sources and verify package integrity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15926
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6a9ad4dcacd9273b49b66a86
Added to database: 09/04/2026, 14:25:32 UTC
Last enriched: 09/07/2026, 18:24:41 UTC
Last updated: 10/04/2026, 08:28:58 UTC
Views: 34
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.