Malicious package · npm
Malicious code in @chatbridgeback/wa-core (npm)
1.2.2No safe version. Remove it.What it does
package.json declares the runtime dependency libsignal as github:chatunitycenter/libsignal-node, a git source with no version tag and no commit SHA. On npm install, the dependency is fetched from whatever the referenced repository's default branch contains at that moment, and any lifecycle scripts contained in those bytes execute on the installing machine. Because the reference is mutable and no integrity hash or lockfile-independent pin constrains it, the code installed can change at any time without any change to this package version. The remainder of the package resolves its other dependencies from the registry.
Reported by ghsa-malware Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
No fix · Remove and contain
npm uninstall @chatbridgeback/wa-coreSources