Malicious Code Detected in browser-sync-task-runner Package
Summary
MAL-2025-16199: Malicious code in browser-sync-task-runner (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 browser-sync-task-runner package is an npm module designed to facilitate the synchronization of browser testing tasks across multiple devices. It allows developers to streamline their workflow by automatically refreshing browsers when changes are made to files. However, this package has been found to contain malicious code, posing significant risks to users who rely on it for their development processes.
Vulnerability Detail
The vulnerability in the browser-sync-task-runner 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 harmful actions that can affect the integrity of the software and its users. The malicious code was introduced in version 0 and has the potential to impact all subsequent versions unless addressed.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall browser-sync-task-runner
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, you can avoid using the browser-sync-task-runner package until a secure alternative is identified. Regularly check for updates from the package maintainers or consider using other packages that offer similar features without the associated risks.
Conclusion
The discovery of malicious code in the browser-sync-task-runner package highlights the importance of vigilance when using open-source software. Users are advised to remove this package from their projects and explore safer alternatives to ensure the security of their applications.
See every vulnerability recorded for browser-sync-task-runner →
FAQ
It is an npm module that helps synchronize browser testing tasks across multiple devices, enhancing the development workflow.
The malicious code can lead to unauthorized access and data breaches, compromising the security of applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
No patched version is available for the browser-sync-task-runner package. It is recommended to uninstall the package instead.
Uninstall the browser-sync-task-runner package immediately and consider using alternative packages that do not pose security risks.