Malicious Code Detected in ape-staking-public Package - MAL-2025-14631
Summary
MAL-2025-14631: Malicious code in ape-staking-public (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 ape-staking-public package is an npm library designed for staking functionalities in decentralized finance applications. It allows users to stake tokens and earn rewards. However, the package has been identified to contain malicious code, posing significant risks to users and their assets.
Vulnerability Detail
The vulnerability in the ape-staking-public package stems from the inclusion of malicious code that can compromise user data and security. This code may allow unauthorized access to sensitive information or facilitate malicious activities within the application. The issue was introduced in version 0 and affects all subsequent versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ape-staking-public
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 →
Workaround
As a temporary workaround, consider removing the ape-staking-public package from your project until a secure version is released. You can do this by executing the following command: npm uninstall ape-staking-public.
Conclusion
The ape-staking-public package has been identified to contain malicious code, posing risks to users. It is crucial to update or remove the package to protect your application. Utilize tools like Vulert for ongoing monitoring of vulnerabilities in your software.
See every vulnerability recorded for ape-staking-public →
FAQ
The ape-staking-public package is an npm library used for staking functionalities in decentralized finance applications.
The malicious code can compromise user data and security, potentially allowing unauthorized access to sensitive information.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
As a temporary measure, you can uninstall the ape-staking-public package until a secure version is available.
Regularly check the package repository and use tools like Vulert to monitor for vulnerabilities in your dependencies.