@izumiswap/sdk
This report shows the evidence for @izumiswap/sdk@3.0.6. 4 of 4 known versions are blocked or flagged. See all versions.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-4396 confirms this npm version as malicious.
Advisory
MAL-2026-4396
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @izumiswap/sdk (npm)
Details
On `npm install`, scripts/postinstall.js runs as the preinstall/postinstall lifecycle hook and performs an unambiguous install-time RCE. It first collects installer-identifying metadata (process.platform, os.arch(), os.hostname(), os.userInfo().username, process.version, process.cwd()), base64-encodes it, and sends it as a query parameter to a hardcoded bare IP over plain HTTP (http://213.218.160.189:8080/s?q=<base64>). The destination URL is obfuscated via char-code array decoding (`[104,116,116,112,58,...].map(c=>String.fromCharCode(c)).join('')`) to evade static review. The HTTP response body is written to a file under the npm cache directory (~/.npm-cache/v-<ts>.js) and executed with `spawn(process.execPath, [_f], { detached: true })`, then deleted 60 seconds later to remove forensic evidence. The destination IP has no relationship to the package's claimed izumi.finance publisher; there is no TLS, no integrity check, and no version pinning. The package name `@izumiswap/sdk` also impersonates the legitimate iZiSwap SDK (`iziswap-sdk` from izumiFinance), targeting developers searching for the real SDK. Any installer running `npm install @izumiswap/sdk` executes attacker-controlled JavaScript with the full environment of the installing user.
## Source: ghsa-malware (bfe6dfe841c1d0cc615a5d93d813cb3a64edb47075ab36a65186d90a71281eb6) 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.
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 @izumiswap/sdk@3.0.6.
The same advisory and Firewall decision cover 4 recorded versions
3.0.3, 3.0.4, 3.0.5, 3.0.6
The versions list below shows the verdict for each recorded version.
- Avoid installing @izumiswap/sdk@3.0.6. 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.