NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

longzy-basic-uinpm

Advisory published Updated

longzy-basic-ui is a confirmed malicious npm package (MAL-2026-6569) that steals credentials and exfiltrates sensitive data (malicious version 2.0.3). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in longzy-basic-ui (npm)

MAL-2026-6569
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall longzy-basic-ui

What this malware does

On npm install, the package's postinstall hook executes .prepare.cjs, which collects the installer's hostname, username, platform, Node version, non-internal network interfaces, npm registry, and a complete dump of process.env (every key except those prefixed npm_lifecycle), then HTTPS-POSTs the payload as a Lark/Feishu bot message to a hardcoded webhook on open.larksuite.com. The destination hostname is reversed and char-shifted by 7, and the webhook path is XOR-decoded with key Zk9x at runtime to hide the endpoint. Before sending, the script runs sandbox/honeypot evasion: char-code-decoded checks for AWS example credentials and honeypot tokens (PYPI_POISON_HONEY_TOKEN, PP_ARTIFACT_SHA256, THREAT_ANALYZER_MODEL, ASPECT_TLOG), sandbox env prefixes (SANDYCLAW_, OPENCLAW_, PERMISO_, CHAINRADAR_), hostname regex matching detonat|cuckoo|virus|scan|chainradar, and usernames such as sandbox and malware. The package's declared homepage/repository.url is an RFC1918 internal address (http://192.168.100.4:9088/app/lzy-basic-module.git) inconsistent with publishing to the public npm registry, and the stated purpose ("Support WoPet ui") is unrelated to the postinstall beacon. The combination of obfuscated author-controlled destination, full process.env exfiltration, and explicit sandbox evasion is unambiguous credential-theft malware.

Malicious versions

1 flagged
2.0.3

Indicators of compromise (SHA-256)

90336f7ef2177c75d9cf4a1872fe94504a382dfd1907e7617e0e06642f2dae67

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for longzy-basic-ui (version 2.0.3).

  2. If you installed it — respond

    longzy-basic-ui is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If longzy-basic-ui was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. longzy-basic-ui on npm has been identified as a malicious package (version 2.0.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-007726

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks longzy-basic-ui-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

longzy-basic-ui (npm) malicious package — MAL-2026-6569 | O3 Security