Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in react-native-ui-message (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:57:43 UTC)
Source: GCVE Database
Product: react-native-ui-message

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 is unexpected for a React Native UI component and allows remote code execution on the installer's machine.

Affected software

npmghsa
react-native-ui-message
Affected versions
=1.0.0

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

AILast updated: 08/05/2026, 17:20:45 UTC

Technical Analysis

The [email protected] package declares a postinstall hook that runs a script enumerating network interfaces to obtain the MAC address, which it sends along with OS and path information to a remote server. It then performs a GET request to fetch JavaScript code from the server and executes it using Node's vm.runInContext with access to require, process, and Buffer, enabling arbitrary code execution. The package's integrity check is ineffective, comparing a constant string against itself, thus not verifying the fetched code. This introduces a malicious remote code execution vector during package installation.

Potential Impact

An attacker controlling the remote server can execute arbitrary JavaScript code on the machine installing the package, potentially leading to full system compromise, data theft, or further malware installation. The malicious behavior occurs silently during installation, making it difficult to detect. This compromises the trustworthiness of the package and any projects depending on it.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing [email protected]. Verify package authenticity before installation and consider using trusted alternatives. Monitor for updates or advisories from the package maintainers or npm registry regarding remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12424
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735744bf8831d539159ca5

Added to database: 08/05/2026, 15:31:16 UTC

Last enriched: 08/05/2026, 17:20:45 UTC

Last updated: 08/05/2026, 17:20:45 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses