Malicious Code Detected in course-config Package - MAL-2025-17636
Summary
MAL-2025-17636: Malicious code in course-config (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 course-config package is an npm module designed to assist developers in managing course configurations for educational applications. It provides functionalities such as setting up course parameters, managing user roles, and integrating with learning management systems. However, a recent discovery has revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the course-config package stems from the inclusion of malicious code that can compromise the security of applications using this package. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or facilitate further attacks on the system. 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 course-config
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 course-config package from their project until a secure version is available. You can do this by executing the following command: npm uninstall course-config. This will help mitigate the risk of exploitation while waiting for a fix.
Conclusion
The discovery of malicious code in the course-config package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are urged to take immediate action by updating or removing the affected package to safeguard their applications.
See every vulnerability recorded for course-config →
FAQ
The course-config package is an npm module that helps developers manage course configurations for educational applications.
The malicious code can potentially compromise application security, allowing unauthorized access and execution of arbitrary commands.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without any signup.
As of now, there is no patched version available. Users should monitor the package repository for updates.
If immediate updates are not possible, consider removing the package from your project as a temporary measure to mitigate risks.