Malicious code was inserted into the Nx (build system) package and several related plugins. The tampered package was published to the npm software registry, via a supply-chain attack. Affected versions contain code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
https://www.wiz.io/blog/s1ngularity-supply-chain-attack
https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c
https://bugzilla.redhat.com/show_bug.cgi?id=2396282
https://access.redhat.com/security/supply-chain-attacks-NPM-packages