MAL-2026-11270 Malicious code in create-backend-scaffold (npm)

Malicious package Published
Package
create-backend-scaffold
Registry
npm

What is MAL-2026-11270?

MAL-2026-11270 is a malicious package in create-backend-scaffold, published on 30 Jul 2026.

Official description

playground/src/routes/auth.routes.js contains an obfuscated trailer appended after the normal router export. The trailer aliases require/module to globals, then uses a custom seeded-PRNG string-shuffle routine (JFG) to deterministically reconstruct the identifier 'constructor' from a scrambled alphabet, obtains the Function constructor by that indirection, decodes a hidden string payload, and invokes it as JavaScript at module load. The file is imported by src/app.js, which is loaded by the package's shipped server.js, so running the shipped server (e.g. node server.js or npm run dev) executes the hidden payload. The obfuscation technique (arithmetic-PRNG string permutation to hide 'constructor' and the Function body) is designed to evade static keyword matching. The tarball additionally ships a.env file containing a live MongoDB Atlas connection URI for the author's own cluster (author-owned credential leak, separate from the payload behavior).

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

What should I do about MAL-2026-11270?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Also known as GHSA-p8mm-7vhx-3cr2.

Is MAL-2026-11270 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free