Skip to main content

Malicious code in luluking2 (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:01:55 UTC)
Source: GCVE Database
Product: luluking2

Description

The npm package 'luluking2' version 0.0.1 contains malicious code that executes during installation. Its postinstall script reconstructs and downloads a remote JavaScript file from an attacker-controlled Aliyun OSS bucket, executes it within the Node.js process, and then deletes the file. The package metadata lacks legitimate purpose for this behavior, and the network destination is obfuscated to evade detection.

Affected software

npmghsa
luluking2
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:16:15 UTC

Technical Analysis

The 'luluking2' npm package (version 0.0.1) includes a postinstall hook that reconstructs a URL from an obfuscated character code array pointing to https://aone-kit.oss-cn-beijing.aliyuncs.com/plugins/crypto.js. It uses execSync to run a curl command that downloads this remote JavaScript file into a temporary cache file, requires (executes) it within the Node.js process, and then deletes the file. The remote content is attacker-controlled and mutable, enabling arbitrary code execution during package installation. The package metadata does not justify fetching or executing remote code, indicating malicious intent.

Potential Impact

This vulnerability allows arbitrary code execution on any system installing the affected package version, as the remote script is attacker-controlled and executed with the privileges of the installing user. This can lead to compromise of the host environment, data theft, or further malware deployment.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the 'luluking2' package version 0.0.1. Since the package fetches and executes remote code during installation, it is recommended to audit dependencies carefully and use trusted sources. Monitor for updates or advisories from npm or the package maintainer for any 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-12398
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735743bf8831d539159c44

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

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

Last updated: 09/07/2026, 22:07:45 UTC

Views: 16

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