MAL-2025-6829 Malicious code in tensorflowjs (npm)

Malicious package Published
Package
tensorflowjs
Registry
npm

What is MAL-2025-6829?

MAL-2025-6829 is a malicious package in tensorflowjs, published on 12 Aug 2025.

Official description

Package is malicious due to code obfuscation, arbitrary command execution via child_process.spawn, and suspicious postinstall script.

What should I do about MAL-2025-6829?

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

Sources

Also known as SNYK-JS-TENSORFLOWJS-12670374.

Is MAL-2025-6829 in your software?

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

Check your SBOMs for free