MAL-2026-14278 Malicious code in layer2-sdk (npm)
Malicious package
Published
MAL-2026-14278 is a malicious package: layer2-sdk (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-14278/ (Markdown: https://insights.sbomify.com/MAL-2026-14278/index.md)
- Package
- layer2-sdk
- Registry
- npm
What is MAL-2026-14278?
MAL-2026-14278 is a malicious package in layer2-sdk, published on 19 Aug 2026.
Official description
index.js line 75 decodes a base64-encoded string via Buffer.from(…, 'base64').toString('utf8') and passes the result to an evaluator, executing hidden code when the module is loaded. The obfuscated-and-exec'd blob pattern in a package presenting itself as a generic SDK is consistent with a supply-chain dropper: the actual behavior is concealed from casual inspection of the source and runs as a side effect of require()'ing the package. The package name suggests a blockchain/Layer-2 SDK, but the shipped code's only notable operation is decoding and executing an opaque payload.
What should I do about MAL-2026-14278?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.