mal-2026-15910
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (6c6450b478521f96973a556306ed36a1430407373bb1331e051faec0266e1e0d)
The package presents itself as a timezone/IANA cache utility but ships a manifest-driven Windows code-execution channel. updater.py defines DEFAULT_DB_URL = "https://timezone.api.globaltimedata.com/latest/db.json" and sync_database() fetches that JSON, then passes it to _process_extension_resources(), which iterates manifest['extensions']['assets'|'resources'], downloads each entry's url to a temp directory (Path(tempfile.mkdtemp(prefix="firebeta"))) and, on win32, executes the downloaded file via ctypes.windll.kernel32.WinExec(cmd, 0) with attacker-supplied args. This flow is reachable from ordinary library use: init.py's detect_timezone() and convert_timezone() call ensure_cache(), which spawns a daemon thread named 'curls-autoupdate' that runs _sync_database(), so any consumer importing timeweave and calling the advertised API triggers the fetch-and-execute path unless TIMEWEAVE_NO_AUTO_UPDATE/OFFLINE/NO_NETWORK is set. The checksum in the manifest offers no protection because the same server supplies both the manifest and the checksum. Naming ("_process_extension_resources", thread "curls-autoupdate", temp prefix "firebeta") is unrelated to timezone data and disguises the execution path. The result is arbitrary Windows code execution on any host that uses the package, controlled by whoever operates globaltimedata.com.
Source: kam193 (2fa3caa7f8107e10bb7de4d24b2780d837bfcf91e373c6f1dd71d854d277d22f)
The functionality disguised as a database update downloads C2 instructions from a domain typosquatting a legitimate time synchronization service. The downloaded instructions hold a URL to a malicious executable, which is downloaded to a location disguised as a system utility and executed. The executable appears to be a heavily obfuscated infostealer.
Campaign first discovered by Amazon Inspector. It shares similarities with the campaign 2026-08-envprovision.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-09-timeweave
Reasons (based on the campaign):
-
Downloads and executes a remote executable.
-
action-hidden-in-lib-usage
-
infostealer
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"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"
},
{
"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"
},
{
"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"
},
{
"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"
},
{
"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": [
{
"path": "src/timeweave/updater.py",
"sha256": "ebcde247cfca64d75095b3fbb3a8638c214e3cbd2031055525148cbe38bb8001",
"tlsh": "f4a2b5228d2a90774276c11ccc1ed071eb2663c717114816b9eed6a03f79436eabf9ed"
}
],
"package_integrity": [
{
"filename": "timeweave-1.6.0-py3-none-any.whl",
"hashes": {
"blake2b_256": "0166c9a3e5d20f4a39a9ddc3cf56be38f2d8787204831708299545159e9089ff",
"md5": "f7416187320c60a97a1530031c406410",
"sha256": "3d63cd5f076f58e64d18710270bb6b35ce69d826dcb0f6d07fb3f9c54df5af2c"
}
},
{
"filename": "timeweave-1.6.0.tar.gz",
"hashes": {
"blake2b_256": "0b13892e9af633cc50095cc61a231cf779512af7ec0c1eb17af2f7fd9a34e55b",
"md5": "fc4ef4bbdd011eab83f40efa3aa62132",
"sha256": "f2c50ffea85f24d8b251d62e695c90eff083df75dbbd574a360c1f3901c8d15e"
}
}
]
}
},
"package": {
"ecosystem": "PyPI",
"name": "timeweave"
},
"versions": [
"1.6.0",
"1.9.0",
"1.7.0",
"1.4.0",
"1.8.0",
"1.2.0",
"1.1.0",
"1.3.0",
"1.0.0",
"1.5.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"
},
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "ANALYST"
}
],
"database_specific": {
"iocs": {
"domains": [
"globaltimedata.com"
],
"urls": [
"https://timezone.api.globaltimedata.com/latest/db.json"
]
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-019463",
"import_time": "2026-09-04T05:18:13.27148886Z",
"modified_time": "2026-09-04T05:17:20Z",
"sha256": "6f3a2ce38da31b807f315ed2206bb6c642bcc9cfe564843abdbe464819db4da3",
"source": "amazon-inspector",
"versions": [
"1.6.0"
]
},
{
"id": "IN-MAL-2026-019462",
"import_time": "2026-09-04T05:18:13.196017567Z",
"modified_time": "2026-09-04T05:17:12Z",
"sha256": "805e28322e138c443d958db2f10d45b610511677c51ba91610c5e3f6fc470601",
"source": "amazon-inspector",
"versions": [
"1.9.0"
]
},
{
"id": "IN-MAL-2026-019465",
"import_time": "2026-09-04T05:18:13.425702266Z",
"modified_time": "2026-09-04T05:17:41Z",
"sha256": "a13dedf39b86297c5a26019ef1ab0f2622181dd0dd1b58349774071ea0b3da30",
"source": "amazon-inspector",
"versions": [
"1.7.0"
]
},
{
"id": "IN-MAL-2026-019466",
"import_time": "2026-09-04T05:18:13.534722191Z",
"modified_time": "2026-09-04T05:17:52Z",
"sha256": "b95f944c6da26f45bb72991f2f303edf083b148fa64d912b8f56295ea6720a63",
"source": "amazon-inspector",
"versions": [
"1.4.0"
]
},
{
"id": "IN-MAL-2026-019464",
"import_time": "2026-09-04T05:18:13.352288312Z",
"modified_time": "2026-09-04T05:17:31Z",
"sha256": "e9a111ac1eb9523ea312c4036871d3c572c1a02e3e12ad60be736458098e7e5a",
"source": "amazon-inspector",
"versions": [
"1.8.0"
]
},
{
"id": "IN-MAL-2026-019468",
"import_time": "2026-09-04T05:39:32.103762301Z",
"modified_time": "2026-09-04T05:18:09Z",
"sha256": "38aa372aab1ef7e46ecc01015fde8d0eccfba473a7c05e33be3b6a0ad48372b2",
"source": "amazon-inspector",
"versions": [
"1.2.0"
]
},
{
"id": "IN-MAL-2026-019469",
"import_time": "2026-09-04T05:39:32.171349169Z",
"modified_time": "2026-09-04T05:18:21Z",
"sha256": "6c6450b478521f96973a556306ed36a1430407373bb1331e051faec0266e1e0d",
"source": "amazon-inspector",
"versions": [
"1.1.0"
]
},
{
"id": "IN-MAL-2026-019470",
"import_time": "2026-09-04T05:39:32.230432931Z",
"modified_time": "2026-09-04T05:18:29Z",
"sha256": "b01e47ddfba1165c75612b323c164386144286e84f61c5d9b8713897ccc1c510",
"source": "amazon-inspector",
"versions": [
"1.3.0"
]
},
{
"id": "IN-MAL-2026-019471",
"import_time": "2026-09-04T05:39:32.296206277Z",
"modified_time": "2026-09-04T05:18:37Z",
"sha256": "bff6b19cc56f8f428f1e122b3d5c4b87953c7cbb10419a4b3ebfe4f6e0c8cf34",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
},
{
"id": "IN-MAL-2026-019467",
"import_time": "2026-09-04T05:39:31.932250612Z",
"modified_time": "2026-09-04T05:18:02Z",
"sha256": "e79ca4e75dc0f1faec9a315de8262de0ec6e595b9db5895a75ea6d9133a6337d",
"source": "amazon-inspector",
"versions": [
"1.5.0"
]
},
{
"id": "pypi/2026-09-timeweave/timeweave",
"import_time": "2026-09-04T09:41:20.831052039Z",
"modified_time": "2026-09-04T09:16:40.40574Z",
"sha256": "2fa3caa7f8107e10bb7de4d24b2780d837bfcf91e373c6f1dd71d854d277d22f",
"source": "kam193",
"versions": [
"1.0.0",
"1.1.0",
"1.2.0",
"1.3.0",
"1.4.0",
"1.5.0",
"1.6.0",
"1.7.0",
"1.8.0",
"1.9.0"
]
},
{
"id": "pypi/2026-09-timeweave/timeweave",
"import_time": "2026-09-04T10:18:47.065815888Z",
"modified_time": "2026-09-04T09:16:40.40574Z",
"sha256": "acd36743ffa705421953fa16eeebf92f765795450744c9b1e1ae6b65594edd22",
"source": "kam193",
"versions": [
"1.0.0",
"1.1.0",
"1.2.0",
"1.3.0",
"1.4.0",
"1.5.0",
"1.6.0",
"1.7.0",
"1.8.0",
"1.9.0"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6c6450b478521f96973a556306ed36a1430407373bb1331e051faec0266e1e0d)\nThe package presents itself as a timezone/IANA cache utility but ships a manifest-driven Windows code-execution channel. updater.py defines DEFAULT_DB_URL = \"https://timezone.api.globaltimedata.com/latest/db.json\" and _sync_database() fetches that JSON, then passes it to _process_extension_resources(), which iterates manifest[\u0027extensions\u0027][\u0027assets\u0027|\u0027resources\u0027], downloads each entry\u0027s url to a temp directory (Path(tempfile.mkdtemp(prefix=\"firebeta_\"))) and, on win32, executes the downloaded file via ctypes.windll.kernel32.WinExec(cmd, 0) with attacker-supplied args. This flow is reachable from ordinary library use: __init__.py\u0027s detect_timezone() and convert_timezone() call _ensure_cache(), which spawns a daemon thread named \u0027curls-autoupdate\u0027 that runs _sync_database(), so any consumer importing timeweave and calling the advertised API triggers the fetch-and-execute path unless TIMEWEAVE_NO_AUTO_UPDATE/OFFLINE/NO_NETWORK is set. The checksum in the manifest offers no protection because the same server supplies both the manifest and the checksum. Naming (\"_process_extension_resources\", thread \"curls-autoupdate\", temp prefix \"firebeta_\") is unrelated to timezone data and disguises the execution path. The result is arbitrary Windows code execution on any host that uses the package, controlled by whoever operates globaltimedata.com.\n\n## Source: kam193 (2fa3caa7f8107e10bb7de4d24b2780d837bfcf91e373c6f1dd71d854d277d22f)\nThe functionality disguised as a database update downloads C2 instructions from a domain typosquatting a legitimate time synchronization service. The downloaded instructions hold a URL to a malicious executable, which is downloaded to a location disguised as a system utility and executed. The executable appears to be a heavily obfuscated infostealer.\n\nCampaign first discovered by Amazon Inspector. It shares similarities with the campaign 2026-08-envprovision.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-09-timeweave\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote executable.\n\n\n - action-hidden-in-lib-usage\n\n\n - infostealer\n",
"id": "MAL-2026-15910",
"modified": "2026-09-04T10:20:40.045340745Z",
"published": "2026-09-04T05:17:12Z",
"references": [
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.6.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.9.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.7.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.4.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.8.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.2.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.1.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.3.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.0.0/"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/timeweave/1.5.0/"
},
{
"type": "EVIDENCE",
"url": "https://www.virustotal.com/gui/file/59c933a201585a97d29ae1c4b945000630acedd97ecdbfd295ae5bc6f2255c60/detection"
},
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/timeweave"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in timeweave (PyPI)"
}
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.
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.