Skip to content

Malicious code in `electorn`

Critical severity GitHub Reviewed Published Oct 1, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm electorn (npm)

Affected versions

<= 10.0.0

Patched versions

None

Description

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.

References

Reviewed Oct 1, 2020
Published to the GitHub Advisory Database Oct 1, 2020
Last updated Jan 9, 2023

Severity

Critical

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-38hx-3542-8fh3

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.