Malicious code in tokocrytodev (npm)
The npm package 'tokocrytodev' version 1.0.0 contains malicious code that, upon execution, establishes a command-and-control (C2) communication channel to a remote server. It executes arbitrary commands received from the attacker, harvests private key files from various sensitive directories, and exfiltrates them encrypted. The package then uses stolen Ethereum private keys to transfer funds from compromised wallets to a hardcoded attacker address. Errors are silently suppressed to avoid detection.
AI Analysis
Technical Summary
The 'tokocrytodev' npm package (version 1.0.0) includes embedded malicious functionality that initiates a polling loop to fetch commands from a remote URL. It executes these commands on the host via child_process.exec, enabling arbitrary remote code execution. The package searches for private key files in common SSH, SSL, and Ethereum wallet directories, encrypts the stolen keys using AES-256-ECB with a hardcoded key, and exfiltrates them to the attacker's server. It also attempts to drain Ethereum wallets by creating web3 wallets with stolen keys and sending the entire balance minus gas fees to a specified attacker Ethereum address. Error handling suppresses exceptions to reduce noise and evade detection.
Potential Impact
This malicious package allows an attacker to gain arbitrary remote code execution on any system that installs and runs it. It compromises sensitive private keys related to SSH, SSL, and Ethereum wallets, leading to theft of cryptocurrency funds. The attacker can fully control the infected host and exfiltrate confidential cryptographic material, resulting in severe confidentiality and financial impact.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. The best mitigation is to avoid installing or using the 'tokocrytodev' npm package version 1.0.0. Remove any installations of this package immediately and investigate affected systems for signs of compromise. Monitor for unauthorized Ethereum transactions to the attacker address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e. Since this is a malicious package rather than a vulnerability in legitimate software, remediation involves removal and incident response rather than patching.
Malicious code in tokocrytodev (npm)
Description
The npm package 'tokocrytodev' version 1.0.0 contains malicious code that, upon execution, establishes a command-and-control (C2) communication channel to a remote server. It executes arbitrary commands received from the attacker, harvests private key files from various sensitive directories, and exfiltrates them encrypted. The package then uses stolen Ethereum private keys to transfer funds from compromised wallets to a hardcoded attacker address. Errors are silently suppressed to avoid detection.
Affected software
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
Technical Analysis
The 'tokocrytodev' npm package (version 1.0.0) includes embedded malicious functionality that initiates a polling loop to fetch commands from a remote URL. It executes these commands on the host via child_process.exec, enabling arbitrary remote code execution. The package searches for private key files in common SSH, SSL, and Ethereum wallet directories, encrypts the stolen keys using AES-256-ECB with a hardcoded key, and exfiltrates them to the attacker's server. It also attempts to drain Ethereum wallets by creating web3 wallets with stolen keys and sending the entire balance minus gas fees to a specified attacker Ethereum address. Error handling suppresses exceptions to reduce noise and evade detection.
Potential Impact
This malicious package allows an attacker to gain arbitrary remote code execution on any system that installs and runs it. It compromises sensitive private keys related to SSH, SSL, and Ethereum wallets, leading to theft of cryptocurrency funds. The attacker can fully control the infected host and exfiltrate confidential cryptographic material, resulting in severe confidentiality and financial impact.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. The best mitigation is to avoid installing or using the 'tokocrytodev' npm package version 1.0.0. Remove any installations of this package immediately and investigate affected systems for signs of compromise. Monitor for unauthorized Ethereum transactions to the attacker address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e. Since this is a malicious package rather than a vulnerability in legitimate software, remediation involves removal and incident response rather than patching.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13687
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a79f0dcbf8831d539f61b1a
Added to database: 08/10/2026, 15:40:12 UTC
Last enriched: 08/10/2026, 15:59:43 UTC
Last updated: 08/10/2026, 18:08:34 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.