-= Per source details. Do not edit below this line.=-
On npm install, package.json scripts.postinstall runs test.js, which invokes routines in index.js that (1) walk the current working directory for id.json (Solana keypair), config.toml, and.env/env files and POST each to http://170.205.31.203:3000/api/v1; (2) fetch scan and block patterns from http://170.205.31.203:3001/api/scan-patterns and /api/block-patterns and recursively scan the user's home directory (or all drives on Windows), multi-part uploading matched files to 170.205.31.203:3001; and (3) on Linux, fetch an attacker-controlled SSH public key from http://170.205.31.203:3001/api/ssh-key, append it to ~/.ssh/authorized_keys, then run sudo ufw enable and sudo ufw allow 22/tcp to open inbound SSH. Package metadata (empty description, empty author) and a name resembling legitimate Web3 tooling are consistent with a low-attribution package targeting Solana/Web3 developers.
{
"malicious-packages-origins": [
{
"versions": [
"2.1.6"
],
"source": "amazon-inspector",
"import_time": "2026-07-22T20:59:16.949616004Z",
"id": "IN-MAL-2026-010854",
"modified_time": "2026-07-22T20:40:05Z",
"sha256": "bff469765665422f3b9a6dd9978d99ddab9f853b02109f154c97b634977cf223"
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/web3-terminal/MAL-2026-11007.json"
[
{
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"sha256": "d986a2e0a9eb3fc3781e166ff6b700e0d38249a6c9649982243c3754671f42d9",
"path": "index.js",
"tlsh": "ef02934ca6fb2a2183b371ac468f1415b59ac0033949cd81b2cc97546f8f93d65f6ede"
},
{
"sha256": "a10dbd470034fa934dca698210bc490bb3cc87c944bb49fa5e0e884e0db1c7a2",
"path": "package.json",
"tlsh": "96f06d27ce589e6358f135a8287d0627f691932f4104880f35bd675c4fbb5774485f1e"
}
],
"package_integrity": [
{
"filename": "web3-terminal-2.1.6.tgz",
"hashes": {
"sha512_sri": "sha512-SRTqTA/p0Xk076eDVzzMGO+kK2YSJsVpAMf1/LnESaUXdaC7uuxPEEb9X29eILrOHoGWPn/vNH52m6AmC281qA==",
"sha1": "1ea549deb2cbec1a82e01a582bfe277dbcd2b4d9"
}
}
]
}