Malicious code in pflag29424 (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d9b974c9d8555f026dfc5556c4f628d366fbaedca83eab549559fe95fc984602) index.js (the package's declared main) unconditionally executes on module load: it calls fetch('/profile'), scans the response for a DGA{...} token, and sends either the matched token or the first 300 characters of the response as a query parameter to a hardcoded anonymous collector at https://webhook.site/42c6d937-77c7-42a5-8678-ef06b4501e38. The package has no README, no documented purpose, and a generic throwaway name; the sole effect of loading it is to relay content from the loading context to an attacker-controlled webhook.site endpoint. ## Source: ghsa-malware (cd211e848e5775cbc33c73e1f7a6a83bf8b42418e22b32479ba479fdd3430e85) 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-16342
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-16342
pflag29424
Source reference: /affected/0/package/name
- Affected versions
- 1.0.0
Source 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": "pflag29424",
"purl": "pkg:npm/pflag29424",
"ecosystem": "npm"
},
"versions": [
"1.0.0"
],
"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/pflag29424/MAL-2026-16342.json",
"indicators": {
"evidence_files": [
{
"path": "index.js",
"tlsh": "d6d02223020c8842157ad008b66df00ddd0aeb02ec6ee26ec2028f381b220649c023a6",
"sha256": "a6d0bf00ec30b9d39a51b5fbc799a3aea7fe3062ae31c58958162767ea9c2fa6"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "f3258985cf2fb301b254fd597687d94fad587a4d",
"sha512_sri": "sha512-4Tud+3+fnomrJ+Zhj2JP+wz6OYDuzsMcGj1n0fysmqTfJj/D9QRdojWzBW7TapYk03jC258mqOcUYhz8SwdFsg=="
},
"filename": "pflag29424-1.0.0.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #59042 · Revision 1
- Added to Heist Feed
- Publisher date