VDB
GCVE-110-OSM-2026-11943
GCVE-110-OSM-2026-11943
Advisory PublishedCVSS 8.8/10
index.js reads sample/cert.pem, strips the BEGIN/END CERTIFICATE header and footer, base64-decodes the body, and eval()s the result. The decoded bytes are a JavaScript IIFE that base64-decodes a hardcoded URL (http://144.172.104.211/settings/privacy.php), fetches its response over plain HTTP, and pipes the body into a detached python3 process via stdin, executing whatever the remote host returns. The loader (loadSampleCertificate) is invoked unconditionally at the top of the exported generateCertificates() API, so any consumer that uses the package as advertised triggers remote code execution on the installer's host. Presenting an executable payload as a PEM certificate and nesting the C2 URL under a second base64 layer is deliberate obfuscation with no legitimate role in a certificate-generation library.
ENTRY
index.js (main: index.js)
OBFUSCATION
- Dynamic Base64 Decoding in index.js: "Buffer.from(portion, 'base64')"
- Decoded Base64 Content in sample/cert.pem (x13)
- Strings Extracted from Deobfuscated Code in index.js
ADDITIONAL FINDINGS
- Very New NPM Publisher Account
PAYLOAD FILES
sample/cert.pem
Weaknesses (CWE)
CWE-506Embedded Malicious Code
Risk Scores
CVSS 3.1
8.8/10
High · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions | Platforms |
|---|---|---|---|
| unknown | selfcerts | all (affected) | — |
Aliases
Browse GCVE Records
506 records in the GCVE database · Updated September 11, 2026
No matching records found.
Explore Further
Investigate this vulnerability in the interactive console or download the raw GCVE record.