NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

httpnexPyPI

Advisory published Updated

httpnex is a confirmed malicious PyPI package (MAL-2026-20665) that steals credentials and exfiltrates sensitive data (malicious versions 0.1.0, 0.1.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in httpnex (PyPI)

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

What this malware does

httpnex is an httpx look-alike whose httpnex/__init__.py ends with an undocumented from._warmup import _boot call. On import, _warmup.py starts a background thread that downloads Python source from https://fpapi.cc.cd/load (overridable via an HX_URL environment variable) and writes it, wrapped in #hx marker comments, into the installer's own entry scripts (main.py, run.py, bot.py, app.py, main.py, start.py) in the current working directory, after creating .bak copies. No signature or integrity verification is performed and the destination domain is unrelated to the declared upstream project. The fallback payload embedded in _warmup.py as _DEFAULT — the block written into the entry files when the remote fetch fails — spawns a daemon thread that polls https://fpapi.cc.cd/pool roughly every 60 seconds, sends the machine hostname from socket.gethostname() in an X-H request header, and executes the base64- plus zlib-decoded response via exec(compile(...)). The result is unauthenticated remote command execution on the host, host-identifier disclosure to the operator domain, and persistence written directly into the developer's project source so the channel reopens on every subsequent run of the modified program.

Clone of a popular library with added malicious code: during import, package looks for a remote payload to inject into local files, and starts a background thread that periodically re-checks for a new payload. During analysis, C2 did not deliver the payload.

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

Campaign: 2026-11-httpnex

Reasons (based on the campaign):

  • Downloads and executes a remote malicious script.

  • clones-real-package

Malicious versions

2 flagged
0.1.00.1.1

Indicators of compromise (SHA-256)

9e9626e3f4a74969244ba936beece1847054336cd2c1b151744d264db65ce57c
332e59dd9f4d1a403b49302fcde1d48139e9a6f8c0ffca8db5f810cd4a92e163
e4b0b6a8a90903d9183cb60e31a9afbca2ab29188a1168079f703e47ab5bfb2e

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for httpnex (2 malicious versions).

  2. If you installed it — respond

    httpnex 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 httpnex 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. httpnex on PyPI has been identified as a malicious package (versions 0.1.0, 0.1.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

2026-11-httpnexIN-MAL-2026-023133IN-MAL-2026-023134

References

Credits

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

Detect & block this

O3 blocks httpnex-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

httpnex (PyPI) malicious package — MAL-2026-20665 | O3 Security