-= Per source details. Do not edit below this line.=-
shift-sdk-v5@5.0.1 registers a postinstall script that runs dist/recon.js on npm install. The script collects hostname, username, SUDO_USER, home directory, working directory, internal network interface addresses, DNS domain (via dnsdomainname), CI provider indicators, the full list of environment variable names, and a filtered subset of environment variable names matching AWS, GCP, AZURE, NPM, TOKEN, SECRET, KEY, PASS, CRED, GITHUB, GITLAB, and SSH patterns. The collected data is POSTed over plain HTTP to the hardcoded bare IP 138.68.108.20 at path /cb. The package's main file self-identifies as @shiftforex/shift-sdk-v4 — trading API client (scoped build) while being published unscoped as shift-sdk-v5, impersonating the legitimate scoped SDK to attract installs. A NON-SENSITIVE telemetry comment accompanies code that explicitly enumerates sudo state, internal IPs, CI context, and credential-shaped env var names — pre-attack host and credential-surface fingerprinting against installer/CI environments.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-014826",
"import_time": "2026-08-05T13:08:49.493697519Z",
"modified_time": "2026-08-05T12:57:51Z",
"sha256": "2aca555e012d36b30d9ffe3d0f8acdca7ba67298a87ea02ea9d32731e8f2a748",
"source": "amazon-inspector",
"versions": [
"5.0.1"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "dist/recon.js",
"sha256": "cf516a4fddaeeec18aa158b24503fb532cb928411b6720ee31516e9b00510057",
"tlsh": "0c51845612b92532229256a9366b10013233f0273f85f9d8bddc13611fcd42d41f6bed"
},
{
"path": "dist/index.js",
"sha256": "5fb9be0f0e3d505fe63c61660e383aaf2694255ee9623ac6cf8e0da823c67db8",
"tlsh": "b521408961b3317055f3bfae8a9644517a60b41764cfac047acc82ed8f09a1c48a6da9"
}
],
"package_integrity": [
{
"filename": "shift-sdk-v5-5.0.1.tgz",
"hashes": {
"sha1": "a511b0c585ee5fc8f7a86d2f3b91e1805b22bdba",
"sha512_sri": "sha512-eOAsGYlRHuxHKYwUNd6dVa5NA5VQ7T21GVRR4VdVZb9MZzebi9N0fekp+bziohucBPLgsCmnTl9jGECoxr7AFA=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/shift-sdk-v5/MAL-2026-12436.json"