Malicious code in @momo-miniapp/api (npm)
Summary
MAL-2023-8376: Malicious code in @momo-miniapp/api (npm). Affected versions are not published. 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 @momo-miniapp/api package is an npm package that provides functionality for interacting with the Momo MiniApp API. It is commonly used in applications that integrate with Momo MiniApps. This package allows developers to access various features and services provided by the Momo MiniApp platform.
Vulnerability Detail
The @momo-miniapp/api package has been found to contain malicious code. This code can compromise the security of any computer that has the package installed or running. It is advised to consider any computer with this package as fully compromised. All secrets and keys stored on the affected computer should be rotated immediately from a different computer. Although removing the package is recommended, it may not guarantee the removal of all malicious software that may have been installed as a result of using this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @momo-miniapp/api
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Conclusion
The @momo-miniapp/api package has been found to contain malicious code that can compromise the security of affected computers. It is crucial to take immediate action by rotating secrets and keys, removing the package, and conducting a thorough security audit. To stay updated on vulnerabilities in your software, consider using Vulert, a tool that monitors and alerts in real-time for open-source vulnerabilities.
See every vulnerability recorded for @momo-miniapp/api →
FAQ
The @momo-miniapp/api package is an npm package that provides functionality for interacting with the Momo MiniApp API. It is commonly used in applications that integrate with Momo MiniApps.
The malicious code in @momo-miniapp/api can compromise the security of any computer that has the package installed or running. It is advised to consider any computer with this package as fully compromised.
If you have the @momo-miniapp/api package installed, it is recommended to rotate all secrets and keys stored on the affected computer from a different computer. Additionally, remove the package and conduct a thorough security audit.
Removing the @momo-miniapp/api package may not guarantee the removal of all malicious software that may have been installed as a result of using this package. It is important to conduct a thorough security audit to ensure no other malicious software is present on the computer.
To prevent similar incidents in the future, consider implementing additional security measures such as regularly updating dependencies, using security tools like Vulert to monitor for vulnerabilities, and following best practices for secure coding.