Malicious Package in js-cha3
Summary
GHSA-7xf9-74cp-8hx3: Malicious Package in js-cha3. Affects js-cha3 versions >= 0.0.0. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The js-cha3 package is an npm package used for Ethereum cryptocurrency-related operations. It provides functionality for hashing and encryption using the ChaCha20 algorithm. The package is widely used in Ethereum development projects to ensure secure and efficient operations. However, version 0.8.0 of the package was found to contain malicious code that targeted Ethereum funds and performed unauthorized transactions to wallets not controlled by the user.
Vulnerability Detail
The vulnerability in the js-cha3 package version 0.8.0 allowed an attacker to compromise Ethereum funds by executing unauthorized transactions. The malicious code within the package was designed to redirect funds to wallets controlled by the attacker, bypassing user authorization. This vulnerability posed a significant risk to users relying on the package for Ethereum operations, potentially resulting in financial losses and unauthorized access to sensitive information.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Conclusion
The js-cha3 package version 0.8.0 contained malicious code that targeted Ethereum funds and performed unauthorized transactions. To mitigate this vulnerability, it is crucial to remove the vulnerable package and upgrade to a secure version. Additionally, users should review their transaction history to ensure no unauthorized activity has occurred. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for js-cha3 →
FAQ
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you in real-time if the js-cha3 package version 0.8.0 is present.
The potential ramifications of this vulnerability include financial losses due to unauthorized transactions of Ethereum funds, as well as the risk of sensitive information being accessed by attackers. It is crucial to take immediate action to mitigate these risks.
No, there is no known workaround for this vulnerability. The recommended course of action is to remove the vulnerable package and upgrade to a secure version.
Yes, there are alternative packages available for Ethereum-related operations. Some popular options include web3.js, ethers.js, and truffle. It is recommended to evaluate these alternatives based on your specific requirements and choose a package with a good security track record.
To ensure that your Ethereum funds were not compromised, you should review your transaction history and verify that no unauthorized transactions have occurred. If you suspect any unauthorized activity, it is advisable to contact your cryptocurrency exchange or wallet provider for further assistance.
References
Related vulnerabilities
Recent vulnerabilities recorded for js-cha3.