mal-2026-3260
Vulnerability from ossf_malicious_packages
Dependency confusion and typosquatting campaign by threat actor "saif777". Packages use inflated version numbers (9999.9999.9999, 9999.9999.10000, 50.50.50, 7.66.5) to win version resolution in environments with private registries. All active packages execute a postinstall hook ("node index.js") that collects a system fingerprint — public IP (via api.ipify.org), username, hostname, CPU model, RAM, working directory, OS platform — and exfiltrates it as a Discord embed to a shared webhook (base64-obfuscated in source). Payloads include sandbox/bot detection: machines with ≤1 CPU or <2 GB RAM are flagged as sandbox/CI; real machines trigger a green embed. Typosquats the official @google-cloud/storage package. After exfiltrating system data the payload attempts to silently proxy to the legitimate @google-cloud/storage library (if installed) to avoid detection and maintain normal application behaviour.
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (ba2c5a4da41b19b5e8f9f9e442d425a3d5dd6b5af23d103bb2448fd2298ce0bc)
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.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
},
"package": {
"ecosystem": "npm",
"name": "google-storage-cloud"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"12.5.0"
]
}
],
"aliases": [
"GHSA-qpwh-x85m-v7j9"
],
"credits": [
{
"contact": [
"https://safedep.io"
],
"name": "SafeDep",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "GHSA-qpwh-x85m-v7j9",
"import_time": "2026-05-05T15:54:22.837640211Z",
"modified_time": "2026-05-05T15:33:36Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "ba2c5a4da41b19b5e8f9f9e442d425a3d5dd6b5af23d103bb2448fd2298ce0bc",
"source": "ghsa-malware"
}
]
},
"details": "Dependency confusion and typosquatting campaign by threat actor \"saif777\". Packages use inflated version numbers (9999.9999.9999, 9999.9999.10000, 50.50.50, 7.66.5) to win version resolution in environments with private registries. All active packages execute a postinstall hook (\"node index.js\") that collects a system fingerprint \u2014 public IP (via api.ipify.org), username, hostname, CPU model, RAM, working directory, OS platform \u2014 and exfiltrates it as a Discord embed to a shared webhook (base64-obfuscated in source). Payloads include sandbox/bot detection: machines with \u22641 CPU or \u003c2 GB RAM are flagged as sandbox/CI; real machines trigger a green embed. Typosquats the official @google-cloud/storage package. After exfiltrating system data the payload attempts to silently proxy to the legitimate @google-cloud/storage library (if installed) to avoid detection and maintain normal application behaviour.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (ba2c5a4da41b19b5e8f9f9e442d425a3d5dd6b5af23d103bb2448fd2298ce0bc)\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",
"id": "MAL-2026-3260",
"modified": "2026-05-05T15:56:13Z",
"published": "2026-04-29T14:00:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-qpwh-x85m-v7j9"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in google-storage-cloud (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.