{"id":"GHSA-2h56-6c2c-2475","revision":null,"records":[{"revision":"2877c795a56c40ad8e696ba438f0c50c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10890","aliases":["GHSA-2h56-6c2c-2475","MAL-2026-6299"],"title":"Malicious code in analysis-chart (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n","state":0,"publishedAt":"2026-07-20T10:33:23+00:00","modifiedAt":"2026-07-23T07:50:56.515889+00:00","affected":[{"ecosystem":"npm","name":"analysis-chart","ranges":[],"versions":["2.0.8","2.0.9","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.0.19","2.0.20","2.0.21","2.0.22","2.0.23","2.0.24","2.0.25","2.0.26","2.0.27","2.0.28"],"rawVersionEvidence":null}],"metrics":[],"references":[],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10890","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10890","identifiers":["MAL-2026-10890","GHSA-2h56-6c2c-2475","MAL-2026-6299"]},"retained":false,"historicalAffected":[]},{"revision":"dc3a997535b64a14aea7328ddbf59a28","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6299","aliases":["GHSA-2h56-6c2c-2475","MAL-2026-10890"],"title":"Malicious code in analysis-chart (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a1ab4349bcc1e8f4434817d242b136f6e6050d4acb234aa833d81ffd74942066)\nThe package's postinstall hook (install-hook.js, invoked via package.json scripts.postinstall) fetches an opaque binary 'payload.bin' from https://github.com/Dimitrijenco/Sticky_note/releases/download/v6/payload.bin — a third-party GitHub release on an account unrelated to the package's claimed author. The downloaded bytes are XOR-decrypted with key 0x42, then loaded into the installer's process: kernel32.dll is loaded via koffi, RWX memory is allocated with VirtualAlloc, the decrypted PE is copied via RtlMoveMemory, VirtualProtect is applied, and CreateThread is started at the parsed PE entry point. This is in-memory shellcode/PE injection on Windows developer machines, executing arbitrary attacker-controlled native code on `npm install`. After launching the payload, install-hook.js writes a cleanup.js that, after a 3-second delay, runs `cmd /c rmdir /s /q` on the package folder, removes 'analysis-chart' from the host project's package.json, unlinks install-hook.js, and self-deletes — anti-forensic evidence removal so the developer cannot inspect what ran. The package's index.js exposes a plausible-looking chart statistics API (stats, outliers, trend, correlation, movingAverage, analyze) that is functionally unrelated to install-hook.js and serves as decoy cover; author metadata 'Elena Vogt <elena@analysis-chart.io>' and the referenced repo appear fabricated.\n\n## Source: ghsa-malware (82bbf41d04bd663ad1120c3d1247f5a7d17684a14e12d0fb19191da0c1da929f)\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","state":0,"publishedAt":"2026-06-23T15:25:06+00:00","modifiedAt":"2026-09-03T06:00:06.1582496+00:00","affected":[{"ecosystem":"npm","name":"analysis-chart","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["2.0.8","2.0.9","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.0.19","2.0.20","2.0.21","2.0.22","2.0.23","2.0.24","2.0.25","2.0.26","2.0.27","2.0.28"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/analysis-chart/v/2.0.14","https://www.npmjs.com/package/analysis-chart/v/2.0.16","https://www.npmjs.com/package/analysis-chart/v/2.0.11","https://www.npmjs.com/package/analysis-chart/v/2.0.13","https://www.npmjs.com/package/analysis-chart/v/2.0.17","https://www.npmjs.com/package/analysis-chart/v/2.0.18","https://www.npmjs.com/package/analysis-chart/v/2.0.8","https://www.npmjs.com/package/analysis-chart/v/2.0.10","https://www.npmjs.com/package/analysis-chart/v/2.0.19","https://www.npmjs.com/package/analysis-chart/v/2.0.12","https://www.npmjs.com/package/analysis-chart/v/2.0.9","https://www.npmjs.com/package/analysis-chart/v/2.0.15","https://www.npmjs.com/package/analysis-chart/v/2.0.22","https://www.npmjs.com/package/analysis-chart/v/2.0.25","https://www.npmjs.com/package/analysis-chart/v/2.0.24","https://www.npmjs.com/package/analysis-chart/v/2.0.23","https://www.npmjs.com/package/analysis-chart/v/2.0.28","https://www.npmjs.com/package/analysis-chart/v/2.0.26","https://www.npmjs.com/package/analysis-chart/v/2.0.27","https://www.npmjs.com/package/analysis-chart/v/2.0.21","https://www.npmjs.com/package/analysis-chart/v/2.0.20","https://github.com/advisories/GHSA-2h56-6c2c-2475","https://github.com/ossf/malicious-packages/blob/dd196409920a3b99b020d5c771b8193e97b32641/osv/malicious/npm/analysis-chart/MAL-2026-10890.json","https://github.com/ossf/malicious-packages/blob/ca35a319f3c5255ac2d7f28cf58023d75de17a35/osv/malicious/npm/analysis-chart/MAL-2026-10890.json"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6299","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6299","identifiers":["MAL-2026-6299","GHSA-2h56-6c2c-2475","MAL-2026-10890"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T18:46:56.4148144+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T18:46:56.4148144+00:00","lastSuccessAt":"2026-11-19T18:46:56.9278483+00:00","error":null,"lastVerifiedAt":"2026-11-19T18:46:56.9280102+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-e5065ec4c3a82b0d29def79b3002b916191e670bb106b3b0edb9776bb349eab1","complete":true,"records":428966,"lastAttemptAt":"2026-11-19T18:46:55.9929019+00:00","lastSuccessAt":"2026-11-19T18:44:35.3196125+00:00","error":null,"lastVerifiedAt":"2026-11-19T18:46:55.9929019+00:00","snapshotPublishedAt":"2026-11-19T18:30:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-db1c9a24d1c5430fad9db85cb14cfbf8","complete":false,"records":13866,"lastAttemptAt":"2026-11-19T18:56:30.8939068+00:00","lastSuccessAt":"2026-11-19T18:56:30.888+00:00","error":"419 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T18:56:30.888+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13490,"expectedIdentifiers":13914,"failedIdentifiers":419},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T18:46:56.4148144+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T18:46:56.4148144+00:00","lastSuccessAt":"2026-11-19T18:46:57.0058245+00:00","error":null,"lastVerifiedAt":"2026-11-19T18:46:57.005825+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b45a9580a999454ca488aa4ce64ffa94","complete":true,"records":13878,"lastAttemptAt":"2026-11-19T18:46:58.4237054+00:00","lastSuccessAt":"2026-11-19T18:44:37.403+00:00","error":null,"lastVerifiedAt":"2026-11-19T18:44:37.403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13914,"expectedIdentifiers":13914,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-7b847de8d346a4b605d25dfaa256e6048ccf033cdf1e65b5fde14a9872a0b2a6","complete":true,"records":9965,"lastAttemptAt":"2026-11-19T18:46:56.2777624+00:00","lastSuccessAt":"2026-11-19T16:46:59.4476531+00:00","error":null,"lastVerifiedAt":"2026-11-19T18:46:56.2777624+00:00","snapshotPublishedAt":"2026-11-19T16:18:26+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T18:46:56.045552+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T18:46:56.045552+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-dcf771d02804125af0c0f27ccbde8a0dfb5f91ffa78aca098bacce9b58aa2c8b","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T18:46:56.3016468+00:00","lastSuccessAt":"2026-11-19T17:46:39.253912+00:00","error":null,"lastVerifiedAt":"2026-11-19T18:46:56.3016468+00:00","snapshotPublishedAt":"2026-11-19T16:48:38+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-a5dc42b1d82295cda343595d8a7a9b53c5349d8a398f43621d968530d472b9a6","complete":true,"records":232772,"lastAttemptAt":"2026-11-19T18:46:56.167578+00:00","lastSuccessAt":"2026-11-19T17:46:34.5427331+00:00","error":null,"lastVerifiedAt":"2026-11-19T18:46:56.167578+00:00","snapshotPublishedAt":"2026-11-19T17:33:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}