{"id":"MAL-2026-12136","revision":"133451a88aaf47a5a463dc78a2bc3a16","records":[{"revision":"133451a88aaf47a5a463dc78a2bc3a16","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12136","aliases":[],"title":"Malicious code in accounts-stores (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c70d8323b295e6b8dfa18e720a7b6e2a719c42d19a5dedab1157866043417c7d)\nThe package advertises itself as a reactive state-management library but its index.js silently requires./setup at the end of module load inside a try/catch. setup.js schedules a next-tick bootstrap that collects a host fingerprint (os.hostname(), os.userInfo().username, process.cwd(), pid, platform, arch), derives an installId, and loads a ~76KB lib/telemetry.js runtime that POSTs data via https.request. The identifier reads are obfuscated via string-concatenation indirection (os[\"host\"+\"name\"](), os[\"user\"+\"Info\"](), os[\"plat\"+\"form\"](), and a helper const _p=(k)=>os[k]()), which is not consistent with legitimate telemetry SDKs. The destination host is not present as a plain literal in telemetry.js; the file imports dns and https and contains a ServiceDiscovery class that resolves the endpoint at runtime, hiding the exfiltration target from source inspection. Nothing in the advertised state-store API references telemetry, and no opt-in or configuration surface is exposed.\n","state":0,"publishedAt":"2026-08-05T09:08:53+00:00","modifiedAt":"2026-08-05T10:05:46.2064079+00:00","affected":[{"ecosystem":"npm","name":"accounts-stores","ranges":[],"versions":["0.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/accounts-stores/v/0.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12136","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12136","identifiers":["MAL-2026-12136"]},"retained":false,"historicalAffected":[]}],"coverage":[]}