MAL-2026-1040 Malicious code in react-markdown-canvas (npm)

Malicious package Published
Package
react-markdown-canvas
Registry
npm

What is MAL-2026-1040?

MAL-2026-1040 is a malicious package in react-markdown-canvas, published on 23 Feb 2026.

Official description

Malicious package due to data exfiltration via Discord webhook on install. Collects IP, hostname, and date without consent.

The package react-markdown-canvas was found to contain malicious code.

The OpenSSF Package Analysis project identified 'react-markdown-canvas' @ 1001.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

What should I do about MAL-2026-1040?

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

Sources

Is MAL-2026-1040 in your software?

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

Check your SBOMs for free