GHSA-38hx-3542-8fh3
CRITICALMalicious code in `electorn`
npm packages loadyaml and electorn were removed from the npm registry for containing malicious code. Upon installation the package runs a preinstall script that writes a public comment on GitHub containing the following information:
- IP and IP-based geolocation
- home directory name
- local username
The malicious packages have been removed from the npm registry and the leaked content removed from GitHub.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | electorn | <= 10.0.0 |
References
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Oct 2020)