Skip to main content

Malicious code in raectjs (npm)

0
Critical
Published: 08/18/2026 (08/18/2026, 23:59:57 UTC)
Source: GCVE Database
Product: raectjs

Description

The npm package 'raectjs' version 1.0.0 contains malicious code in its postinstall script. This script exfiltrates system information to a hardcoded IP address and downloads a malicious executable from an attacker-controlled GitHub repository. The executable is saved and executed on the victim's machine without verification. The package masquerades as a legitimate addon but contains no genuine source code and serves solely to deliver this malicious payload.

Affected software

npmghsa
raectjs
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/19/2026, 14:47:36 UTC

Technical Analysis

The 'raectjs' npm package version 1.0.0 includes a postinstall.js script that performs two malicious actions: it sends a JSON snapshot of the platform to a hardcoded IP address (http://193.70.34.101:20099/vote) using an obfuscated hostname, and it XOR-decodes an embedded payload URL to download a Windows executable from a GitHub releases page under an attacker-controlled account. This executable is saved to the temporary directory and executed silently. On WSL or virtualized Linux environments, the script decodes and runs a PowerShell bridge to execute the payload on the Windows host. The package has no legitimate functionality and lacks any native source code consistent with a real addon. There is no integrity verification of the downloaded binary.

Potential Impact

Systems that install this package version risk executing attacker-controlled code, potentially leading to system compromise. The malicious postinstall script exfiltrates system information and silently runs a downloaded executable without validation, which could facilitate further malicious activities. The lack of signature or hash verification increases the risk of arbitrary code execution.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the 'raectjs' package version 1.0.0. Remove any installations of this package and scan affected systems for the presence of the downloaded payload. Monitor for network connections to the hardcoded IP address and GitHub URLs mentioned. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

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-14187
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a85b4caacd9273b49252ba3

Added to database: 08/19/2026, 13:51:06 UTC

Last enriched: 08/19/2026, 14:47:36 UTC

Last updated: 10/02/2026, 13:52:47 UTC

Views: 25

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