MAL-2026-12472

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sui-migration-audit-rules/MAL-2026-12472.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12472
Aliases
  • GHSA-f9p8-c2qh-w7cm
Published
2026-08-05T12:35:42Z
Modified
2026-08-07T00:04:53.683921542Z
Summary
Malicious code in sui-migration-audit-rules (npm)
Details

-= 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 /PKB64|PRIVATEKEY|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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-05T13:08:40.639010043Z",
            "modified_time": "2026-08-05T12:35:42Z",
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-014720",
            "source": "amazon-inspector",
            "sha256": "3bc8cd463940a0fe70eee979bd85b9ea41eed627f30cf96be8e0174c9106c7e1"
        },
        {
            "import_time": "2026-08-06T23:53:00.678997488Z",
            "modified_time": "2026-08-06T18:06:16Z",
            "id": "GHSA-f9p8-c2qh-w7cm",
            "source": "ghsa-malware",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "463bbc5e417bf04a6676179a7de62ade021d8bf7167d6b603ee02cf5e30d1ace"
        }
    ]
}
References
Credits

Affected packages

npm / sui-migration-audit-rules

Package

Name
sui-migration-audit-rules
View open source insights on deps.dev
Purl
pkg:npm/sui-migration-audit-rules

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "eb71988616f3133489a3faa5d91b40952977c5a33386e9a8b9cc8aa45f8d03c43777dc",
            "path": "index.js",
            "sha256": "35d9048c6caf68d910c277db7b1b071328199cf38469a63f9ad3f28b00acd8b4"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "d3984ff583e59b870a45a2e9a955311eae4a765f",
                "sha512_sri": "sha512-m6+mUHDU5rKB3Lm7A1hoFvUCgBRGa8OrDHZsLLCHML9YPXOLFFV1j4glC2uIxjdTQpxgu4rdhWNTG93n8ddVsg=="
            },
            "filename": "sui-migration-audit-rules-1.0.0.tgz"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sui-migration-audit-rules/MAL-2026-12472.json"
cwes
[
    {
        "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."
    }
]