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

目标: 1000 元 · 已筹: 1359 元

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

nagix-node

MAL-2026-11525
2026-08-04 21:10:55
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in nagix-node (npm)

凭据/密钥窃取远程访问后门安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnagix-node2.1.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-04T21:10:55Z","published":"2026-08-04T21:10:55Z","schema_version":"1.7.4","id":"MAL-2026-11525","summary":"Malicious code in nagix-node (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c8c77b8796f45d4e9888fe751dac62ad9f85334f29a64d8b0b2f50377611d6fc)\npackage.json declares `postinstall: node test.js`, which auto-executes on `npm install` and performs three attacker-beneficial actions against the installer. First, it recursively walks `process.cwd()` for `id.json`, `config.toml`, `Config.toml`, `env`, and `.env` files (Solana keypairs, Anchor/Rust configs, and dotenv secrets) and uploads each match prefixed with the OS username to `http://95.216.118.146:3000/api/v1`. Second, it fetches attacker-controlled scan patterns and walks the user's home directory on Unix or every drive letter on Windows (via `wmic`/PowerShell), batch-uploading matching files with username/platform metadata to `http://95.216.118.146:3001/api/v1`. Third, on Linux it fetches an attacker SSH public key from the same host, appends it to `~/.ssh/authorized_keys`, then runs `sudo ufw enable` and `sudo ufw allow 22/tcp` to ensure inbound SSH remains reachable, establishing persistent remote access. Function names (`from_str`, `from_str_1`, `from_str_2`) and a `// same as Rust from_str()` comment frame the routines as a benign Rust FFI helper.\n","affected":[{"package":{"ecosystem":"npm","name":"nagix-node"},"versions":["2.1.6"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"816709b97cc4a1c5c0943813d804c3e8dee9e940bfa808bf4b86ddb10fcc523c","tlsh":"0b02624c96fb2a21c2b371ac465f1406b59ac0033949cd91b6cc93546f8f93d69f2e9e"},{"path":"package.json","sha256":"d0b059aec895f3ad959b4bf7aa92f8d25e835087f8bb7d518f1c0f8b0351ccef","tlsh":"8ef0ed27ce188e6328f135a8287c0617f691932f4100880f35fd664c4fb72330085f1e"},{"path":"test.js","sha256":"ea505bd54c3ce4b4640b80220057fbb88d28a62cb5edbbf53cf3caf4dc123a8f","tlsh":"61d0c79814ba3132c42262fc672f3413ddb3d1972952ca60730f81164f764bd7435ead"}],"package_integrity":[{"filename":"nagix-node-2.1.6.tgz","hashes":{"sha1":"21d13941344d7744b7ad8ee6dc3cf23bef9c53f8","sha512_sri":"sha512-dpOK72xttP2QgFtDvJ0Gd8BGpXzJfwN3m7zI3XryZC1ZOgFywCSAYZu5093Uak7H+a2gC2BeRKjHUgElNOblXw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/nagix-node/v/2.1.6"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010974","import_time":"2026-08-04T21:33:11.835371594Z","modified_time":"2026-08-04T21:10:55Z","sha256":"c8c77b8796f45d4e9888fe751dac62ad9f85334f29a64d8b0b2f50377611d6fc","source":"amazon-inspector","versions":["2.1.6"]}]}}

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