{"id":"MAL-2026-14544","revision":null,"records":[{"revision":"5e8eb059b9c24304a2c1183e8c9f070a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14544","aliases":["GHSA-9jvg-g3cg-g557"],"title":"Malicious code in self-sign (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b684f78f17626dead6b3d11131179a7a1aff7fa5e903daeecdac17ce8e3b99b3)\nThe exported generate() function in self-sign@5.6.7 accepts an undocumented third `defaults` parameter. When passed a string, the code strips PEM `-----BEGIN CERTIFICATE-----` headers, base64-decodes the remaining body, and passes the result to eval() inside a silent try/catch. The TypeScript declaration file advertises only two parameters, concealing the sink, while the shipped README examples pass a third argument (null), normalising the call shape so downstream callers can be induced to propagate attacker-controllable certificate-shaped strings into the eval sink. A cryptographic/x509 helper has no legitimate reason to evaluate base64 content extracted from a certificate string; this pattern yields arbitrary JavaScript execution in the process of any consumer that reaches this code path with attacker-influenced input. The package.json name (`self-sign`) also diverges from the require identifier used in the shipped documentation (`require('selfsign')`), a naming inconsistency that supports confusion with the legitimate selfsigned library.\n\n## Source: ghsa-malware (b8adbf388bace10b905f93be8487c3b1866d941ecc0f968972de85f3b20f44de)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","state":0,"publishedAt":"2026-08-26T19:13:44+00:00","modifiedAt":"2026-08-27T04:00:13.7745794+00:00","affected":[{"ecosystem":"npm","name":"self-sign","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["5.6.2","5.6.5","5.6.8","5.6.6","5.6.9","5.6.4","5.6.3","5.6.1","5.6.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-9jvg-g3cg-g557","https://www.npmjs.com/package/self-sign/v/5.6.2","https://www.npmjs.com/package/self-sign/v/5.6.5","https://www.npmjs.com/package/self-sign/v/5.6.8","https://www.npmjs.com/package/self-sign/v/5.6.6","https://www.npmjs.com/package/self-sign/v/5.6.9","https://www.npmjs.com/package/self-sign/v/5.6.4","https://www.npmjs.com/package/self-sign/v/5.6.3","https://www.npmjs.com/package/self-sign/v/5.6.1","https://www.npmjs.com/package/self-sign/v/5.6.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14544","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14544","identifiers":["MAL-2026-14544","GHSA-9jvg-g3cg-g557"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-20T18:47:57.3650873+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-20T18:47:57.3650873+00:00","lastSuccessAt":"2026-11-20T18:47:57.5378455+00:00","error":null,"lastVerifiedAt":"2026-11-20T18:47:57.5378462+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-ab394367b327976f2e615091908e1dede6760751304792bb06c748f95767cbef-5d5a63597e67461b681367c5ef06cd1fdebda3f34f0d2b152797b51a259db536","complete":true,"records":429882,"lastAttemptAt":"2026-11-20T18:46:03.9832646+00:00","lastSuccessAt":"2026-11-20T18:46:03.75087+00:00","error":null,"lastVerifiedAt":"2026-11-20T18:46:03.9832646+00:00","snapshotPublishedAt":"2026-11-20T18:30:49+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-03324063f6bb4412ae97685b261e8504","complete":false,"records":13914,"lastAttemptAt":"2026-11-20T18:48:42.5893977+00:00","lastSuccessAt":"2026-11-20T18:48:42.585+00:00","error":"75 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-20T18:48:42.585+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13887,"expectedIdentifiers":13962,"failedIdentifiers":75},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-20T18:47:57.3650873+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-20T18:47:57.3650873+00:00","lastSuccessAt":"2026-11-20T18:47:57.538759+00:00","error":null,"lastVerifiedAt":"2026-11-20T18:47:57.5387592+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-fd649169ca54499f9412bf022a2e71fc","complete":false,"records":13926,"lastAttemptAt":"2026-11-20T18:48:23.3954643+00:00","lastSuccessAt":"2026-11-20T18:48:23.392+00:00","error":null,"lastVerifiedAt":"2026-11-20T18:48:23.392+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13951,"expectedIdentifiers":13962,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a479762f093c173daaf94ab78c6e1c5dc2a2542cfb360d0428239181880c03b4","complete":true,"records":9988,"lastAttemptAt":"2026-11-20T18:47:53.9955517+00:00","lastSuccessAt":"2026-11-20T15:48:09.8429817+00:00","error":null,"lastVerifiedAt":"2026-11-20T18:47:53.9955517+00:00","snapshotPublishedAt":"2026-11-20T15:18:25+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-20T18:46:04.0322054+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-20T18:46:04.0322054+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-0d57516b4a7264d7a3e50d41b832d65b6f43cdd6a79ce9e39aca7fd9f0df1b84","complete":true,"records":3208,"lastAttemptAt":"2026-11-20T18:47:57.326253+00:00","lastSuccessAt":"2026-11-20T18:47:57.1855043+00:00","error":null,"lastVerifiedAt":"2026-11-20T18:47:57.326253+00:00","snapshotPublishedAt":"2026-11-20T17:03:30+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-0e7a1fab905793b6562cdd676165c0f3faf3772098896d62b7b49eacc450ff82","complete":true,"records":232834,"lastAttemptAt":"2026-11-20T18:47:52.836678+00:00","lastSuccessAt":"2026-11-20T18:47:51.7643028+00:00","error":null,"lastVerifiedAt":"2026-11-20T18:47:52.836678+00:00","snapshotPublishedAt":"2026-11-20T18:33:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}