Malicious Code Detected in authtoken-paypal Package - Security Alert
Summary
MAL-2025-15103: Malicious code in authtoken-paypal (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 authtoken-paypal package is an npm library designed to facilitate authentication with PayPal services. It is commonly used in applications that require secure payment processing. However, this package has been identified as containing malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the authtoken-paypal package stems from the inclusion of malicious code that can compromise the security of applications using this package. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall authtoken-paypal
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 using alternative packages for PayPal authentication that do not have known vulnerabilities. Always ensure to review the security status of any package before integrating it into your application.
Conclusion
The authtoken-paypal package has been identified as containing malicious code that poses a significant security risk. Users are strongly advised to uninstall the package and explore alternative solutions until a secure version is available. Regular monitoring of dependencies is crucial to maintaining application security.
See every vulnerability recorded for authtoken-paypal →
FAQ
The malicious code can potentially allow unauthorized access to sensitive information or facilitate other harmful actions within an application.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Currently, there is no patched version of the authtoken-paypal package available. It is recommended to uninstall the package until a secure version is released.
If immediate removal is not possible, consider implementing additional security measures in your application to mitigate risks while you plan for a transition.
Utilize tools like Vulert to receive real-time alerts about vulnerabilities in your open-source dependencies, ensuring you can act quickly to protect your application.