Skip to main content

Malicious code in flasq (PyPI)

0
High
Published: 08/07/2026 (08/07/2026, 07:01:59 UTC)
Source: GCVE Database
Product: flasq

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

PyPIghsa
flasq
Affected versions
=0.1.1=0.1.2=0.2.0=0.3.0

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

AILast updated: 08/07/2026, 15:40:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses