Malicious code in kalasnik-npm-simple-test (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f1463688412306d5d6f791bb036bea59aeb7251a3044a52c57119768f27cd463) The package's postinstall script send_data.js runs automatically on npm install. It reads C:\temp\test.txt from the installer's filesystem and POSTs the contents over plain HTTP to a hardcoded remote endpoint at 35.178.197.251:8080. Package metadata ("Simplified test", author "Purple", UNLICENSED) is consistent with a PoC exfiltration harness rather than a legitimate library. ## Source: ghsa-malware (892887d57c2d036af7c30a0a27995006f042229dd0959c7653a5560054277cbe) 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-17206
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-17206
kalasnik-npm-simple-test
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": "kalasnik-npm-simple-test",
"purl": "pkg:npm/kalasnik-npm-simple-test",
"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/kalasnik-npm-simple-test/MAL-2026-17206.json",
"indicators": {
"evidence_files": [
{
"path": "send_data.js",
"tlsh": "4a2116a649d613500ab9c7f859121537f301d537b006cb85796c01bd1ff25a044e2ffc",
"sha256": "bf6afc3714f6f6338ec4bb0de18f427e94e5d484d99519843e7b43689602c4fe"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #23575 · Revision 1
- Added to Heist Feed
- Publisher date