@sailing-package/core (npm) · Malicious Code
Affects @sailing-package/coreSource GCVE Database
Malicious package : remove @sailing-package/core and rotate any secrets on hosts that installed it.
Data as of 29 Jun 2026, 22:45 UTC
Malicious package
Published to npm · OSV MAL-2026-6598
What to do
Remove @sailing-package/core from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@sailing-package/core | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.