Malicious Code in advertising-api-javascript-client (npm)
Summary
MAL-2024-7923: Malicious code in advertising-api-javascript-client (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 advertising-api-javascript-client is an npm package used for advertising purposes. It provides a JavaScript client for interacting with advertising APIs. This package is vulnerable to a malicious code injection.
Vulnerability Detail
The package advertising-api-javascript-client (npm) contains malicious code that compromises the security of any computer where it is installed or running. Once installed, the package gives full control of the computer to an outside entity, potentially leading to the exposure of sensitive information and the compromise of secrets and keys stored on that computer.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall advertising-api-javascript-client
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.
Conclusion
The advertising-api-javascript-client package (npm) contains malicious code that compromises the security of the affected computer. It is crucial to rotate all secrets and keys stored on the computer and remove the package. However, additional measures may be necessary to ensure complete removal of the malicious software.
See every vulnerability recorded for advertising-api-javascript-client →
FAQ
The impact of this vulnerability is severe as it compromises the security of the affected computer and exposes sensitive information.
You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
If your computer is compromised, it is crucial to immediately rotate all secrets and keys stored on that computer from a different computer. Additionally, remove the advertising-api-javascript-client package, although it may not remove all malicious software.
Once a computer is compromised, it is recommended to rotate all secrets and keys stored on that computer. It is not advisable to rely on recovering the compromised secrets and keys.
There is no guarantee that removing the advertising-api-javascript-client package will remove all malicious software resulting from its installation. Full control of the computer may have been given to an outside entity, and additional measures may be required to ensure complete removal of the malicious software.