GHSA-mfc2-93pr-jf92
critical
Malicious code in `loadyaml`
- Severity
- critical rating by GitHub
- Published
- Last changed
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
| Product or package | Versions | Reported by |
|---|---|---|
| loadyaml (npm) | up to 1.0.2 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-mfc2-93pr-jf92 changed 2020-10-01 | CC-BY-4.0 |