Malicious code in flasq (PyPI)
The PyPI package 'flasq' is a malicious typosquatting artifact that impersonates the popular 'requests' library by using a similar name 'requestss'. During installation, it executes obfuscated code that downloads a binary from an unrelated GitHub account, saves it to /tmp, makes it executable, and runs it detached. This binary is reported to exfiltrate cryptocurrency wallet data and potentially other sensitive information. The malicious behavior is unrelated to the advertised functionality of HTTP client utilities. The affected versions are 0.1.1, 0.1.2, 0.2.0, and 0.3.0.
AI Analysis
Technical Summary
The 'flasq' package on PyPI uses a typosquatting name 'requestss' to trick developers mistyping 'requests'. Its setup.py overrides the install command to run a base64-encoded post-install hook that downloads a remote executable from a personal GitHub repository without any integrity verification. This executable is saved to /tmp, permissioned to be executable, and launched detached. The malicious payload exfiltrates cryptocurrency wallet data and likely other sensitive information. The package's behavior is obfuscated and unrelated to its advertised purpose, indicating clear malicious intent.
Potential Impact
Installation of the affected 'flasq' package results in execution of a remote binary that can exfiltrate sensitive data, including cryptocurrency wallet information. This compromises the confidentiality of user data and potentially the security of affected systems. The malicious code runs with the privileges of the installing user and can operate undetected due to obfuscation and detached execution.
Mitigation Recommendations
Users should avoid installing the 'flasq' package and verify package names carefully to avoid typosquatting traps. Since no official patch or remediation is provided, the best mitigation is to remove any installations of the affected versions (=0.1.1, =0.1.2, =0.2.0, =0.3.0) and use the legitimate 'requests' package or other trusted alternatives. Monitor for any unexpected binaries in /tmp and network connections to suspicious domains such as the indicated GitHub repository. There is no vendor advisory or patch available; patch status is not yet confirmed — check PyPI and security advisories for updates.
Malicious code in flasq (PyPI)
Description
The PyPI package 'flasq' is a malicious typosquatting artifact that impersonates the popular 'requests' library by using a similar name 'requestss'. During installation, it executes obfuscated code that downloads a binary from an unrelated GitHub account, saves it to /tmp, makes it executable, and runs it detached. This binary is reported to exfiltrate cryptocurrency wallet data and potentially other sensitive information. The malicious behavior is unrelated to the advertised functionality of HTTP client utilities. The affected versions are 0.1.1, 0.1.2, 0.2.0, and 0.3.0.
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 'flasq' package on PyPI uses a typosquatting name 'requestss' to trick developers mistyping 'requests'. Its setup.py overrides the install command to run a base64-encoded post-install hook that downloads a remote executable from a personal GitHub repository without any integrity verification. This executable is saved to /tmp, permissioned to be executable, and launched detached. The malicious payload exfiltrates cryptocurrency wallet data and likely other sensitive information. The package's behavior is obfuscated and unrelated to its advertised purpose, indicating clear malicious intent.
Potential Impact
Installation of the affected 'flasq' package results in execution of a remote binary that can exfiltrate sensitive data, including cryptocurrency wallet information. This compromises the confidentiality of user data and potentially the security of affected systems. The malicious code runs with the privileges of the installing user and can operate undetected due to obfuscation and detached execution.
Defensive Guidance
Users should avoid installing the 'flasq' package and verify package names carefully to avoid typosquatting traps. Since no official patch or remediation is provided, the best mitigation is to remove any installations of the affected versions (=0.1.1, =0.1.2, =0.2.0, =0.3.0) and use the legitimate 'requests' package or other trusted alternatives. Monitor for any unexpected binaries in /tmp and network connections to suspicious domains such as the indicated GitHub repository. There is no vendor advisory or patch available; patch status is not yet confirmed — check PyPI and security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13487
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6a75f711bf8831d53984fb1b
Added to database: 08/07/2026, 15:17:37 UTC
Last enriched: 08/07/2026, 15:40:41 UTC
Last updated: 09/21/2026, 23:49:45 UTC
Views: 74
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.
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.