Malicious Code Detected in datanormalization-paypal Package
Summary
MAL-2025-18003: Malicious code in datanormalization-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 datanormalization-paypal package is an npm library designed to facilitate data normalization processes specifically for PayPal transactions. It is utilized in various applications to streamline data handling and improve integration with PayPal's services. However, this package has been identified to contain malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability arises from the presence of malicious code within the datanormalization-paypal package. This code can potentially compromise the security of applications utilizing this package, leading 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 datanormalization-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, users can consider using alternative packages that provide similar functionality without the associated risks. It is advisable to review the package's dependencies and ensure that no other malicious packages are included in the project.
Conclusion
The discovery of malicious code in the datanormalization-paypal package highlights the importance of regularly auditing dependencies in software projects. Users are urged to take immediate action to mitigate risks associated with this vulnerability by removing the affected package and seeking alternatives.
See every vulnerability recorded for datanormalization-paypal →
FAQ
The datanormalization-paypal package is an npm library used for data normalization related to PayPal transactions.
The malicious code was discovered through security assessments conducted by Amazon Inspector, which flagged the package for containing harmful elements.
Using this package can lead to security vulnerabilities, including unauthorized access to sensitive data and potential data breaches.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities by analyzing your package-lock.json file. You can also check your application against known vulnerabilities using the Vulert playground.
If you are using the datanormalization-paypal package, it is crucial to remove it immediately and look for alternative solutions or wait for a patched version to be released.