Advisory

GHSA-38hx-3542-8fh3

Also known as: None

Summary

Malicious code in electorn

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-10-01 17:09 UTC
Modified
2020-10-01 17:09 UTC

Affected packages and fixes

electorn

npm · All systems

Affected

  • introduced 0, last affected 10.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences