Skip to main content

Malicious code in qlinforge (PyPI)

0
Critical
Published: 07/09/2026 (07/09/2026, 16:55:58 UTC)
Source: GCVE Database
Product: qlinforge

Description

The qlinforge package on PyPI version 0.3.2 is malicious. During installation, it downloads and executes platform-specific binaries from a remote server, establishing persistence by writing a .pth file that re-executes the malicious payload on every Python interpreter startup. The package masquerades as a benign data validation toolkit but contains hidden malicious behavior to maintain persistent infection.

Affected software

PyPIghsa
qlinforge
Affected versions
=0.3.2

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: 09/12/2026, 19:31:45 UTC

Technical Analysis

The qlinforge package version 0.3.2 on PyPI overrides the setup.py install command to download and execute opaque binaries from a remote IP address. On Linux, it downloads a payload to /tmp/.cache and executes it with a command-and-control URL argument. On Windows, it uses certutil to fetch a payload masquerading as svchost2.exe in the Windows Temp directory and executes it. Additionally, it writes a qlinforge.pth file into site-packages that executes the dropper on every Python interpreter startup, ensuring persistent reinfection regardless of package import. The package advertises itself as a data validation toolkit but includes decoy modules to hide the malicious install-time behavior.

Potential Impact

This malicious package can lead to arbitrary code execution on the host system during installation and on every Python interpreter startup thereafter. The payloads connect to a command-and-control server, potentially enabling remote control, data exfiltration, or further compromise. The persistence mechanism makes removal difficult without manual cleanup.

Mitigation Recommendations

No official patch or fix is available for this malicious package. The recommended mitigation is to avoid installing qlinforge version 0.3.2 from PyPI. If already installed, manually remove the package, delete the qlinforge.pth file from site-packages, and investigate the system for the downloaded payloads and any signs of compromise. Use trusted sources and verify package integrity before installation.

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-10091
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a50ba6e68715ace4357fd77

Added to database: 07/10/2026, 09:25:02 UTC

Last enriched: 09/12/2026, 19:31:45 UTC

Last updated: 09/12/2026, 19:31: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