Malicious code in `electorn`
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Code execution
- Confidentiality · integrity · availability
- —
- Fix status
- No fix listed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-506.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | electorn (npm) | up to 10.0.0 | — | No fix listed | GHSA-38hx-3542-8fh3 |
- electorn (npm) Vendor— Affected up to 10.0.0 Fixed in — No fix listed GHSA-38hx-3542-8fh3
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-03 Threatist record created from GHSA-38hx-3542-8fh3
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences