MAL-2026-14562 Malicious code in morglog (npm)

Malicious package Published
Package
morglog
Registry
npm

What is MAL-2026-14562?

MAL-2026-14562 is a malicious package in morglog, published on 27 Aug 2026.

Official description

[email protected] is published under a name resembling the popular morgan HTTP logger and reuses morgan's description. The tarball ships only LICENSE, README.md, and index.js. index.js requires an undeclared-in-morgan dependency module-relpath and, inside the exported factory, calls modshift('logo.png', morglog, size) — passing the module object and a caller-supplied argument to that opaque helper. Immediately after, index.js executes var logo = require('./public/log'), but ./public/log is not present in the shipped files list, so the require would normally fail unless module-relpath's prior call materializes or intercepts that module. Consumers who install morglog as a morgan replacement and call app.use(morglog()) therefore load and execute whatever code module-relpath provides in the host Node.js process.

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-14562?

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

Sources

Also known as GHSA-v899-gp96-p5rv.

Is MAL-2026-14562 in your software?

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

Check your SBOMs for free