This is an advisory for a malicious package.
We recommend immediate removal of malicious versions of this package. Safety Firewall is actively blocking installation and will help you identify any existing installations of the package.
npm: accounts-stores
GHSA-xmwx-658v-4726
Safety vulnerability ID: SFTY-20260805-37164
## Source: amazon-inspector (c70d8323b295e6b8dfa18e720a7b6e2a719c42d19a5dedab1157866043417c7d) The 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/5d4b3da3177e0aef279e52c6f96e99e7cc135d05/osv/malicious/npm/accounts-stores/MAL-2026-12136.json))
Overview
Malicious code in accounts-stores (npm)
Advisory
Malicious code in accounts-stores (npm)
How to Fix
We recommend updating accounts-stores to the latest non-vulnerable version.
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20260805-37164
- https://github.com/ossf/malicious-packages/blob/5d4b3da3177e0aef279e52c6f96e99e7cc135d05/osv/malicious/npm/accounts-stores/MAL-2026-12136.json
- https://www.npmjs.com/package/accounts-stores/v/0.0.1
- https://github.com/advisories/GHSA-xmwx-658v-4726
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more