MAL-2026-6598: Malicious code in @sailing-package/core (npm)
The npm package @sailing-package/core is identified as purpose-built malware that exfiltrates host information and environment secrets during installation. It executes as a postinstall hook, collecting sensitive data such as hostname, username, platform, Node version, IP addresses, and environment variables, which often include tokens and keys. The stolen data is sent to an attacker-controlled Feishu/Lark webhook endpoint using obfuscated encoding methods. The malware includes extensive anti-analysis checks to evade detection in sandbox or CI environments and exits silently if such conditions are detected.
AI Analysis
Technical Summary
The @sailing-package/core npm package contains malicious code that activates during the npm install process via an obfuscated postinstall hook. After a randomized delay, it gathers detailed host information and dumps the entire environment variables, which may include sensitive credentials. This data is exfiltrated to a concealed command-and-control server hosted on open.feishu.cn, formatted as a Feishu/Lark bot message. The malware employs multiple layers of obfuscation, including character code transformations and XOR encoding, to hide the exfiltration endpoint and evade detection. It also performs numerous anti-analysis checks targeting honeypot tokens, sandbox environment variables, CI environment indicators, and suspicious hostnames or usernames, terminating execution silently if detected. No patch or remediation is provided, and no affected versions are explicitly stated.
Potential Impact
This malware compromises the confidentiality of host and environment information by exfiltrating potentially sensitive data such as AWS keys, tokens, and other secrets from development and CI environments. The exposure of these secrets can lead to unauthorized access to cloud resources, code repositories, and other critical infrastructure. The obfuscation and anti-analysis features increase the difficulty of detection and mitigation.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The primary mitigation is to avoid installing or using the @sailing-package/core npm package. Security teams should audit dependencies for this package and remove it if found. Monitoring for unexpected network connections to Feishu/Lark webhook URLs and scanning for obfuscated postinstall scripts in npm packages may help detect similar threats. Since this is a malicious package, standard patching does not apply; prevention through supply chain security and dependency vetting is critical.
MAL-2026-6598: Malicious code in @sailing-package/core (npm)
Description
The npm package @sailing-package/core is identified as purpose-built malware that exfiltrates host information and environment secrets during installation. It executes as a postinstall hook, collecting sensitive data such as hostname, username, platform, Node version, IP addresses, and environment variables, which often include tokens and keys. The stolen data is sent to an attacker-controlled Feishu/Lark webhook endpoint using obfuscated encoding methods. The malware includes extensive anti-analysis checks to evade detection in sandbox or CI environments and exits silently if such conditions are detected.
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 @sailing-package/core npm package contains malicious code that activates during the npm install process via an obfuscated postinstall hook. After a randomized delay, it gathers detailed host information and dumps the entire environment variables, which may include sensitive credentials. This data is exfiltrated to a concealed command-and-control server hosted on open.feishu.cn, formatted as a Feishu/Lark bot message. The malware employs multiple layers of obfuscation, including character code transformations and XOR encoding, to hide the exfiltration endpoint and evade detection. It also performs numerous anti-analysis checks targeting honeypot tokens, sandbox environment variables, CI environment indicators, and suspicious hostnames or usernames, terminating execution silently if detected. No patch or remediation is provided, and no affected versions are explicitly stated.
Potential Impact
This malware compromises the confidentiality of host and environment information by exfiltrating potentially sensitive data such as AWS keys, tokens, and other secrets from development and CI environments. The exposure of these secrets can lead to unauthorized access to cloud resources, code repositories, and other critical infrastructure. The obfuscation and anti-analysis features increase the difficulty of detection and mitigation.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The primary mitigation is to avoid installing or using the @sailing-package/core npm package. Security teams should audit dependencies for this package and remove it if found. Monitoring for unexpected network connections to Feishu/Lark webhook URLs and scanning for obfuscated postinstall scripts in npm packages may help detect similar threats. Since this is a malicious package, standard patching does not apply; prevention through supply chain security and dependency vetting is critical.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6598
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed8127e9c79719946f80
Added to database: 06/29/2026, 22:11:13 UTC
Last enriched: 06/29/2026, 22:45:18 UTC
Last updated: 06/30/2026, 00:55:53 UTC
Views: 3
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.