Malicious Code Detected in @modals/blockchain Package - Critical Vulnerability Alert

@modals/blockchain Updated 22 Mar 2026

Summary

21/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-2018: Malicious code in @modals/blockchain (npm). Affects @modals/blockchain versions 99999.0.0 – 99999.0.1. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @modals/blockchain package is an npm library designed for blockchain-related functionalities. It is utilized in various applications to facilitate interactions with blockchain networks. However, this package has been flagged for malicious behavior, raising significant security concerns for developers and users relying on its functionality.

Vulnerability Detail

The vulnerability originates from the @modals/blockchain package version 99999.0.1, which has been identified as malicious by the OpenSSF Package Analysis project. This package communicates with a domain known for malicious activities and executes commands that are associated with harmful behavior. The ramifications of using this package include potential data breaches, unauthorized access to sensitive information, and compromise of the host application.

How To Fix

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

npm uninstall @modals/blockchain

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

As a temporary workaround, you can avoid using the @modals/blockchain package altogether and explore alternative libraries that provide similar functionalities without the associated risks. Review your application's dependencies and remove any references to this package.

Conclusion

The @modals/blockchain package has been identified as malicious, posing significant risks to applications that utilize it. Developers are urged to remove this package and seek alternatives to safeguard their applications. Continuous monitoring and timely updates are crucial in maintaining application security.

See every vulnerability recorded for @modals/blockchain →

Share this vulnerability

FAQ

The package communicates with a domain linked to malicious activities and executes harmful commands.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.

Immediately remove the @modals/blockchain package from your project and consider using a secure alternative.

Yes, there are several other npm packages available that offer similar blockchain functionalities without the associated risks. Research and select a reputable package.

Regularly check for updates in your dependencies and utilize tools like Vulert to monitor for vulnerabilities in real-time.

How To Fix

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

npm uninstall @modals/blockchain

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