Malicious code in @dsft/ft-utils (npm)
MAL-2026-5890 · GHSA-2578-g4v9-hc4p
Published · Modified
Description
__
Source: amazon-inspector (a80ec07b8de5ed0e8cf43a8584075210d47e80e7bcc04368a5029f7637188db3)
The package is a dependency-confusion proof-of-concept squatting on the @dsft/ scope. Its package.json declares a preinstall hook that runs index.js, which reads the installer's INIT_CWD environment variable (the consumer's project directory), derives the project's basename, and POSTs it together with a package identifier and timestamp to a hardcoded third-party URL (https://deepbounty.dd06-dev.fr/cb/f9543624-20d8-465b-a026-d01872b93933). The package provides no library functionality matching its name; the install-time beacon is its sole behavior, and the package self-describes as a 'Security PoC for Bug Bounty.' Any npm install of this package automatically discloses the installing project's directory name and confirms the host's environment to the operator of the callback endpoint, without consent.
Source: ghsa-malware (e7b32b7b3b84932086ead8a89be11aa04c72a0c52f9a53aa425834607a6bb3bd)
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.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes