MAL-2026-12767Malicious code in devplatform-spa-plugin-history (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | devplatform-spa-plugin-history | * |
| npm | devplatform-spa-plugin-history | 35.1.4 |
{"schema_version":"1.7.4","id":"MAL-2026-12767","published":"2026-08-05T13:42:52Z","modified":"2026-08-06T01:00:38.516983225Z","aliases":["GHSA-9hjp-75c7-rgxr"],"summary":"Malicious code in devplatform-spa-plugin-history (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (809274addc0525244480b108485ad3dbdba1a92b65025c1c48d549dd03c45f0b)\nOn require of the package, index.js loads _bridge.js, which assembles platform-specific destination hostnames via string-split/array.join obfuscation and downloads an opaque binary over HTTPS from Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev) with a DNS-TXT chunked fallback channel (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru). The fetched bytes are written to /tmp or %TEMP% under disguised names (.cache_<rnd>, dotnet_diag_<rnd>.exe), chmod 0755, and spawned detached via cp.spawn(\"/bin/sh\", [\"-c\", fp + \" &\"], {detached:true}).unref(), with a marker file used to gate re-execution. A sibling module in lib/telemetry.js resolves child_process via 'child_' + 'process' string concatenation, corroborating deliberate static-analysis evasion. Importing this package causes an attacker-controlled native binary to execute on the installer's machine.\n\n## Source: ghsa-malware (6eae746404d92a5c5a06e6a6c0f193dfe1cd697841d04c825513c6d711fad214)\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":"devplatform-spa-plugin-history","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.1.4"],"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":"_bridge.js","sha256":"f0f4c4cc2e08fe4e4698c76cb59ac44d75c2b022f37620b47a0a91b217d990be","tlsh":"04a1b99a16a670194bb0dbf4c6174816f69bf6633780c1d4f79ca5980f7311482b2efc"}],"package_integrity":[{"filename":"devplatform-spa-plugin-history-35.1.4.tgz","hashes":{"sha1":"b18416439372d211f53f110521db53b2d80145d6","sha512_sri":"sha512-R4I49ZafyBepzv9wefKZZ83tpHLuHoAIxAiBJBMkjBz5ji8jZOhBZVYszPKRJKeS/Hgjt7IhgKsp4Bs8uNYFFA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-spa-plugin-history/v/35.1.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9hjp-75c7-rgxr"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015009","import_time":"2026-08-05T14:19:52.214183372Z","modified_time":"2026-08-05T13:42:52Z","sha256":"809274addc0525244480b108485ad3dbdba1a92b65025c1c48d549dd03c45f0b","source":"amazon-inspector","versions":["35.1.4"]},{"id":"GHSA-9hjp-75c7-rgxr","import_time":"2026-08-06T00:58:53.340364755Z","modified_time":"2026-08-05T15:02:54Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"6eae746404d92a5c5a06e6a6c0f193dfe1cd697841d04c825513c6d711fad214","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0