snavbox@1.0.1
OpenSSF/OSV Malicious Advisory
imported 1d ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2025-49362 confirms this npm version as malicious.
Advisory
MAL-2025-49362
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in snavbox (npm)
Details
At CLI startup, index.js downloads three native shared libraries (sbx.so, bot.so, v1.so) from https://${arch}.31888.xyz/ (amd64.31888.xyz, arm64.31888.xyz), writes them to disk, and loads them via koffi.load() to invoke native functions from the fetched bytes. The download URL is not version-pinned, the domain is unrelated to the package publisher, and the downloadLibrary(url, fileName, expectedSha256) helper treats an empty expectedSha256 as a pass, so no integrity check is performed. Package metadata describes the project as "WildGuard - Protect Our Wildlife" with an accompanying wildlife-themed index.html, but the actual code implements a sing-box multi-protocol proxy (vless/vmess/trojan/hysteria2/tuic/reality/anytls), a Cloudflare Argo tunnel configured with noTLSVerify: true, a Nezha remote-management agent, and a hardcoded keep-alive callback to https://keep.gvrander.eu.org/add-url. Multiple execSync('curl...') invocations are also present. The mismatch between the advertised purpose and the shipped behavior, combined with the unpinned unverified native-code fetch from a non-publisher host, gives the operator of 31888.xyz arbitrary code execution on any host that runs this package.
## Source: ghsa-malware (d8c70660a97aff07d3f4c6a0c03af63cceb7fcefdd52b293ef98b0be0ae55df8) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
## Source: ossf-package-analysis (4b16f46f7bce0e06e8afe06d96ba465799db8e470814384124b318b2b98285ff) The OpenSSF Package Analysis project identified 'snavbox' @ 1.0.0 (npm) as malicious.
It is considered malicious because:
- The package executes one or more commands associated with malicious behavior.
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 snavbox@1.0.1.
The same advisory and Firewall decision cover 2 recorded versions
1.0.0, 1.0.1
See all versions of snavbox for other recorded verdicts.
- Avoid installing snavbox@1.0.1. 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.