The Event Viewer logs events that lead to errors. The event logs can help you understand what triggered or where exactly the issue is coming from so you can be apply the relevant troubleshooting steps ...
JFrog says six malicious npm packages used hidden install-time execution, JSONKeeper fetches, and sandbox checks to enable remote access.