MAL-2026-11170Malicious code in @finxsecdemo/utils (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.2 | archived | — | — | VIP 下载 |
1.0.3 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | @finxsecdemo/utils | 1.0.2 |
| npm | @finxsecdemo/utils | 1.0.3 |
{"schema_version":"1.7.4","id":"MAL-2026-11170","published":"2026-07-29T08:30:33Z","modified":"2026-08-14T18:25:21.715874695Z","summary":"Malicious code in @finxsecdemo/utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (be118b4cf0acab2c331cc37f68a19bdbdf2ac8423ef984a1cac5c9f4d21c1e7e)\nThe postinstall.js lifecycle script unconditionally issues an HTTPS GET and a DNS resolution against a hardcoded interact.sh/OAST subdomain (llhvrrffsffmousfvteqie2heq3c7rl55.oast.fun) on every install, reading os.hostname(), os.userInfo(), and process.env in the surrounding code. The beacon fires on `npm install` and reports the installer's source IP and DNS resolver IP to whoever owns the OAST token, giving them an enumeration list of hosts on which the package landed. The package's own `main` returns a formatCurrency string containing '[DEPENDENCY-CONFUSION-POC: this ran from the PUBLIC npm registry, not @finxsecdemo private packages]', which corrupts any consumer that displays formatted currency. Console framing as a 'dependency confusion PoC' is author-controlled labeling; the network callback and output corruption occur regardless.\n\n## Source: ossf-package-analysis (f6ca8fa85d211056af32639b18f95f13c362b2764d85c812e6741d6747abf94d)\nThe OpenSSF Package Analysis project identified '@finxsecdemo/utils' @ 1.0.2 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"name":"@finxsecdemo/utils","ecosystem":"npm"},"versions":["1.0.2","1.0.3"],"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":"postinstall.js","sha256":"6cd71e6c941ca9e6ae8548ed26474f78a612d2aa303f9be0c556314c9b66fc08","tlsh":"da3185a81ced533926f3d1c4b9550923e147df025b06e040f1ac03bb1bc3fa9566d5b8"},{"path":"index.js","sha256":"4256b75aa709c3c70fd52299b33f1e861e2bf2aab86dca95be75c486f2bbeebb","tlsh":"95e0f132b1c171e6c270d411b54a478f4eef0539362f4885a55c9afb0fda810d269ead"}],"package_integrity":[{"filename":"utils-1.0.2.tgz","hashes":{"sha1":"ef397a9a67ae3bc3063501a129340a163192c5b8","sha512_sri":"sha512-iACgGhTKPKypubxiuS3/kAJCMiD/hQROEEqvK8RJall8t2om6pO8+DRR4hASL1HTphl92gWCaoGSYaE8pQWbMw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@finxsecdemo/utils/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@finxsecdemo/utils/v/1.0.3"}],"database_specific":{"malicious-packages-origins":[{"import_time":"2026-07-29T09:30:03.00706953Z","modified_time":"2026-07-29T08:30:33Z","sha256":"f6ca8fa85d211056af32639b18f95f13c362b2764d85c812e6741d6747abf94d","source":"ossf-package-analysis","versions":["1.0.2"]},{"id":"IN-MAL-2026-012879","import_time":"2026-08-05T06:00:15.180489679Z","modified_time":"2026-08-05T05:02:30Z","sha256":"be118b4cf0acab2c331cc37f68a19bdbdf2ac8423ef984a1cac5c9f4d21c1e7e","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-017914","import_time":"2026-08-14T18:23:39.225753695Z","modified_time":"2026-08-14T17:51:47Z","sha256":"09fd53bc90d2931d4d9df72d8b2fa1205304486913a9e87494dbe72fa51c40fa","source":"amazon-inspector","versions":["1.0.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0