-= Per source details. Do not edit below this line.=-
Package published to the public npm registry under the @mexc scope without evidence of scope ownership. package.json declares a postinstall hook ("postinstall": "node postinstall.js") that runs on any installer whose resolver falls back to the public registry when resolving @mexc/shared-utils. The postinstall script collects host metadata — os.hostname(), os.userInfo().username, process.getuid(), process.cwd(), platform, node version, and multiple npm_* environment variables (npm_config_registry, npm_config_user_agent, npm_execpath, INIT_CWD) — and writes the data to os.tmpdir()/mexc-poc-execution-proof.json. The current shipped script performs local write only with no outbound network call, but the install-time code-execution primitive against any CI/build system that resolves the @mexc scope publicly is the classic dependency-confusion pattern; the author controls the code that runs and can change the payload in any future version.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-017927",
"import_time": "2026-08-14T20:14:23.543443734Z",
"modified_time": "2026-08-14T20:04:39Z",
"sha256": "c6d793d1ff65b7f5a24e1aa0c176eaa5d83c7870e05cca5b64f22edb9ca7ded7",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "postinstall.js",
"sha256": "78b73235dc0ec3cce2be6a37b4fef8c595ba7f686dff786e104af436c38d3742",
"tlsh": "afa171194da8863623edcc50197a0c12a627cb47ed00b158f54d42c80f7aadede6aa7f"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@mexc/shared-utils/MAL-2026-14049.json"