Malicious code in serpacksven2 (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (668c23a809283c521b8cee159ca2f57515729e664029b4fa63c1e1fbef1bd9fc) The tarball ships ten identical files with misleading extensions (1.png, client.doc, json.txt, server.doc, for.you.doc,.txt,.txt.1,.txt.2, and an extensionless 'client'), all sharing the same SHA-256 and all containing the same PowerShell script. The script hides its console window and moves it off-screen via SetWindowPos, concatenates roughly 150 base64 chunks, XOR-decodes them, and passes the resulting bytes to System.Reflection.Assembly.Load().Invoke — an in-memory.NET assembly loader characteristic of RAT/stealer stagers. The package has no index.js, no main entry, and no lifecycle scripts, so `npm install` and `require()` do not themselves run the loader; the package exists purely to deliver and disguise the staged PowerShell/.NET payload for later execution on the host. ## Source: ghsa-malware (698338a866ac3c7c579c999f0c37c7aa2508fef1ffe1d1679d83e71d79fc0145) 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-17627
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-17627
serpacksven2
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": "serpacksven2",
"purl": "pkg:npm/serpacksven2",
"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/serpacksven2/MAL-2026-17627.json",
"indicators": {
"evidence_files": [
{
"path": "client",
"tlsh": "74a2af3c916097feec69e74549a3940a65257cf2c4a42c072f1ace6f54a7ec4ecbc18b",
"sha256": "e9dff49447937f8225a73dc235e067de051240d89523b6846813f7a2cd21a8fa"
},
{
"path": "1.png",
"tlsh": "74a2af3c916097feec69e74549a3940a65257cf2c4a42c072f1ace6f54a7ec4ecbc18b",
"sha256": "e9dff49447937f8225a73dc235e067de051240d89523b6846813f7a2cd21a8fa"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #86380 · Revision 1
- Added to Heist Feed
- Publisher date