MAL-2026-12351Malicious code in checkout-common-tokens (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
20.1.6 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | checkout-common-tokens | * |
| npm | checkout-common-tokens | 20.1.6 |
{"schema_version":"1.7.4","id":"MAL-2026-12351","published":"2026-08-05T12:36:29Z","modified":"2026-08-18T12:31:37.095249173Z","aliases":["GHSA-89gj-h4r8-g8gm"],"summary":"Malicious code in checkout-common-tokens (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fe0e9681cb5e7a197ca8d77ba29e20a4709fa0ff476f2ffb02f935785c6633e0)\nOn require, index.js loads _ext.js which selects a platform-specific payload URL from a rotating list of Cloudflare Workers subdomains (hosts assembled at runtime by joining split string fragments such as [\"oob-worker.cf101-adf.workers.d\",\"ev\"].join(\"\")), fetches the binary over HTTPS, writes it to /tmp/.cache_<hex> on Unix or %TEMP%\\dotnet_diag_<hex>.exe on Windows, chmods 0o755, and spawns it detached via /bin/sh -c or cmd.exe. If the HTTPS fetch fails, _ext.js falls back to a DNS-TXT covert channel against *.dl.well1.site: a chunk-count TXT lookup at c.<domain> followed by N.<domain> TXT queries whose base64-decoded concatenation is written to disk and executed. Staging file names (.cache_*, dotnet_diag_*.exe,.analytics_state) are chosen to mimic legitimate diagnostic/telemetry artifacts, and destination hostnames are string-split obfuscated to defeat static inspection. The fetched payload is opaque, unpinned, unrelated to any documented package purpose, and executed with the installer's privileges immediately on import.\n\n## Source: ghsa-malware (63365b713418a63ac55d381e309bd078a837b9059328608cf6c3619faafe6445)\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","affected":[{"package":{"name":"checkout-common-tokens","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.1.6"],"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"}],"indicators":{"evidence_files":[{"path":"_ext.js","sha256":"260655ff4a7da8d705d16582c59b04c7712693b702df3c0743501e4df27ccb0d","tlsh":"15a186aa1166701d4bb0d7e4ca175416f65bf6637380c694fb9ca5884fb322483f2eec"}],"package_integrity":[{"filename":"checkout-common-tokens-20.1.6.tgz","hashes":{"sha1":"0e2d4bd0b155abe69ddaf66a2c97788fc5a098df","sha512_sri":"sha512-Qb6mnzrOFluSFNiPurpdnLEQ6tCmGT27Vqqn2uDWzbXJiMn6kgYqu5pl2d4AaPajfsAYHy8BNVvPWnJ3537Q1w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/checkout-common-tokens/v/20.1.6"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-89gj-h4r8-g8gm"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014726","import_time":"2026-08-05T13:08:41.260205194Z","modified_time":"2026-08-05T12:36:29Z","sha256":"fe0e9681cb5e7a197ca8d77ba29e20a4709fa0ff476f2ffb02f935785c6633e0","source":"amazon-inspector","versions":["20.1.6"]},{"id":"GHSA-89gj-h4r8-g8gm","import_time":"2026-08-18T12:29:51.349220391Z","modified_time":"2026-08-18T11:40:18Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"63365b713418a63ac55d381e309bd078a837b9059328608cf6c3619faafe6445","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0