Skip to main content

Malicious code in snavbox (npm)

0
Critical
Published: 10/30/2025 (10/30/2025, 09:09:06 UTC)
Source: GCVE Database
Product: snavbox

Description

The npm package 'snavbox' versions 1.0.0, 1.0.2, and 1.0.3 is identified as malicious. It downloads and executes unverified native shared libraries from an unrelated external domain without integrity checks, enabling arbitrary code execution. The package misrepresents its purpose, embedding multi-protocol proxy functionality, a remote management agent, and persistent callbacks to external servers. Any system running this package should be considered fully compromised, and secrets should be rotated immediately. Removal of the package may not fully eliminate the compromise due to potential persistence mechanisms.

Affected software

npmghsa
snavbox
Affected versions
=1.0.0=1.0.2=1.0.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/24/2026, 14:27:29 UTC

Technical Analysis

The 'snavbox' npm package at versions 1.0.0, 1.0.2, and 1.0.3 downloads three native shared libraries (sbx.so, bot.so, v1.so) from external domains (e.g., amd64.31888.xyz) without version pinning or integrity verification, loading them dynamically to execute native code. The package's metadata falsely advertises a wildlife protection project, but the actual code implements a multi-protocol proxy, a Cloudflare Argo tunnel with disabled TLS verification, a Nezha remote-management agent, and a hardcoded keep-alive callback to an external URL. It also executes multiple shell commands via execSync. This behavior allows the operator of the external domains to execute arbitrary code on any host running the package, effectively compromising the system.

Potential Impact

Systems with the affected 'snavbox' package installed or running are fully compromised, allowing remote attackers to execute arbitrary native code, establish persistent remote management, and potentially exfiltrate data or control the host. All secrets and keys stored on such systems are at risk and should be rotated immediately. The compromise may persist beyond package removal due to additional malicious components installed by the package.

Defensive Guidance

Immediate removal of the 'snavbox' package versions 1.0.0, 1.0.2, and 1.0.3 is recommended. All secrets and credentials stored on affected systems should be rotated from a secure, uncompromised environment. Due to the potential for persistent compromise, a full system investigation and remediation may be necessary. No official patch or fix is available; the package itself is malicious. Avoid installing or using this package and audit your environment for its presence.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2025-49362
Osv Schema Version
1.7.4
Aliases
["GHSA-ppfj-vpcr-qwqg"]
Ecosystems
["npm"]

Threat ID: 6a8c4c74acd9273b499c0e17

Added to database: 08/24/2026, 13:51:48 UTC

Last enriched: 08/24/2026, 14:27:29 UTC

Last updated: 09/09/2026, 19:20:27 UTC

Views: 171

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses