Malicious code in react-native-ui-message (npm)
The npm package react-native-ui-message version 1.0.0 contains malicious code executed during installation. It collects the host's MAC address and other environment details, sends them to a remote server, then downloads and executes arbitrary JavaScript code from that server without proper integrity verification. This behavior effectively compromises any system installing the package, allowing remote code execution controlled by the attacker.
AI Analysis
Technical Summary
The [email protected] package declares a postinstall hook that runs a script enumerating network interfaces to obtain the host's MAC address and sends this data along with OS and path information to a remote server. It then fetches JavaScript code from the server and executes it in a Node.js VM context with access to require, process, and Buffer, enabling arbitrary code execution on the installer's machine. The package falsely claims to be a simple React Native UI component and does not perform any meaningful integrity checks on the downloaded code, making the system fully compromised upon installation.
Potential Impact
Systems that install [email protected] are fully compromised due to arbitrary remote code execution during package installation. Attackers gain full control over the affected machine, potentially accessing all stored secrets and keys. Removal of the package does not guarantee elimination of all malicious artifacts, as the attacker may have established persistent control.
Mitigation Recommendations
Remove the react-native-ui-message package immediately from all systems. Rotate all secrets and keys that were stored or accessible on affected machines from a secure, uncompromised environment. Due to the severity and nature of the compromise, consider rebuilding affected systems to ensure complete removal of malicious code. No official patch or fix is available; avoid using this package entirely.
Malicious code in react-native-ui-message (npm)
Description
The npm package react-native-ui-message version 1.0.0 contains malicious code executed during installation. It collects the host's MAC address and other environment details, sends them to a remote server, then downloads and executes arbitrary JavaScript code from that server without proper integrity verification. This behavior effectively compromises any system installing the package, allowing remote code execution controlled by the attacker.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The [email protected] package declares a postinstall hook that runs a script enumerating network interfaces to obtain the host's MAC address and sends this data along with OS and path information to a remote server. It then fetches JavaScript code from the server and executes it in a Node.js VM context with access to require, process, and Buffer, enabling arbitrary code execution on the installer's machine. The package falsely claims to be a simple React Native UI component and does not perform any meaningful integrity checks on the downloaded code, making the system fully compromised upon installation.
Potential Impact
Systems that install [email protected] are fully compromised due to arbitrary remote code execution during package installation. Attackers gain full control over the affected machine, potentially accessing all stored secrets and keys. Removal of the package does not guarantee elimination of all malicious artifacts, as the attacker may have established persistent control.
Mitigation Recommendations
Remove the react-native-ui-message package immediately from all systems. Rotate all secrets and keys that were stored or accessible on affected machines from a secure, uncompromised environment. Due to the severity and nature of the compromise, consider rebuilding affected systems to ensure complete removal of malicious code. No official patch or fix is available; avoid using this package entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12424
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735744bf8831d539159ca5
Added to database: 08/05/2026, 15:31:16 UTC
Last enriched: 08/21/2026, 16:29:05 UTC
Last updated: 09/07/2026, 22:25:54 UTC
Views: 19
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.