@shiftmarkets/shift-exchange-root
This report shows the evidence for @shiftmarkets/shift-exchange-root@3.9.9. 3 of 3 known versions are blocked or flagged. See all versions.
OpenSSF/OSV Malicious Advisory
imported 3mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-12509 confirms this npm version as malicious.
Advisory
MAL-2026-12509
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @shiftmarkets/shift-exchange-root (npm)
Details
On npm install, the package's postinstall hook (scripts.postinstall: 'node dist/recon.js || true') automatically runs dist/recon.js, which collects the installer's hostname, username, SUDO_USER, home directory, current working directory, internal IPv4 addresses for each network interface, DNS domain (via execSync of dnsdomainname), the full sorted list of process.env variable names, CI indicators, and the npm user-agent/cache, and POSTs this JSON payload to http://138.68.108.20:80/cb over cleartext HTTP. The env-var name list is additionally filtered by a credential regex (AWS|GCP|GOOGLE|AZURE|NPM|NODE_AUTH|DOCKER|KUBE|VAULT|TOKEN|SECRET|KEY|PASS|CRED|GITHUB|GITLAB|SSH) and shipped as a separate credential-shaped-name inventory. The destination is a bare IP unaffiliated with the @shiftmarkets scope's publisher, contacted over plain HTTP. The package's main entry (dist/index.js) exports only trivial math helpers (sum/subtract/multiply/divide) that do not match the @shiftmarkets/shift-exchange-root name, and a header comment in the recon script labels the collection as 'NON-SENSITIVE telemetry only... env var NAMES (never values)' — a cover story that contradicts the actual collection of host identity, internal network topology, sudo user, and credential-shaped env key inventory.
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to @shiftmarkets/shift-exchange-root@3.9.9.
The same advisory and Firewall decision cover 3 recorded versions
1.9.9, 2.9.9, 3.9.9
The versions list below shows the verdict for each recorded version.
- Avoid installing @shiftmarkets/shift-exchange-root@3.9.9. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.