Critical Malicious Code Vulnerability in @trigo/atrix-pubsub Package
Summary
MAL-2025-190828: Malicious code in @trigo/atrix-pubsub (npm). Affects @trigo/atrix-pubsub versions 4.0.3. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The @trigo/atrix-pubsub package is an npm library designed for pub/sub messaging in applications. It facilitates communication between different components of a system, allowing for efficient data exchange. However, this package has been identified as containing malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @trigo/atrix-pubsub package. This code can compromise the entire system where the package is installed, allowing unauthorized access to sensitive information, including secrets and keys. The malicious nature of this code means that any computer running this package should be considered fully compromised, with potential ramifications including data theft and unauthorized control over the system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @trigo/atrix-pubsub
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
There are no effective workarounds for this vulnerability other than removing the package and securing the system. Ensure that all sensitive information is rotated and that the system is monitored for any unauthorized access.
Conclusion
The @trigo/atrix-pubsub package has been identified as containing malicious code that poses a severe security risk. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for @trigo/atrix-pubsub →
FAQ
Immediately remove the package from your system and rotate any secrets or keys stored on that machine.
If you have the @trigo/atrix-pubsub package installed, consider your system compromised. Monitor for unusual activity and secure your sensitive information.
No, the only solution is to remove the package entirely and secure your system.
Yes, 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.
Failing to address this vulnerability can lead to unauthorized access to your system, data theft, and potential control by malicious actors.