Malicious Code Detected in @spx-workforceops/shared-vue Package
Summary
MAL-2026-263: Malicious code in @spx-workforceops/shared-vue (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 @spx-workforceops/shared-vue package is an npm library designed for shared Vue components within workforce operations applications. It is utilized for building user interfaces and enhancing the functionality of web applications. However, this package has been identified to contain malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the @spx-workforceops/shared-vue package. This code can potentially compromise the integrity of applications using this package, leading to unauthorized access, data breaches, or other malicious activities. The specific technical details of the malicious code have not been disclosed, but its existence is confirmed by security assessments from Amazon Inspector.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @spx-workforceops/shared-vue
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 may consider removing the @spx-workforceops/shared-vue package from your project until a secure version is released. You can do this by executing the following command: npm uninstall @spx-workforceops/shared-vue.
Conclusion
The @spx-workforceops/shared-vue package has been identified to contain malicious code, which poses significant security risks. It is essential to update or remove the package to protect your applications. Utilizing tools like Vulert can help monitor your projects for vulnerabilities in real-time.
See every vulnerability recorded for @spx-workforceops/shared-vue →
FAQ
The exact nature of the malicious code has not been disclosed, but it poses security risks to applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected.
Yes, it is recommended to update the @spx-workforceops/shared-vue package to the latest version that addresses the vulnerability.
As a temporary measure, you can uninstall the package to mitigate risks until a secure version is available.
The vulnerability was reported by Amazon Inspector, a security assessment service.