Malicious Code Detected in @thiagoemmanuell/unhandledrejection Package - Version 1.0.0

Summary

22/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-2081: Malicious code in @thiagoemmanuell/unhandledrejection (npm). Affects @thiagoemmanuell/unhandledrejection versions 1.0.0. 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 @thiagoemmanuell/unhandledrejection package is an npm library designed to handle unhandled promise rejections in JavaScript applications. It aims to provide developers with a mechanism to catch and manage these errors effectively. However, the package has been identified as malicious due to its communication with a domain linked to harmful activities, posing significant risks to applications that utilize it.

Vulnerability Detail

The vulnerability stems from the malicious nature of the @thiagoemmanuell/unhandledrejection package, which has been flagged by the OpenSSF Package Analysis project. This package, specifically version 1.0.0, is known to communicate with a domain associated with malicious activities. The ramifications of using this package include potential data breaches, unauthorized access to sensitive information, and the risk of compromising the integrity of the application. Developers using this package should be aware of the severe security implications it poses.

How To Fix

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

npm uninstall @thiagoemmanuell/unhandledrejection

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 implement your own error handling for unhandled promise rejections without relying on this package. Here’s a simple example of how to do this in your application:

process.on('unhandledRejection', (reason, promise) => {
  console.error('Unhandled Rejection at:', promise, 'reason:', reason);
  // Application specific logging, throwing an error, or other logic here
});

Conclusion

The @thiagoemmanuell/unhandledrejection package has been flagged as malicious due to its communication with a harmful domain. It is crucial for developers to remove this package from their projects and implement alternative solutions to ensure the security and integrity of their applications.

See every vulnerability recorded for @thiagoemmanuell/unhandledrejection →

Share this vulnerability

FAQ

It is an npm package designed to handle unhandled promise rejections in JavaScript applications.

The package has been identified as malicious because it communicates with a domain associated with harmful activities.

Using this package can lead to data breaches, unauthorized access, and compromise the integrity of your application.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

You should uninstall the package immediately and consider using alternative libraries that provide similar functionality without the security risks.

How To Fix

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

npm uninstall @thiagoemmanuell/unhandledrejection

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