{"schema_version":"1.9.0","id":"MAL-2026-17848","published":"2026-10-11T13:13:56Z","modified":"2026-10-26T06:45:15.045626265Z","aliases":["GHSA-83cj-fp7v-jmfx"],"summary":"Malicious code in orderly-plugin-liquidity-heatmap (npm)","details":"orderly-plugin-liquidity-heatmap poses as a liquidity heatmap plugin for the Orderly Network orderbook widget, but its only export is an empty stub and a postinstall hook runs `node ./scripts/setup.js` on npm install. When the script detects GitHub Actions (CI and GITHUB_WORKSPACE set), it records the runner's host, user, repository, GITHUB_/ACTIONS_/RUNNER_ variable names, GITHUB_TOKEN presence and length and network egress, and requests an OIDC token from ACTIONS_ID_TOKEN_REQUEST_URL. From 1.0.2 it uses the workflow's GITHUB_TOKEN to commit heatmap-setup-report.json to the default branch of the installing repository, and 1.0.4 also force-pushes a `heatmap-setup-<timestamp>` git tag with the credentials actions/checkout persists in .git/config; 1.0.6 ships the same setup.js as 1.0.4. The npm account dumtban published the six versions between 13:12 and 16:05 UTC on 2026-10-11, each extending the previous one's access to the CI runner.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dc82bf27be560cba6faa5304a85b992a07f453c6f9d3f6965f9462666309a3d1)\norderly-plugin-liquidity-heatmap@1.0.0 ships a non-functional main (dist/index.js exports registerLiquidityHeatmapPlugin returning an empty function) with no overlay/interceptor/rendering code — the advertised purpose exists only in the README. The sole real behavior is a postinstall script (scripts/setup.js) gated by `process.env.CI && process.env.GITHUB_WORKSPACE`, so the payload fires only inside GitHub Actions. On that trigger it collects runner identity (hostname, user, repo, workflow, platform), enumerates all GITHUB_*/ACTIONS_*/RUNNER_* environment variable names, records GITHUB_TOKEN presence and length, captures the OIDC request URL, the npm registry, egress probe results, and tool versions, and writes the JSON to `<GITHUB_WORKSPACE>/heatmap-setup-report.json` inside the installer's checked-out repository. In addition, when ACTIONS_ID_TOKEN_REQUEST_TOKEN and ACTIONS_ID_TOKEN_REQUEST_URL are set, it uses the installer's OIDC bearer token to call the GitHub ID-token endpoint with `audience=api.github.com` and records the mint result in the same report. The combination of a hollow library stub, CI-environment-only activation, enumeration of secrets-adjacent CI metadata, unauthorized exercise of the workflow's OIDC identity, and placement of the output into the repository workspace where subsequent workflow steps may commit it or upload it as an artifact is a CI-poisoning / supply-chain reconnaissance primitive against the installer's build pipeline.\n\n## Source: ghsa-malware (f25fe3de75e25d7bb2dee4e8cf02e39d79d011bc22a4b52cf0071bf8a73ad2f2)\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":"orderly-plugin-liquidity-heatmap","ecosystem":"npm","purl":"pkg:npm/orderly-plugin-liquidity-heatmap"},"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.6","0.0.0-stage"],"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"},{"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"},{"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"},{"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":"scripts/setup.js","sha256":"6084592cd6948afb3b45bbeca20f9c9e5364961cf4bb522366d15ce6db2f33eb","tlsh":"15e195a94bbb193006b35640395fa052367bf94b3704edf076bd81691f4a928c3b369e"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/orderly-plugin-liquidity-heatmap/MAL-2026-17848.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/orderly-plugin-liquidity-heatmap"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-83cj-fp7v-jmfx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/orderly-plugin-liquidity-heatmap/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/orderly-plugin-liquidity-heatmap/v/1.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/orderly-plugin-liquidity-heatmap/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/orderly-plugin-liquidity-heatmap/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/orderly-plugin-liquidity-heatmap/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/orderly-plugin-liquidity-heatmap/v/1.0.0"}],"database_specific":{"iocs":{"files":[{"note":"Runner fingerprint written to GITHUB_WORKSPACE and, from 1.0.2, committed to the repository's default branch via the GitHub contents API.","paths":["heatmap-setup-report.json"],"source":"DROPPED"},{"note":"Execution trace appended in os.tmpdir() from 1.0.3.","paths":["heatmap-exec-trace.log"],"source":"DROPPED"},{"digests":{"sha256":"44cfa921b8a56d5a79a05052a4baf85e0ec3f5a2e1ee2da064d1ca61a4451f47"},"note":"postinstall hook runs scripts/setup.js, which fingerprints GitHub Actions runners and abuses GITHUB_TOKEN.","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"39124ff7c434292b11cf607575bae99402d0afd30782a4456b858a35410b2d60"},"note":"Executed by the postinstall script.","paths":["scripts/setup.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"85bce265963d453cd92e88d1ae17ac0906404c91578a00c766bfa1b69aef5cd3"},"note":"postinstall hook runs scripts/setup.js, which fingerprints GitHub Actions runners and abuses GITHUB_TOKEN.","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"ef6413b0617623a5302ec74a086de20b59bc60da939cc85a6a165630b7fbf474"},"note":"Executed by the postinstall script.","paths":["scripts/setup.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"57c5a826212d16a686e4c829fabce9193dc8375deeea07ee24481aa62a36e27e"},"note":"postinstall hook runs scripts/setup.js, which fingerprints GitHub Actions runners and abuses GITHUB_TOKEN.","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"b251328db56336ed92fbb0eca68b5ca1b641a9ccdc51020c9af85e475156e5c2"},"note":"Executed by the postinstall script.","paths":["scripts/setup.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"fb77c56b715e118d311819543efbafa5b099d008585c2e23a39e1958896c5adf"},"note":"postinstall hook runs scripts/setup.js, which fingerprints GitHub Actions runners and abuses GITHUB_TOKEN.","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"b4c09dde74153448c4e2284092cd7f664ff26c066f932e2ccf4ea6786b7d6394"},"note":"Executed by the postinstall script.","paths":["scripts/setup.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"d65e79e4989232b754e739b8ccfd7e89bf0e67dfbd0758e0153da4d5dd13e915"},"note":"postinstall hook runs scripts/setup.js, which fingerprints GitHub Actions runners and abuses GITHUB_TOKEN.","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"6084592cd6948afb3b45bbeca20f9c9e5364961cf4bb522366d15ce6db2f33eb"},"note":"Executed by the postinstall script.","paths":["scripts/setup.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"06e624fe1b1554137b9dd628887246764b37cc8f87f12501324b87710ee42091"},"note":"postinstall hook runs scripts/setup.js, which fingerprints GitHub Actions runners and abuses GITHUB_TOKEN.","paths":["package.json"],"source":"PACKAGE_ARCHIVE"}]},"malicious-packages-origins":[{"id":"GHSA-83cj-fp7v-jmfx","import_time":"2026-10-26T01:39:10.950470428Z","modified_time":"2026-10-26T01:06:02Z","sha256":"f25fe3de75e25d7bb2dee4e8cf02e39d79d011bc22a4b52cf0071bf8a73ad2f2","source":"ghsa-malware","versions":["1.0.6","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","0.0.0-stage"]},{"id":"IN-MAL-2026-021768","import_time":"2026-10-26T06:39:41.349869516Z","modified_time":"2026-10-26T06:30:27Z","sha256":"e8fc169182daae50f5503f261d95cf7c6e291e08fb4398cd2ecb7b11b2230165","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-021769","import_time":"2026-10-26T06:39:41.40629881Z","modified_time":"2026-10-26T06:30:32Z","sha256":"37d0354131ccd219237d4ec5efbe15c60e25bd647a0755dcc2d01e8ffe608e80","source":"amazon-inspector","versions":["1.0.6"]},{"id":"IN-MAL-2026-021771","import_time":"2026-10-26T06:39:41.536805Z","modified_time":"2026-10-26T06:30:45Z","sha256":"59631d08454bde8e4948884dec8b7fe67df589cdcf36a8a521db13fbab81dfa2","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-021767","import_time":"2026-10-26T06:39:41.290162227Z","modified_time":"2026-10-26T06:30:21Z","sha256":"8f3196b81c82ea6e69177e992dc68158bec141293996c6b2ffe21ec68efd6c30","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-021770","import_time":"2026-10-26T06:39:41.471275351Z","modified_time":"2026-10-26T06:30:39Z","sha256":"9fa7980940eb4ed96487a6ada28d98e5478a85a2fec2db8ee39d6c8750e8f8d2","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-021774","import_time":"2026-10-26T06:39:41.977235057Z","modified_time":"2026-10-26T06:31:06Z","sha256":"dc82bf27be560cba6faa5304a85b992a07f453c6f9d3f6965f9462666309a3d1","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com/"],"type":"FINDER"}]}