Node JS
fromArs Technica
20 hours agoDestructive malware available in NPM repo went unnoticed for 2 years
Open source repositories are vulnerable to malicious software, evidenced by a recent discovery of malware hidden in NPM packages.
Browser-based cryptocurrency mining resurfaced in 2017, leveraging the easy integration of JavaScript APIs for mining which has contributed to its growing adoption and also the rise of malicious services.
When a handler function is called as an event listener, the value of this is the EventTarget on which the event listener is registered.