Malicious code in @lognex/services-api (npm)
Summary
MAL-2023-8632: Malicious code in @lognex/services-api (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 @lognex/services-api package is an npm package that provides services for the Lognex platform. It is used to interact with the Lognex API and perform various operations. The package is widely used by developers to integrate Lognex functionality into their applications.
Vulnerability Detail
The @lognex/services-api package has been found to contain malicious code. This code can compromise the security of any computer that has the package installed or running. It is advised to consider any computer with this package as fully compromised. All secrets and keys stored on the affected computer should be rotated immediately from a different computer. Simply removing the package may not guarantee the removal of all malicious software that may have been installed as a result of using it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @lognex/services-api
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
There is no specific workaround mentioned for this vulnerability. The recommended course of action is to follow the steps provided in the 'how_to_fix' section.
Conclusion
The @lognex/services-api package has been found to contain malicious code that can compromise the security of computers. It is crucial to take immediate action by rotating secrets and keys, removing the package, and conducting a thorough security audit. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for @lognex/services-api →
FAQ
The @lognex/services-api package is an npm package used to interact with the Lognex API and perform various operations in applications.
The malicious code in @lognex/services-api can compromise the security of any computer that has the package installed or running. It gives control of the computer to an outside entity, potentially resulting in unauthorized access and data breaches.
If you have the @lognex/services-api package installed, it is recommended to consider your computer as fully compromised. Rotate all secrets and keys stored on that computer from a different computer, remove the package, and perform a thorough security audit.
Removing the @lognex/services-api package may not guarantee the removal of all malicious software that may have been installed as a result of using it. A thorough security audit is recommended to ensure no other malicious software is present.
To prevent this vulnerability in the future, it is important to regularly update and monitor the packages used in your applications. Stay informed about any security advisories or vulnerabilities related to the packages you depend on.