MAL-2026-12382Malicious code in finance-business-company-id-models (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | finance-business-company-id-models | * |
| npm | finance-business-company-id-models | 20.1.5 |
{"schema_version":"1.7.4","id":"MAL-2026-12382","published":"2026-08-05T12:34:51Z","modified":"2026-08-20T01:09:04.896884785Z","aliases":["GHSA-mgqh-vwhj-8hqw"],"summary":"Malicious code in finance-business-company-id-models (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d324092012d8b7c4dda17720255575963c9e35fcd86e254541cdf7abb5edffcf)\nOn require() of this package, index.js loads _compat.js which reconstructs destination hostnames from string-split arrays (e.g. \"oob-worker.cf102-baf.workers\"+\".d\"+\".ev\") to fetch a platform-specific binary via https.get, with a DNS-TXT chunked fallback across tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site. The downloaded bytes are written to /var/tmp or %TEMP% under disguised names (`.cache_<rand>`, `dotnet_diag_<rand>.exe`, `.analytics_state`), chmod'd 0755, and spawned detached via `cp.spawn(\"/bin/sh\", [\"-c\", fp+\" &\"], {detached:true})` on POSIX or `cmd.exe /c start /b` on Windows, with no hash or signature verification. lib/telemetry.js contains a second dropper of the same shape, loading child_process via `require(\"child_\"+\"process\")` string-split, assembling a base64-chunk buffer, and chmod+exec'ing an \"extension\" path. The package's stated purpose is a \"company id models\" library; the network destinations, obfuscation, cover-story filenames, and platform-gated execution are unrelated to that purpose and match a supply-chain dropper campaign.\n\n## Source: ghsa-malware (b16d75ea27c7af8acc2b85460e8edef86a62e3aca1d2af86105ebb3fe2acdd59)\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":"finance-business-company-id-models","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.1.5"],"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":"_compat.js","sha256":"69d0c56da631dd4efb9dd5c2c07bffd87957db476455e5d5eabbffacffb308ae","tlsh":"93a1759a126970184bb0ebe4c6175415f657f2633381c294f79c99985f7313483b2efc"},{"path":"lib/telemetry.js","sha256":"f9fbc87e5bb9e376521ec70253ccc24227faba92f225b9e27342fb1ae0b654f4","tlsh":"50835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"finance-business-company-id-models-20.1.5.tgz","hashes":{"sha1":"98772f245f3e629840fa00d938dfcc5600759b16","sha512_sri":"sha512-0m+3RhWQnGE3eeekw2nVCG1keqPRDszHYvEZ6kaY5aeBELPvP/f7yObIHE8fGF65PNqnQGytRac5DH9XLF4PTw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/finance-business-company-id-models/v/20.1.5"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mgqh-vwhj-8hqw"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014714","import_time":"2026-08-05T13:08:40.093444394Z","modified_time":"2026-08-05T12:34:51Z","sha256":"d324092012d8b7c4dda17720255575963c9e35fcd86e254541cdf7abb5edffcf","source":"amazon-inspector","versions":["20.1.5"]},{"id":"GHSA-mgqh-vwhj-8hqw","import_time":"2026-08-20T01:06:54.073484625Z","modified_time":"2026-08-19T16:18:48Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"b16d75ea27c7af8acc2b85460e8edef86a62e3aca1d2af86105ebb3fe2acdd59","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0