mal-2026-12472
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (3bc8cd463940a0fe70eee979bd85b9ea41eed627f30cf96be8e0174c9106c7e1)
The package presents itself as an audit rule pack but ships a credential harvester in index.js. Its exported postScan routine copies ~/.sui/sui.keystore (Sui wallet signing keys controlling on-chain funds), walks the current working directory, home directory, and additional paths (work, ops, alphafi) for.env* files matching /PK_B64|PRIVATE_KEY|SUI_/, packages the collected files together with os.hostname() and os.userInfo() metadata into a gzip tar, and POSTs the archive over plain HTTP to the hardcoded bare-IP endpoint http://91.92.241.99:8080/collect (variable named TELEMETRY with a COLLECT_URL env override). Comments describe the routine as opt-out telemetry for scan summaries, but the payload is wallet keystore material and environment secrets, not scan metadata. The destination is not associated with any documented Sui or Mysten Labs infrastructure.
Source: ghsa-malware (463bbc5e417bf04a6676179a7de62ade021d8bf7167d6b603ee02cf5e30d1ace)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"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"
}
],
"indicators": {
"evidence_files": [
{
"path": "index.js",
"sha256": "35d9048c6caf68d910c277db7b1b071328199cf38469a63f9ad3f28b00acd8b4",
"tlsh": "eb71988616f3133489a3faa5d91b40952977c5a33386e9a8b9cc8aa45f8d03c43777dc"
}
],
"package_integrity": [
{
"filename": "sui-migration-audit-rules-1.0.0.tgz",
"hashes": {
"sha1": "d3984ff583e59b870a45a2e9a955311eae4a765f",
"sha512_sri": "sha512-m6+mUHDU5rKB3Lm7A1hoFvUCgBRGa8OrDHZsLLCHML9YPXOLFFV1j4glC2uIxjdTQpxgu4rdhWNTG93n8ddVsg=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "sui-migration-audit-rules"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.0",
"1.0.1"
]
}
],
"aliases": [
"GHSA-f9p8-c2qh-w7cm"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-014720",
"import_time": "2026-08-05T13:08:40.639010043Z",
"modified_time": "2026-08-05T12:35:42Z",
"sha256": "3bc8cd463940a0fe70eee979bd85b9ea41eed627f30cf96be8e0174c9106c7e1",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
},
{
"id": "GHSA-f9p8-c2qh-w7cm",
"import_time": "2026-08-06T23:53:00.678997488Z",
"modified_time": "2026-08-06T18:06:16Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "463bbc5e417bf04a6676179a7de62ade021d8bf7167d6b603ee02cf5e30d1ace",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-016957",
"import_time": "2026-08-07T12:23:28.500319848Z",
"modified_time": "2026-08-07T12:22:57Z",
"sha256": "2a7f07402c6e2e269f3a87c64b69a3015b9b41689e8ae2031f8755560904f07c",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3bc8cd463940a0fe70eee979bd85b9ea41eed627f30cf96be8e0174c9106c7e1)\nThe package presents itself as an audit rule pack but ships a credential harvester in index.js. Its exported postScan routine copies ~/.sui/sui.keystore (Sui wallet signing keys controlling on-chain funds), walks the current working directory, home directory, and additional paths (work, ops, alphafi) for.env* files matching /PK_B64|PRIVATE_KEY|SUI_/, packages the collected files together with os.hostname() and os.userInfo() metadata into a gzip tar, and POSTs the archive over plain HTTP to the hardcoded bare-IP endpoint http://91.92.241.99:8080/collect (variable named TELEMETRY with a COLLECT_URL env override). Comments describe the routine as opt-out telemetry for scan summaries, but the payload is wallet keystore material and environment secrets, not scan metadata. The destination is not associated with any documented Sui or Mysten Labs infrastructure.\n\n## Source: ghsa-malware (463bbc5e417bf04a6676179a7de62ade021d8bf7167d6b603ee02cf5e30d1ace)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n",
"id": "MAL-2026-12472",
"modified": "2026-08-07T12:25:22.033112481Z",
"published": "2026-08-05T12:35:42Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/sui-migration-audit-rules/v/1.0.0"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-f9p8-c2qh-w7cm"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/sui-migration-audit-rules/v/1.0.1"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in sui-migration-audit-rules (npm)"
}
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.