@or-sdk/sku-builder@2.5.3
Malicious code in @or-sdk/sku-builder (npm)
T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or InformationT1195.002 · Compromise Software Supply Chain
Analysis
The package's preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun and uses it to execute a bundled 727KB obfuscated script (math_init.js) that decodes its logic from a large encoded string array via a custom decoder. The package also declares a dependency on @or-sdk/base, a package in the same namespace that is independently known to be malicious. Installing this package executes the obfuscated payload at install time; its decoded behaviour is not visible in the shipped source.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:57 AM
- analyzed
- Aug 4, 2026, 05:41 PM
- weekly installs
- 1,391
Related advisories
- @or-sdk/base@0.44.6
- @or-sdk/sdk-api@0.29.4
- @or-sdk/providers@0.3.8
- @or-sdk/account-settings@1.3.8
- @or-sdk/notifications@1.7.7
- @or-sdk/queue-manager@1.4.8
- @or-sdk/library-categories@0.2.8
- @or-sdk/content-request@0.2.8
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.