Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@aiscene/aiservernpm

Malicious code in @aiscene/aiserver (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-3747
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @aiscene/aiserver

What this malware does

On load, dist/index.js unconditionally instantiates new AIServer() and calls server.start() at module top level (no require.main === module guard), so simply running node dist/index.js, invoking the package's bin, or require('@aiscene/aiserver') from another module immediately launches a network-talking server in the consumer's process. That server registers with the hardcoded URL http://nethp-test.jd.com/rest/execution-nodes/register (plain HTTP, not configurable in code) and continuously long-polls http://nethp-test.jd.com/rest/execution-queue/tasks/next. Tasks returned by that endpoint carry a naturalLanguage/code field which dist/executor/code-executor.js compiles and runs via new (async function(){}).constructor(instrumentedCode) inside a forked worker — i.e. arbitrary JavaScript supplied by the remote control plane is executed in the installer's process. dist/node/service.js additionally POSTs the installer's os.hostname(), local non-internal IPv4 addresses from os.networkInterfaces(), and connected device info to the same host every ~30 seconds with no opt-in or override. Because the control-plane URL is hardcoded and served over plaintext HTTP, any non-JD installer (and any on-path attacker on the network between the installer and that host) gains unauthenticated remote code execution on the installer's machine. dist/config/index.js and dist/.env also ship a hardcoded modelservice.jdcloud.com API key (pk-485b2b56-...) used as the default for three model slots; this is author self-harm against the author's own JD Cloud quota and is not the basis for the block.

Malicious versions

6 flagged
1.4.11.5.81.7.01.7.41.7.51.8.0

Indicators of compromise (SHA-256)

542fdb1c23b52adda0ed5164b65c9768aef7a5edd45473f9cd3ceab3065b1bb3
b8772926757dd2f3d75d503257ff9c1822e742eb6cf07d854bdeaff318df51e1
aa631dd2665aebfcea3b06f58fa2d5db32cecb1faad6efd93331e0df131a7314
4944087c405a4af48bf2a68e313e739b737d5b614df65dc8df58704743cd1681
5afe7de709fb18909451ff49a02f133f248fb0dc0688709251c924038effc6dc
32fbb466e5e016da6349257f11d47dfa96598d3ddb17c87f27082070e6893b95
25f0c30c0383098b139fff0b7a84a3d20c866a8a9935ca990fd45e5bda527862

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for @aiscene/aiserver (6 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging @aiscene/aiserver across your stack and pipelines.

  2. If you installed it — respond

    Remove @aiscene/aiserver from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If @aiscene/aiserver was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks @aiscene/aiserver before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. @aiscene/aiserver on npm has been identified as a malicious package (versions 1.4.1, 1.5.8, 1.7.0, 1.7.4, 1.7.5, 1.8.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-002632IN-MAL-2026-002625IN-MAL-2026-003798IN-MAL-2026-005802IN-MAL-2026-006682IN-MAL-2026-006742IN-MAL-2026-006803

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @aiscene/aiserver-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

@aiscene/aiserver (npm) malicious package — MAL-2026-3747 | O3 Security