MAL-2026-20665
Vulnerability from ossf_malicious_packages – Published: 2026-11-26 20:05 – Updated: 2026-11-27 00:31 – Source website| Ecosystem | Package | Versions |
|---|---|---|
| PyPI |
httpnex
|
0.1.00.1.1
|
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
No description from this source.
| Type | Indicator | Hashes |
|---|---|---|
| Domain |
fpapi.cc.cd
|
|
| URL |
https://fpapi.cc.cd/load
|
|
| URL |
https://fpapi.cc.cd/pool
|
|
| Evidence file |
httpnex/_warmup.py
|
sha256
6668d5b2c9ac49c595e73407f4a799443a0c6f54121df4b7714ca4027b4fdffftlsh
430242919c556cb3c7a293bc1d25c260a33ebd83ad066574feec93582f5e179c0f02a9 |
| Package archive |
httpnex-0.1.0-py3-none-any.whl
|
blake2b_256
e74fe8c68725991dec6c508a72f2857df106f914bbfea59c1470853f72ec9d7emd5
98dd63a6db70df39fda4939007fe7f2dsha256
dfd394ce46810214f8d83e97ff65e6650e22827bfebc1d15db1a570b1843c290 |
| Package archive |
httpnex-0.1.0.tar.gz
|
blake2b_256
6a306ef4aec0f8263a6bd01c6e8a8a1901733c5bb1cfc5009e49a6178e89edffmd5
2ccba1eb66c8e14c96138d489d330f42sha256
eee5c8cd91267730ac506e829a8d107b0ca3c9fa77d92e70797e2dc32cd24ca2 |
- CWE-506 - Embedded Malicious Code
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"evidence_files": [
{
"artifacts": [
"httpnex-0.1.0.tar.gz",
"httpnex-0.1.0-py3-none-any.whl"
],
"path": "httpnex/_warmup.py",
"sha256": "6668d5b2c9ac49c595e73407f4a799443a0c6f54121df4b7714ca4027b4fdfff",
"tlsh": "430242919c556cb3c7a293bc1d25c260a33ebd83ad066574feec93582f5e179c0f02a9"
}
],
"package_integrity": [
{
"filename": "httpnex-0.1.0-py3-none-any.whl",
"hashes": {
"blake2b_256": "e74fe8c68725991dec6c508a72f2857df106f914bbfea59c1470853f72ec9d7e",
"md5": "98dd63a6db70df39fda4939007fe7f2d",
"sha256": "dfd394ce46810214f8d83e97ff65e6650e22827bfebc1d15db1a570b1843c290"
}
},
{
"filename": "httpnex-0.1.0.tar.gz",
"hashes": {
"blake2b_256": "6a306ef4aec0f8263a6bd01c6e8a8a1901733c5bb1cfc5009e49a6178e89edff",
"md5": "2ccba1eb66c8e14c96138d489d330f42",
"sha256": "eee5c8cd91267730ac506e829a8d107b0ca3c9fa77d92e70797e2dc32cd24ca2"
}
}
]
}
},
"package": {
"ecosystem": "PyPI",
"name": "httpnex"
},
"versions": [
"0.1.0",
"0.1.1"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "REPORTER"
}
],
"database_specific": {
"iocs": {
"domains": [
"fpapi.cc.cd"
],
"urls": [
"https://fpapi.cc.cd/load",
"https://fpapi.cc.cd/pool"
]
},
"malicious-packages-origins": [
{
"id": "pypi/2026-11-httpnex/httpnex",
"import_time": "2026-11-26T20:37:05.181359401Z",
"modified_time": "2026-11-26T20:05:38.183737Z",
"sha256": "9e9626e3f4a74969244ba936beece1847054336cd2c1b151744d264db65ce57c",
"source": "kam193",
"versions": [
"0.1.0",
"0.1.1"
]
},
{
"id": "IN-MAL-2026-023133",
"import_time": "2026-11-27T00:30:27.826213947Z",
"modified_time": "2026-11-27T00:11:27Z",
"sha256": "332e59dd9f4d1a403b49302fcde1d48139e9a6f8c0ffca8db5f810cd4a92e163",
"source": "amazon-inspector",
"versions": [
"0.1.0"
]
},
{
"id": "IN-MAL-2026-023134",
"import_time": "2026-11-27T00:30:27.862145367Z",
"modified_time": "2026-11-27T00:11:39Z",
"sha256": "e4b0b6a8a90903d9183cb60e31a9afbca2ab29188a1168079f703e47ab5bfb2e",
"source": "amazon-inspector",
"versions": [
"0.1.1"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e4b0b6a8a90903d9183cb60e31a9afbca2ab29188a1168079f703e47ab5bfb2e)\nhttpnex 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\u0027s 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` \u2014 the block written into the entry files when the remote fetch fails \u2014 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\u0027s project source so the channel reopens on every subsequent run of the modified program.\n\n## Source: kam193 (9e9626e3f4a74969244ba936beece1847054336cd2c1b151744d264db65ce57c)\nClone 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.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-httpnex\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - clones-real-package\n",
"id": "MAL-2026-20665",
"modified": "2026-11-27T00:31:59.198587310Z",
"published": "2026-11-26T20:05:38Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/httpnex"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/httpnex/0.1.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/httpnex/0.1.1/"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in httpnex (PyPI)"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.