{"id":"MAL-2026-15593","summary":"Malicious code in fuels-typegen (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f4dcadcdf880021763232df96239a6a07acd6360bfcd941ae8026a37aee2eb2f)\nThe package name resembles the legitimate @fuel-ts/typegen. On execution of the CLI in bin/cli.js, the code collects the local username (whoami / os.userInfo), os.hostname(), platform, and package name and POSTs them as JSON to the hardcoded endpoint https://oobme.kunalsharma0553.workers.dev/r/7bq6fz3l15r9. The manifest's own description states the package's purpose is to POST identifiers to an out-of-band callback, and the bin name (hyperliquid-composer) is unrelated to the package name, consistent with dependency-confusion or typosquat delivery.\n\n## Source: ghsa-malware (0a84642b7621b1fbd297c7424cfb988c64996305ac95e7cc64c5bf9971e59cbc)\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\n## Source: ossf-package-analysis (d3a77505eb8f38e58c0a2b2a3b9ab7a0c4976077df0cef66e39b146eed5343ee)\nThe OpenSSF Package Analysis project identified 'fuels-typegen' @ 1.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","aliases":["GHSA-c4wf-579x-f397"],"modified":"2026-09-03T06:00:06.190011720Z","published":"2026-08-30T08:09:39Z","database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","versions":["1.0.0"],"import_time":"2026-08-30T23:14:55.582675867Z","modified_time":"2026-08-30T08:09:39Z","sha256":"d3a77505eb8f38e58c0a2b2a3b9ab7a0c4976077df0cef66e39b146eed5343ee"},{"versions":["1.0.0"],"id":"IN-MAL-2026-019172","import_time":"2026-08-31T17:16:14.150064428Z","modified_time":"2026-08-31T16:48:52Z","sha256":"f4dcadcdf880021763232df96239a6a07acd6360bfcd941ae8026a37aee2eb2f","source":"amazon-inspector"},{"id":"GHSA-c4wf-579x-f397","import_time":"2026-09-03T05:28:34.826719Z","modified_time":"2026-09-01T22:42:24Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"0a84642b7621b1fbd297c7424cfb988c64996305ac95e7cc64c5bf9971e59cbc","source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/fuels-typegen/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c4wf-579x-f397"}],"affected":[{"package":{"name":"fuels-typegen","ecosystem":"npm","purl":"pkg:npm/fuels-typegen"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"7bb9e78369c5381ad92a3997176d860469dcbd35fef2d80123dadf978eb15649","tlsh":"94112dea50f553b0bfa22c944d2f50003297c7673c09fcc0faac0359af4ea5c41325a8","path":"bin/cli.js"},{"sha256":"d915ff2e91266790d5ee6462c5a7d75b380274b7defb1e1f8c54f09d341dc56f","tlsh":"e7e068208b2118e310dc5bf12c3a965b6221e85b2168bc6532e7631c8788272123b37a","path":"package.json"}],"package_integrity":[{"hashes":{"sha1":"6793c736165639b7fa2658fe0eae2d24f42d7a10","sha512_sri":"sha512-ik8r5W1JmrFVLJDVveWo2hwjZeYlsHELbxRVG3to5Ck7kVRugoRoIq175wlljDmM8SCwpS1hDho9WzUNKEHobQ=="},"filename":"fuels-typegen-1.0.0.tgz"}]},"cwes":[{"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","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fuels-typegen/MAL-2026-15593.json"}}],"schema_version":"1.9.0","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"}]}