Malicious Code Detected in fbrain Package - Security Alert

fbrain Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-20279: Malicious code in fbrain (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The fbrain package is an npm library designed for various functionalities, potentially including data processing or machine learning tasks. However, it has been identified as containing malicious code, which poses significant security risks to applications that utilize this package. Users of fbrain should be aware of the potential for data breaches or unauthorized access due to this vulnerability.

Vulnerability Detail

The vulnerability in the fbrain package stems from the inclusion of malicious code, which can compromise the security of applications that depend on it. This issue was introduced in version 0 and affects all subsequent versions. The ramifications of this vulnerability include potential data theft, unauthorized access to sensitive information, and the possibility of the package being used for malicious purposes. It is crucial for developers to understand that using compromised packages can lead to severe security incidents.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall fbrain

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If an immediate update is not possible, consider removing the fbrain package from your project until a secure version is released. You can do this by running: npm uninstall fbrain. Additionally, monitor your application for any unusual activity that may arise from the use of this package.

Conclusion

The fbrain package has been flagged for containing malicious code, posing a significant security threat to applications that utilize it. It is imperative for developers to take immediate action by updating or removing the package to safeguard their applications. Regular monitoring and using tools like Vulert can help in identifying such vulnerabilities in the future.

See every vulnerability recorded for fbrain →

Share this vulnerability

FAQ

fbrain is an npm package that provides various functionalities, but it has been found to contain malicious code.

The malicious code in the fbrain package was identified through security assessments conducted by Amazon Inspector.

Using the fbrain package can lead to data breaches, unauthorized access, and potential exploitation of your application.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

If you cannot update the fbrain package right away, consider uninstalling it and monitoring your application for any suspicious activity.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall fbrain

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback