nagix-node
This report shows the evidence for nagix-node@2.1.6, the only known version.
OpenSSF/OSV Malicious Advisory
imported 3mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-11525 confirms this npm version as malicious.
Advisory
MAL-2026-11525
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in nagix-node (npm)
Details
package.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.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to nagix-node@2.1.6.
The versions list below shows the verdict for each recorded version.
- Avoid installing nagix-node@2.1.6. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.