Skip to content
OpenAdvisories
Critical GHSA-mfc2-93pr-jf92

Malicious code in `loadyaml`

Published Oct 1, 2020 · Updated Oct 1, 2020 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm loadyaml <= 1.0.2 — GHSA-mfc2-93pr-jf92

References