Malicious Code Detected in developer-portal-sample-app: A Critical Security Alert
Summary
MAL-2025-18352: Malicious code in developer-portal-sample-app (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 'developer-portal-sample-app' is an npm package designed to facilitate the development of applications that interact with developer portals. It provides essential functionalities for developers to create, manage, and deploy their applications efficiently. However, this package has been identified to contain malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the 'developer-portal-sample-app' stems from the inclusion of malicious code within the package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The issue originates from the package's initial release and affects all versions starting from 0. Users are advised to be cautious as the ramifications of this vulnerability can be severe, impacting both application integrity and user data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall developer-portal-sample-app
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 remove the 'developer-portal-sample-app' package from their project until a secure version is released. This can be done using the command: 'npm uninstall developer-portal-sample-app'. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The discovery of malicious code in the 'developer-portal-sample-app' npm package poses a significant threat to users and their applications. Immediate action is required to mitigate risks, including updating or removing the package. Users are encouraged to stay informed about security updates and utilize tools like Vulert for real-time monitoring of vulnerabilities.
See every vulnerability recorded for developer-portal-sample-app →
FAQ
The malicious code is designed to exploit vulnerabilities in applications that utilize this package, potentially leading to unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply uploading your package-lock.json file, you can check for vulnerabilities without needing to install any software.
Yes, you can temporarily uninstall the package or switch to alternative packages that do not have known vulnerabilities.
It is crucial to remove the package immediately and monitor your application for any unusual activity. Consider conducting a security audit to assess any potential impacts.
Detailed information can be found on the GitHub repository of the package, as well as through security advisories related to npm packages.