mal-2026-1140
Vulnerability from ossf_malicious_packages
Published
2026-03-02 18:48
Modified
2026-04-01 12:28
Summary
Malicious code in heimdal-credentials (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (44b549b64558430b61d35bb2eb2cfcf8ec15d75bacb38af8f34deafe5d6add2c)
During import, only in specific environments, a module containing code disguised as telemetry is imported. This code then exfiltrates sensitive environment variables and cloud tokens to a hardcoded location, as well as starts a job listening for commands to execute. Likely dependency confusion attempts
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-02-amigapythonupdater
Reasons (based on the campaign):
-
exfiltration-generic
-
exfiltration-env-variables
-
The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.
-
dependency-confusion
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "heimdal-credentials"
},
"versions": [
"2.1.0"
]
}
],
"credits": [
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "ANALYST"
},
{
"contact": [
"https://www.reversinglabs.com"
],
"name": "ReversingLabs",
"type": "FINDER"
}
],
"database_specific": {
"iocs": {
"ips": [
"77.91.65.24"
]
},
"malicious-packages-origins": [
{
"id": "pypi/2026-02-amigapythonupdater/heimdal-credentials",
"import_time": "2026-03-02T19:19:23.804321686Z",
"modified_time": "2026-03-02T18:48:28.160683Z",
"sha256": "44b549b64558430b61d35bb2eb2cfcf8ec15d75bacb38af8f34deafe5d6add2c",
"source": "kam193",
"versions": [
"2.1.0"
]
},
{
"id": "RLMA-2026-00380",
"import_time": "2026-03-19T12:18:17.802080885Z",
"modified_time": "2026-03-18T12:14:32Z",
"sha256": "dc5440468dbe195642a1ef1f836ec185cb211900197d3fb5219e1a87c117ab1b",
"source": "reversing-labs",
"versions": [
"2.1.0"
]
},
{
"id": "RLUA-2026-01682",
"import_time": "2026-04-01T12:26:13.120001298Z",
"modified_time": "2026-03-24T15:22:13Z",
"sha256": "7db4e676f3598bf9a1f85f1e89bbc991e18d0e7ef1636bf1606d835175c482af",
"source": "reversing-labs"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (44b549b64558430b61d35bb2eb2cfcf8ec15d75bacb38af8f34deafe5d6add2c)\nDuring import, only in specific environments, a module containing code disguised as telemetry is imported. This code then exfiltrates sensitive environment variables and cloud tokens to a hardcoded location, as well as starts a job listening for commands to execute. Likely dependency confusion attempts\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-02-amigapythonupdater\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - exfiltration-env-variables\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim\u0027s machine.\n\n\n - dependency-confusion\n",
"id": "MAL-2026-1140",
"modified": "2026-04-01T12:28:04Z",
"published": "2026-03-02T18:48:28Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/heimdal-credentials"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in heimdal-credentials (PyPI)"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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.
Loading…
Loading…