Skip to main content
MalwarePublished Updated

sqligen (PyPI) · Malicious Code

Affects sqligenSource GCVE Database

0

Malicious package : remove sqligen and rotate any secrets on hosts that installed it.

Data as of 10 Jul 2026, 13:05 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-6515

What to do

Remove sqligen from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
PyPIsqligenAffected
  • 1.0.0 – 1.1.4
8 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The sqligen package on PyPI contains malicious code that executes a remote payload during installation on Windows systems. The setup.py file includes obfuscated code that triggers execution of a remote HTA file via mshta.exe, resulting in arbitrary code execution under the installing user's privileges. This malicious behavior is hidden behind misleading variable names and encoding to evade detection. The threat affects multiple specific versions of sqligen and is classified as critical due to the potential for remote code execution.

References

Community reviews

Loading reviews…