Malicious code in crypto-validates (npm)
The npm package [email protected] contains malicious code that exfiltrates data by base64-encoding input to its validate function and sending it, along with random bytes generated by crypto.randomBytes, to a remote server. The package does not execute code on install or import, but performs data exfiltration on the first function call. It is published by the same author as other suspicious packages. Systems with this package installed should be considered fully compromised.
AI Analysis
Technical Summary
The crypto-validates package version 0.0.2 includes a dist/index.js file identical to [email protected], which implements a validate(input) function that base64-encodes its argument and sends it via POST to a remote URL (https://raydium-clmm.maingoal.xyz/v1/check). Additionally, the randomBytes(size) function forwards freshly generated crypto.randomBytes output to the same host before returning it. No code runs on install or import; the data exfiltration occurs on the first invocation of these functions. The package's README falsely claims it contains only type definitions. The publisher is linked to other suspicious packages. According to the source advisory, any system with this package installed or running should be considered fully compromised, and all secrets and keys stored on that system should be rotated immediately from a different machine.
Potential Impact
Systems with [email protected] installed or running are at high risk of full compromise due to exfiltration of input data and cryptographic random bytes to a remote attacker-controlled server. This can lead to leakage of sensitive information, including secrets and keys, potentially allowing attackers to gain persistent control over the affected system. Removal of the package alone does not guarantee elimination of malicious presence, as the attacker may have already established backdoors or other persistence mechanisms.
Mitigation Recommendations
Immediate removal of the [email protected] package is required. All secrets, keys, and credentials stored on the affected system must be rotated immediately from a separate, trusted machine. Given the high risk of full system compromise, a full security audit and potential system rebuild is recommended. Monitor for any suspicious activity related to the remote URL mentioned and block network communications to it if possible. No official patch or fix is available; the package itself is malicious.
Malicious code in crypto-validates (npm)
Description
The npm package [email protected] contains malicious code that exfiltrates data by base64-encoding input to its validate function and sending it, along with random bytes generated by crypto.randomBytes, to a remote server. The package does not execute code on install or import, but performs data exfiltration on the first function call. It is published by the same author as other suspicious packages. Systems with this package installed should be considered fully compromised.
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 crypto-validates package version 0.0.2 includes a dist/index.js file identical to [email protected], which implements a validate(input) function that base64-encodes its argument and sends it via POST to a remote URL (https://raydium-clmm.maingoal.xyz/v1/check). Additionally, the randomBytes(size) function forwards freshly generated crypto.randomBytes output to the same host before returning it. No code runs on install or import; the data exfiltration occurs on the first invocation of these functions. The package's README falsely claims it contains only type definitions. The publisher is linked to other suspicious packages. According to the source advisory, any system with this package installed or running should be considered fully compromised, and all secrets and keys stored on that system should be rotated immediately from a different machine.
Potential Impact
Systems with [email protected] installed or running are at high risk of full compromise due to exfiltration of input data and cryptographic random bytes to a remote attacker-controlled server. This can lead to leakage of sensitive information, including secrets and keys, potentially allowing attackers to gain persistent control over the affected system. Removal of the package alone does not guarantee elimination of malicious presence, as the attacker may have already established backdoors or other persistence mechanisms.
Defensive Guidance
Immediate removal of the [email protected] package is required. All secrets, keys, and credentials stored on the affected system must be rotated immediately from a separate, trusted machine. Given the high risk of full system compromise, a full security audit and potential system rebuild is recommended. Monitor for any suspicious activity related to the remote URL mentioned and block network communications to it if possible. No official patch or fix is available; the package itself is malicious.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-16085
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-v5v6-h869-g34f"]
- Ecosystems
- ["npm"]
Threat ID: 6aa2af89acd9273b4925b50e
Added to database: 09/10/2026, 13:24:25 UTC
Last enriched: 09/10/2026, 13:38:47 UTC
Last updated: 09/11/2026, 16:08:33 UTC
Views: 16
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.