{"id":"MAL-2026-15592","summary":"Malicious code in fuels-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c632848960231dec103d878a13a714e057a5922edcc0398884b6fd6d621e0971)\nThe package's bin script (bin/cli.js) collects `whoami`, `os.hostname()`, and `os.platform()` and POSTs them along with the package name to a hardcoded Cloudflare Workers URL (https://oobme.kunalsharma0553.workers.dev/r/7bq6fz3l15r9) with no configuration or opt-out. The bin is exposed as `generate-schema-viem`, and the package name `fuels-core` resembles the Fuel ecosystem's `fuels` package, consistent with typosquat/dependency-confusion reconnaissance targeting installers who resolve or invoke this package (e.g., via `npx`). The package.json description openly states its purpose is to POST package name and whoami to an OOB callback.\n\n## Source: ghsa-malware (9212149a6ce0cc80d8cfd68941fcb6e8ef2514e6d7d99648131c91f7b3ae8686)\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 (d21bb4c8fac5120e8d1c6227bd7248f35ddb633bcb3c7ca08427b964cdb0ee93)\nThe OpenSSF Package Analysis project identified 'fuels-core' @ 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-82rr-x2r8-gjhm"],"modified":"2026-09-03T06:00:06.256528114Z","published":"2026-08-30T07:59:16Z","database_specific":{"malicious-packages-origins":[{"sha256":"d21bb4c8fac5120e8d1c6227bd7248f35ddb633bcb3c7ca08427b964cdb0ee93","source":"ossf-package-analysis","versions":["1.0.0"],"import_time":"2026-08-30T23:14:55.890195399Z","modified_time":"2026-08-30T07:59:16Z"},{"source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-019182","import_time":"2026-08-31T17:16:15.054696372Z","modified_time":"2026-08-31T16:50:16Z","sha256":"c632848960231dec103d878a13a714e057a5922edcc0398884b6fd6d621e0971"},{"modified_time":"2026-09-01T22:42:25Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"9212149a6ce0cc80d8cfd68941fcb6e8ef2514e6d7d99648131c91f7b3ae8686","source":"ghsa-malware","id":"GHSA-82rr-x2r8-gjhm","import_time":"2026-09-03T05:28:34.54294Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/fuels-core/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-82rr-x2r8-gjhm"}],"affected":[{"package":{"name":"fuels-core","ecosystem":"npm","purl":"pkg:npm/fuels-core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"indicators":{"package_integrity":[{"filename":"fuels-core-1.0.0.tgz","hashes":{"sha512_sri":"sha512-/T/qsBFUFYANZfJOH/xgFfwq4GCo+uWjOwUqJ3CMtaqcqLXl9v8//2+VZbx3Ms05WF5CPs+rhge96QwaAuhbRQ==","sha1":"a260993257a4ddc452085826410d5c8bb4e7c0f4"}}],"evidence_files":[{"sha256":"7bb9e78369c5381ad92a3997176d860469dcbd35fef2d80123dadf978eb15649","tlsh":"94112dea50f553b0bfa22c944d2f50003297c7673c09fcc0faac0359af4ea5c41325a8","path":"bin/cli.js"},{"sha256":"7d76a3614d31ca37e70663cbedc5bd55e2a33f3addecd968ef913a142c002b22","tlsh":"c0e068508b201cb310cc5af12c3aa65b6231dc5b2178fc6532db630c938c172027b2b9","path":"package.json"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fuels-core/MAL-2026-15592.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"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"}]}