Malicious code in jexkcode (npm)
Versions 1.0.1 through 1.1.4 of jexkcode automatically follow a hard-coded WhatsApp newsletter whenever a WhatsApp connection opens. The package waits three seconds and calls newsletterFollow without obtaining user consent or exposing a configuration option. The README advertises newsletter support but does not disclose this automatic account modification. Versions through 1.1.1 used a malformed newsletter JID; version 1.1.2 corrected it. Subsequent commits removed both failure and success logs, so version 1.1.4 performs the automatic follow without visible output. This behavior is unrelated to the package's stated functionality and modifies the user's WhatsApp account without authorization. --- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (8f980863fb53dc94d2a73765b57ce8f4224675d722d63f3a9381eb8044415072) 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.
MAL-2026-16220
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:MAL-2026-16220
jexkcode
Source reference: /affected/0/package/name
- Affected versions
- 1.0.1
Source reference:
/affected/0/versions1.1.0Source reference:
/affected/0/versions1.1.1Source reference:
/affected/0/versions1.1.2Source reference:
/affected/0/versions1.1.3Source reference:
/affected/0/versions1.1.4Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jexkcode",
"purl": "pkg:npm/jexkcode",
"ecosystem": "npm"
},
"versions": [
"1.0.1",
"1.1.0",
"1.1.1",
"1.1.2",
"1.1.3",
"1.1.4"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/jexkcode/MAL-2026-16220.json"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #36995 · Revision 1
- Added to Heist Feed
- Publisher date