Security researchers have identified that two widely used open-source packages, “debug” and “chalk”, available on the NPM registry, were recently compromised, along with several other packages (see full list in the reference below). These malicious modifications could potentially expose applications that rely on them to supply chain attacks. The debug library is a popular debugging utility used across thousands of Node.js projects, while chalk is extensively used for terminal string styling. Given their widespread adoption, this compromise may impact a large portion of the JavaScript ecosystem.
We recommend auditing your environments for use of the affected packages and updating them to verified safe versions as soon as possible.
References:

