Advisory

GHSA-mfc2-93pr-jf92

Also known as: None

Summary

Malicious code in loadyaml

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:10 UTC
Modified
2020-10-01 17:09 UTC

Affected packages and fixes

loadyaml

npm · All systems

Affected

  • introduced 0, last affected 1.0.2 (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