-= Per source details. Do not edit below this line.=-
Package advertised as a self-signed TLS certificate generator ships a fake RSA private key at test/key.pem whose body, once the PEM headers are stripped and the middle is base64-decoded, is JavaScript that calls fetch('https://aptupdate.org/settings/privacy.php') and pipes the response into a detached, window-hidden python3 process via spawn('python3', ['-'], {detached:true, windowsHide:true}) with p.stdin.write(log). index.js reads test/key.pem, strips the '-----BEGIN/END RSA PRIVATE KEY-----' markers, base64-decodes the payload, converts it to a UTF-8 string, and passes it as the third argument to selfsign.generate() from the paired 'self-sign' dependency, which executes the decoded string. The destination URL inside the payload is itself base64-encoded ('aHR0cHM6...' decoding to aptupdate.org/settings/privacy.php). Using a PEM wrapper to smuggle JavaScript into a package presenting itself as a certificate helper, then routing the decoded string to a dependency that evaluates it, is a multi-stage dropper for arbitrary attacker-controlled code on the installer's machine.
Any 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.
{
"malicious-packages-origins": [
{
"sha256": "8a99096f4afe74fe32b56b50df1e93fa15193616360c3656af701ce06bc42183",
"source": "ghsa-malware",
"id": "GHSA-rwg4-cx82-h5hq",
"modified_time": "2026-08-26T19:13:44Z",
"import_time": "2026-08-26T19:54:17.665111203Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"versions": [
"1.1.2"
],
"source": "amazon-inspector",
"import_time": "2026-08-27T03:55:24.994332559Z",
"modified_time": "2026-08-27T02:57:01Z",
"sha256": "b05a70c9af1bc8fa00f9481f7ea36715a94d7d3442b8fc86d662fbc05abdf4c9",
"id": "IN-MAL-2026-018767"
},
{
"versions": [
"1.2.5"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018765",
"modified_time": "2026-08-27T02:56:43Z",
"import_time": "2026-08-27T03:55:24.801118721Z",
"sha256": "d08fd4bf18821b6e7e2632699428553b122619654fd8b3ecd57b29480525fbc8"
},
{
"versions": [
"1.2.3"
],
"source": "amazon-inspector",
"sha256": "14b401edce199203c9fe695d49e0b59473e6cad13f3eccf3a4f363551a6cf054",
"modified_time": "2026-08-27T02:56:09Z",
"import_time": "2026-08-27T03:55:24.263569559Z",
"id": "IN-MAL-2026-018761"
},
{
"versions": [
"1.1.9"
],
"source": "amazon-inspector",
"sha256": "623537b06a5226e15a968c6e6a97f9ae7c15155cfdab3dab9dae3d6ff36c57aa",
"modified_time": "2026-08-27T02:58:13Z",
"import_time": "2026-08-27T03:55:25.858158151Z",
"id": "IN-MAL-2026-018775"
},
{
"versions": [
"1.0.9"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018789",
"modified_time": "2026-08-27T03:00:20Z",
"import_time": "2026-08-27T03:55:27.761294258Z",
"sha256": "d6dccd8b5feaa376d6fea3bc3602a9560e6f6e31b06d04113ed261bce16d4cfc"
},
{
"versions": [
"1.1.1"
],
"source": "amazon-inspector",
"sha256": "ee1aa2b6af5a3f21fe06b20de0fc2798e076f42df8e5a098b321b5ab0e84331f",
"modified_time": "2026-08-27T02:59:58Z",
"import_time": "2026-08-27T03:55:27.249095363Z",
"id": "IN-MAL-2026-018786"
},
{
"versions": [
"1.0.2"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018791",
"modified_time": "2026-08-27T03:00:40Z",
"import_time": "2026-08-27T03:55:28.083563292Z",
"sha256": "675a8408727e1a60b6ac56f21ac24c4f6a9bafd422d48ec46efcfa2d41d91b01"
},
{
"versions": [
"1.2.2"
],
"source": "amazon-inspector",
"sha256": "72545579c047373929b5191374e2ad01f17c3f8e1d0a4fbbd11feb31a2d0cb08",
"modified_time": "2026-08-27T02:58:45Z",
"id": "IN-MAL-2026-018778",
"import_time": "2026-08-27T03:55:26.207174715Z"
},
{
"versions": [
"1.1.7"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018774",
"modified_time": "2026-08-27T02:58:06Z",
"import_time": "2026-08-27T03:55:25.7520441Z",
"sha256": "b7ee4f7d224bee9019d0992d64a6dcac4793b6ea4f19962e4b95220f313f366e"
},
{
"versions": [
"1.0.5"
],
"source": "amazon-inspector",
"import_time": "2026-08-27T03:55:26.480374085Z",
"modified_time": "2026-08-27T02:59:05Z",
"sha256": "ced9167241d391937ba7b1f2625aa3f8184d832ebc61c182936100ae3a3f13bd",
"id": "IN-MAL-2026-018780"
},
{
"versions": [
"1.0.8"
],
"source": "amazon-inspector",
"sha256": "e2d8bddfb73bbc417379d2946be2d552167bc9fcdd27fcaae97df4a51b81888c",
"modified_time": "2026-08-27T02:57:56Z",
"id": "IN-MAL-2026-018773",
"import_time": "2026-08-27T03:55:25.656361842Z"
},
{
"versions": [
"1.2.6"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018763",
"modified_time": "2026-08-27T02:56:26Z",
"import_time": "2026-08-27T03:55:24.571260969Z",
"sha256": "f8b5be53b61c2ae06d4a66172c26669cc807001846bbf88224bbd957c7488b42"
},
{
"versions": [
"1.2.8"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018770",
"modified_time": "2026-08-27T02:57:28Z",
"import_time": "2026-08-27T03:55:25.330195125Z",
"sha256": "173cdaecb374d094253ee1f8790d6d40dfe0dc4218d8652fdc664da815e0c941"
},
{
"versions": [
"1.0.6"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018790",
"modified_time": "2026-08-27T03:00:32Z",
"import_time": "2026-08-27T03:55:27.925948686Z",
"sha256": "2f65eb831a23e5b0eb62eef828d5f25d17976bdd01ee7e17dedddfca7a838f93"
},
{
"versions": [
"1.2.4"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018764",
"modified_time": "2026-08-27T02:56:36Z",
"import_time": "2026-08-27T03:55:24.673205423Z",
"sha256": "4d10a5b00f4ed0fa58f7ebe6cdc1583e534627e70c4617b4aafefff7c68d5b2f"
},
{
"versions": [
"1.1.4"
],
"source": "amazon-inspector",
"sha256": "5e7a2ca526c7f9deace4feb45f5dc442de09b172cc41574480626b7462f28557",
"modified_time": "2026-08-27T02:57:10Z",
"import_time": "2026-08-27T03:55:25.095663139Z",
"id": "IN-MAL-2026-018768"
},
{
"versions": [
"1.1.3"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018787",
"modified_time": "2026-08-27T03:00:05Z",
"import_time": "2026-08-27T03:55:27.373034023Z",
"sha256": "a465f84af3276c24f0dd9a459b5f27a4b3c6aeecb48c9420b4a14a0d67f1c2d2"
},
{
"versions": [
"1.1.8"
],
"source": "amazon-inspector",
"sha256": "c4cb24f7d867a1dca2ee732d6ab864260d3059390fc67bd5f1b98577e15653c7",
"modified_time": "2026-08-27T02:59:31Z",
"import_time": "2026-08-27T03:55:26.934661795Z",
"id": "IN-MAL-2026-018783"
},
{
"versions": [
"1.2.9"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018769",
"modified_time": "2026-08-27T02:57:18Z",
"import_time": "2026-08-27T03:55:25.223285532Z",
"sha256": "ed5c97c2592394f1c492812f980d6ef03e72fcf2040dc37264cf863070cbd138"
},
{
"versions": [
"1.0.7"
],
"source": "amazon-inspector",
"sha256": "155e735ba183caa19716c325a507fa445e0600a0b74d579d2680b1a607528cea",
"modified_time": "2026-08-27T02:58:35Z",
"import_time": "2026-08-27T03:55:26.059081313Z",
"id": "IN-MAL-2026-018777"
},
{
"versions": [
"1.1.6"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018766",
"modified_time": "2026-08-27T02:56:53Z",
"import_time": "2026-08-27T03:55:24.901496348Z",
"sha256": "40466589d15ae378f3baec5e0c854f7031697c4b40991b45141fc71acef66251"
},
{
"versions": [
"1.1.5"
],
"source": "amazon-inspector",
"import_time": "2026-08-27T03:55:25.951066123Z",
"modified_time": "2026-08-27T02:58:21Z",
"sha256": "47bd73386af9c697caa632fbce598d1a9ae81d8f76d4417b40669e7e1b220a52",
"id": "IN-MAL-2026-018776"
},
{
"versions": [
"1.2.7"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018771",
"modified_time": "2026-08-27T02:57:36Z",
"import_time": "2026-08-27T03:55:25.461865112Z",
"sha256": "776fa63cde433e98fcdd71b48039878c57da439b202b3e63406c220a24194429"
},
{
"versions": [
"1.0.3"
],
"source": "amazon-inspector",
"import_time": "2026-08-27T03:55:26.319230777Z",
"modified_time": "2026-08-27T02:58:57Z",
"sha256": "811f9e1cd7ae8783785eb6f4753f7b0ed78feacb5efd9b3e3f6cdb3ee622b196",
"id": "IN-MAL-2026-018779"
},
{
"versions": [
"1.2.0"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-018772",
"modified_time": "2026-08-27T02:57:44Z",
"import_time": "2026-08-27T03:55:25.554272805Z",
"sha256": "93ffe2028589d3b08a1100ae91af8962f22d7f2db90ae9d5b97be1f11eedb514"
}
]
}{
"evidence_files": [
{
"tlsh": "3021566c2c1864c8d320f878bc0a3beea784e58a959422ddb49d351b32b02e4d59df38",
"sha256": "55200ae40044ac2a4cb2fe03b7dff1f3a7a6654d520ac7ac5c03f53c1ad6ee2c",
"path": "test/key.pem"
},
{
"tlsh": "824111b05dd6a0244971a7f15a269d11ea28d31332c1dda7bebc85c77f72c10826eedc",
"sha256": "695325a56a33611f7968d89258cc093a38118c04b3d870fe3512b382d7a53ed1",
"path": "index.js"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/self-certificates/MAL-2026-14543.json"
[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]