MAL-2026-6993 Malicious code in bytefaas-sdk (npm)
Malicious package
Published
MAL-2026-6993 is a malicious package: bytefaas-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-6993/ (Markdown: https://insights.sbomify.com/MAL-2026-6993/index.md)
- Package
- bytefaas-sdk
- Registry
- npm
What is MAL-2026-6993?
MAL-2026-6993 is a malicious package in bytefaas-sdk, published on 8 Jul 2026.
Official description
Package published at version 9999.0.0 under the name
bytefaas-sdk, the canonical dependency-confusion shape used to shadow a private internal package of the same name. package.json declares a preinstall hook that runs callback.js. On any npm install, callback.js collects the installer's os.hostname(), os.userInfo().username, platform, and cwd and transmits them to a third-party Interactsh (oast.fun) endpoint via both a DNS lookup (encoded subdomain) and an HTTPS POST. The HTTPS request sets rejectUnauthorized: false, disabling TLS certificate verification on the beacon. The package's README self-describes as a bug-bounty canary against TikTok's internal build systems, but the exfiltration fires unconditionally against any installer whose resolver picks up this public 9999.0.0 release — including unrelated organizations and CI systems. Cover-story framing does not change that non-consenting installers' host identifiers leak to a third-party server.What should I do about MAL-2026-6993?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.