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 @hoteldev/common (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:34:06 UTC)
Source: GCVE Database
Product: @hoteldev/common

Description

The npm package @hoteldev/common version 1.0.9 contains malicious code that executes hidden commands on any system importing the package. The malicious loader decodes an Ethereum blockchain transaction to determine a command-and-control (C2) server IP address, then fetches and decrypts payloads from this server. These payloads are executed as detached Node.js processes, enabling arbitrary code execution on the victim's machine. The C2 address can be dynamically changed by the attacker via new Ethereum transactions, making detection and mitigation more difficult.

Affected software

npmghsa
@hoteldev/common
Affected versions
=1.0.9

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:37:24 UTC

Technical Analysis

The @hoteldev/common npm package version 1.0.9 includes obfuscated malicious code that appends an eval(atob(...)) block to the module exports. This block acts as a loader that queries the Ethereum blockchain for a transaction linked to a specific wallet address to derive a C2 server IP. It then sends HTTP requests with encoded headers to this server, XOR-decrypts the responses, and executes the resulting code as detached Node.js processes. The malicious strings are encoded as Unicode escapes to evade casual code review. This behavior triggers on any import or require of the package, allowing the attacker to run arbitrary code on the host system stealthily.

Potential Impact

This malicious package enables an attacker to achieve arbitrary, hidden, and detached code execution on any machine that installs and imports @hoteldev/common version 1.0.9. The attacker can rotate the C2 server address dynamically via Ethereum transactions, complicating detection and response. This poses a severe risk of system compromise, data theft, or further malware deployment.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove and avoid installing version 1.0.9 of @hoteldev/common. Audit existing environments for this package and replace it with trusted alternatives. Monitor for suspicious Node.js processes spawned detached from normal workflows. Check vendor advisories or npm security advisories for updates or official fixes.

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-12318
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735747bf8831d53915a0b2

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

Last enriched: 08/05/2026, 17:37:24 UTC

Last updated: 08/05/2026, 17:37:24 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