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:
The malicious packages have been removed from the npm registry and the leaked content removed from GitHub.
{
"cwe_ids": [
"CWE-506"
],
"github_reviewed": true,
"github_reviewed_at": "2020-10-01T17:09:29Z",
"nvd_published_at": null,
"severity": "CRITICAL"
}