@or-sdk/password@1.3.8
Malicious code in @or-sdk/password (npm)
T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1195.002 · Compromise Software Supply Chain
Analysis
The package runs a preinstall hook (node setup.mjs) that downloads the Bun runtime and uses it to execute a 727KB heavily-obfuscated bundled script (math_init.js) containing a custom string-array decoder. The package also depends on @or-sdk/sdk-api, a sibling package in the same namespace. Installing this package executes the large obfuscated payload at install time.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:58 AM
- analyzed
- Aug 4, 2026, 03:51 PM
Related advisories
- @or-sdk/base@0.44.6
- @or-sdk/sdk-api@0.29.4
- @or-sdk/providers@0.3.8
- @or-sdk/mcp-tools@0.5.4
- @or-sdk/source@2.1.7
- @onereach/expression-components@9.1.3
- @servicetitan/anvil-token@0.4.4
- @onereach/rwc-client@6.4.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.