MAL-2026-18627
Vulnerability from ossf_malicious_packages – Published: 2026-11-04 16:11 – Updated: 2026-11-12 00:31 – Source website| Ecosystem | Package | Versions |
|---|---|---|
| PyPI |
msgpackrpc
|
0.0.00.1.0
|
The sdist's setup.py overrides the install command with a class that, during pip install, collects the installer's hostname via socket.gethostname() and resolves its IP via socket.gethostbyname(), then POSTs them as JSON to a hardcoded webhook.site collector URL (https://webhook.site/711f31ae-7091-4b68-9631-57b6c6f19980) using urllib.request.urlopen. The package ships no actual functionality: msgpackrpc/init.py is empty, the project metadata self-describes as a 'POC package (beacon-only)', and the author field is the placeholder 'Your Name'. The package name is a typosquat shape against the legitimate msgpack-rpc ecosystem. Installing this version causes the installer's host identifiers to leave the machine to an attacker-controlled endpoint with no disclosure or consent.
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: GENERIC-standard-pypi-install-pentest
Reasons (based on the campaign):
-
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
-
The package overrides the install command in setup.py to execute malicious code during installation.
| Type | Indicator | Hashes |
|---|---|---|
| Evidence file |
setup.py
|
sha256
5e3b5827437a8bd3649abf9f1df6957904acb8eff37c4b217f35777ce1a329cetlsh
7e11ef92f872b165bb8321d0086789653693ba0bbb02ec6d3dcc43584fae439d861658 |
| Evidence file |
pyproject.toml
|
sha256
e6d8a6e833ab20a03d2d5646688bf639eb21d6ec3a11362207ade35eac9c0188tlsh
d3e07d23cbb7db40adc210412019b484debaf45531c081485fcbc1c5a5cd48acbde824 |
| Package archive |
msgpackrpc-0.1.0.tar.gz
|
blake2b_256
889692f8afddd60dbe93c6700f6aacc245b4a5aea74686acfadc959f757c6792md5
64a7bb442d523e701f9e9c0a000ade16sha256
3d959a9588a3fb96d4a558484dca090c4d3a42a6bdbb8d38882bda9ef7a7c4da |
- 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"
}
],
"indicators": {
"evidence_files": [
{
"artifacts": [
"msgpackrpc-0.1.0.tar.gz"
],
"path": "setup.py",
"sha256": "5e3b5827437a8bd3649abf9f1df6957904acb8eff37c4b217f35777ce1a329ce",
"tlsh": "7e11ef92f872b165bb8321d0086789653693ba0bbb02ec6d3dcc43584fae439d861658"
},
{
"artifacts": [
"msgpackrpc-0.1.0.tar.gz"
],
"path": "pyproject.toml",
"sha256": "e6d8a6e833ab20a03d2d5646688bf639eb21d6ec3a11362207ade35eac9c0188",
"tlsh": "d3e07d23cbb7db40adc210412019b484debaf45531c081485fcbc1c5a5cd48acbde824"
}
],
"package_integrity": [
{
"filename": "msgpackrpc-0.1.0.tar.gz",
"hashes": {
"blake2b_256": "889692f8afddd60dbe93c6700f6aacc245b4a5aea74686acfadc959f757c6792",
"md5": "64a7bb442d523e701f9e9c0a000ade16",
"sha256": "3d959a9588a3fb96d4a558484dca090c4d3a42a6bdbb8d38882bda9ef7a7c4da"
}
}
]
}
},
"package": {
"ecosystem": "PyPI",
"name": "msgpackrpc"
},
"versions": [
"0.0.0",
"0.1.0"
]
}
],
"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": {
"malicious-packages-origins": [
{
"id": "pypi/GENERIC-standard-pypi-install-pentest/msgpackrpc",
"import_time": "2026-11-04T16:37:36.802736375Z",
"modified_time": "2026-11-04T16:11:42.068096Z",
"sha256": "9747a902bd61a745ec9c8f569f57417303f828b441c3e4e8c95101adf1498d13",
"source": "kam193",
"versions": [
"0.0.0",
"0.1.0"
]
},
{
"id": "IN-MAL-2026-022626",
"import_time": "2026-11-12T00:30:24.934663162Z",
"modified_time": "2026-11-11T23:47:58Z",
"sha256": "55c4f419c883d30c0099a7120b0456d975af824e08310e0750166d074def3204",
"source": "amazon-inspector",
"versions": [
"0.1.0"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (55c4f419c883d30c0099a7120b0456d975af824e08310e0750166d074def3204)\nThe sdist\u0027s setup.py overrides the install command with a class that, during `pip install`, collects the installer\u0027s hostname via socket.gethostname() and resolves its IP via socket.gethostbyname(), then POSTs them as JSON to a hardcoded webhook.site collector URL (https://webhook.site/711f31ae-7091-4b68-9631-57b6c6f19980) using urllib.request.urlopen. The package ships no actual functionality: msgpackrpc/__init__.py is empty, the project metadata self-describes as a \u0027POC package (beacon-only)\u0027, and the author field is the placeholder \u0027Your Name\u0027. The package name is a typosquat shape against the legitimate msgpack-rpc ecosystem. Installing this version causes the installer\u0027s host identifiers to leave the machine to an attacker-controlled endpoint with no disclosure or consent.\n\n## Source: kam193 (9747a902bd61a745ec9c8f569f57417303f828b441c3e4e8c95101adf1498d13)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n",
"id": "MAL-2026-18627",
"modified": "2026-11-12T00:31:43.665521687Z",
"published": "2026-11-04T16:11:42Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/msgpackrpc"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/msgpackrpc/0.1.0/"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in msgpackrpc (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.
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.