Skip to main content

Malicious code in luluking3 (npm)

0
High
Published: 08/05/2026 (08/05/2026, 13:02:19 UTC)
Source: GCVE Database
Product: luluking3

Description

The npm package 'luluking3' version 0.0.1 contains malicious code that executes during installation. Its postinstall script reconstructs an obfuscated URL and shell command to download and execute a remote JavaScript file from a mutable third-party Aliyun OSS bucket controlled by the package publisher. This allows arbitrary code execution with the privileges of the user running 'npm install'. The obfuscation indicates an attempt to evade detection by static analysis tools.

Affected software

npmghsa
luluking3
Affected versions
=0.0.1

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:15:38 UTC

Technical Analysis

The 'luluking3' npm package (version 0.0.1) includes a postinstall hook that runs an obfuscated script. This script reconstructs a URL and shell command using character code arrays, then uses 'curl' to download a JavaScript file ('crypto.js') from a third-party Aliyun OSS bucket. The downloaded file is required and executed within the installer's Node.js process before being deleted. Since the remote bucket is mutable and controlled by the publisher, arbitrary attacker-supplied JavaScript can be executed with the privileges of the user running the installation. The obfuscation of both the URL and shell command suggests deliberate evasion of static inspection.

Potential Impact

This vulnerability allows arbitrary code execution during package installation, potentially leading to compromise of the user's environment with the same privileges as the user running 'npm install'. Because the remote code is fetched from a mutable third-party bucket controlled by the attacker, the payload can be changed at any time, increasing the risk and flexibility of exploitation.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing version 0.0.1 of the 'luluking3' package. Verify package integrity and source before installation. Consider using package auditing tools and restricting installation of untrusted packages. Monitor vendor advisories for updates or 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-12399
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735743bf8831d539159c3b

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

Last enriched: 08/05/2026, 17:15:38 UTC

Last updated: 09/09/2026, 23:52:30 UTC

Views: 17

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