-= Per source details. Do not edit below this line.=-
Package ships a postinstall lifecycle hook (node run.js) that runs automatically on npm install. The executed script imports os, https, http, and child_process, reads host identifiers via os.hostname() and os.platform(), and issues outbound HTTP/HTTPS POST requests. This combination — install-time auto-execution + host-identity collection + outbound POSTs + child_process — is the canonical install-time host-beacon / dropper shape. The package name (string-tools-be6c) is a generic-name + random-hex-suffix pattern characteristic of throwaway supply-chain attack publications with no legitimate utility matching the observed runtime behavior.
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.
{
"malicious-packages-origins": [
{
"sha256": "c725b56cc7e80c178e8d0fca3eceb069e811b979427b6ec99deab6b6f6cab8f7",
"source": "amazon-inspector",
"modified_time": "2026-06-18T03:58:37Z",
"versions": [
"1.0.0"
],
"id": "IN-MAL-2026-006965",
"import_time": "2026-06-18T05:42:05.008906646Z"
},
{
"sha256": "c3354cd2bf560462cd49d85f56db444163db078aba1c0b9b2e468cb0a123a29c",
"source": "ghsa-malware",
"modified_time": "2026-06-18T03:28:03Z",
"id": "GHSA-93cp-5ff7-p9m5",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"import_time": "2026-06-18T05:54:18.956233329Z"
}
]
}[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/string-tools-be6c/MAL-2026-6100.json"
{
"evidence_files": [
{
"sha256": "4aac2623b2bf63e620dc080a6d8d3ed38ed6b0baf135f90d5cf45673c9261737",
"tlsh": "0ee0611ccc30393339c01aa80c519257a7308f1b30143d6d93b7242942abb35757b20d",
"path": "package.json"
},
{
"sha256": "f9482c56918b6acd025dd0450c257ee5663b25d9f6a980421fd0c6fc91cbc07c",
"tlsh": "8762d87618fb162939a3e5ada75f60012516f1037202d8e4bb8cb3419fcf52456e2bfd",
"path": "run.js"
}
]
}