Malicious code in luluking (npm)
The npm package 'luluking' version 0.0.1 contains malicious code that executes during installation. Its postinstall script reconstructs and executes a shell command to download and run a remote script from an attacker-controlled URL, enabling arbitrary code execution on the installer's machine. The malicious behavior is obfuscated using character code arrays to hide the URL and command from casual inspection.
AI Analysis
Technical Summary
The 'luluking' npm package version 0.0.1 includes a postinstall hook that runs index.js, which decodes a URL and shell command from character code arrays. It uses curl to download a remote JavaScript file from https://aone-kit.oss-cn-beijing.aliyuncs.com/plugins/crypto.js, then requires and executes this fetched code before deleting the file. This mechanism allows the package author to execute arbitrary code on any machine where the package is installed, with the payload controlled remotely and changeable at any time. The obfuscation technique conceals the malicious intent from casual code review.
Potential Impact
Installing the affected version of the 'luluking' package results in arbitrary code execution on the installer's system. This can lead to full compromise of the environment where the package is installed, as the attacker-controlled script can perform any actions permitted by the user's privileges. The remote script can be updated at any time, enabling dynamic and potentially evolving malicious behavior.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the 'luluking' package version 0.0.1. If already installed, remove the package and audit the system for potential compromise. Monitor for updates from the package maintainer or npm advisories for any official fixes or guidance. Exercise caution with packages that execute code during installation, especially those with obfuscated scripts.
Malicious code in luluking (npm)
Description
The npm package 'luluking' version 0.0.1 contains malicious code that executes during installation. Its postinstall script reconstructs and executes a shell command to download and run a remote script from an attacker-controlled URL, enabling arbitrary code execution on the installer's machine. The malicious behavior is obfuscated using character code arrays to hide the URL and command from casual inspection.
Affected software
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
Technical Analysis
The 'luluking' npm package version 0.0.1 includes a postinstall hook that runs index.js, which decodes a URL and shell command from character code arrays. It uses curl to download a remote JavaScript file from https://aone-kit.oss-cn-beijing.aliyuncs.com/plugins/crypto.js, then requires and executes this fetched code before deleting the file. This mechanism allows the package author to execute arbitrary code on any machine where the package is installed, with the payload controlled remotely and changeable at any time. The obfuscation technique conceals the malicious intent from casual code review.
Potential Impact
Installing the affected version of the 'luluking' package results in arbitrary code execution on the installer's system. This can lead to full compromise of the environment where the package is installed, as the attacker-controlled script can perform any actions permitted by the user's privileges. The remote script can be updated at any time, enabling dynamic and potentially evolving malicious behavior.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the 'luluking' package version 0.0.1. If already installed, remove the package and audit the system for potential compromise. Monitor for updates from the package maintainer or npm advisories for any official fixes or guidance. Exercise caution with packages that execute code during installation, especially those with obfuscated scripts.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12397
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735742bf8831d5391598de
Added to database: 08/05/2026, 15:31:14 UTC
Last enriched: 08/05/2026, 17:11:10 UTC
Last updated: 09/07/2026, 22:09:25 UTC
Views: 20
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.