Malicious code in @dsft/ft-utils (npm)
The npm package @dsft/ft-utils version 1.5.8 is a malicious package designed as a proof-of-concept for dependency confusion attacks. Upon installation, it executes a preinstall script that collects the installing project's directory name and sends this information along with a package identifier and timestamp to a remote third-party server without user consent. The package provides no legitimate functionality and acts solely as an install-time beacon. Systems with this package installed should be considered fully compromised, and all secrets and keys on the affected system should be rotated immediately from a different, trusted machine.
AI Analysis
Technical Summary
The @dsft/ft-utils package version 1.5.8 contains malicious code that executes during the npm install process via a preinstall hook. This hook reads the environment variable INIT_CWD to determine the installer's project directory name and sends this data, along with a package identifier and timestamp, to a hardcoded external URL (https://deepbounty.dd06-dev.fr/cb/f9543624-20d8-465b-a026-d01872b93933). The package does not provide any legitimate library functionality and is intended as a security proof-of-concept for dependency confusion attacks. According to the GHSA-malware source, any system with this package installed should be considered fully compromised, with potential full control given to an external entity.
Potential Impact
Installation of this package results in unauthorized disclosure of the installing project's directory name and environment details to a remote attacker-controlled server. The presence of this package indicates a full system compromise, potentially allowing attackers to control the affected system. All secrets and keys stored on the compromised system are at risk and must be rotated immediately. Removal of the package alone does not guarantee eradication of all malicious artifacts or backdoors.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is immediate removal of the @dsft/ft-utils package version 1.5.8 from all affected systems. Additionally, all secrets, keys, and credentials stored on compromised systems should be rotated from a separate, trusted environment. Because the system may be fully compromised, further forensic analysis and remediation may be necessary to ensure complete removal of malicious components.
Malicious code in @dsft/ft-utils (npm)
Description
The npm package @dsft/ft-utils version 1.5.8 is a malicious package designed as a proof-of-concept for dependency confusion attacks. Upon installation, it executes a preinstall script that collects the installing project's directory name and sends this information along with a package identifier and timestamp to a remote third-party server without user consent. The package provides no legitimate functionality and acts solely as an install-time beacon. Systems with this package installed should be considered fully compromised, and all secrets and keys on the affected system should be rotated immediately from a different, trusted machine.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @dsft/ft-utils package version 1.5.8 contains malicious code that executes during the npm install process via a preinstall hook. This hook reads the environment variable INIT_CWD to determine the installer's project directory name and sends this data, along with a package identifier and timestamp, to a hardcoded external URL (https://deepbounty.dd06-dev.fr/cb/f9543624-20d8-465b-a026-d01872b93933). The package does not provide any legitimate library functionality and is intended as a security proof-of-concept for dependency confusion attacks. According to the GHSA-malware source, any system with this package installed should be considered fully compromised, with potential full control given to an external entity.
Potential Impact
Installation of this package results in unauthorized disclosure of the installing project's directory name and environment details to a remote attacker-controlled server. The presence of this package indicates a full system compromise, potentially allowing attackers to control the affected system. All secrets and keys stored on the compromised system are at risk and must be rotated immediately. Removal of the package alone does not guarantee eradication of all malicious artifacts or backdoors.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is immediate removal of the @dsft/ft-utils package version 1.5.8 from all affected systems. Additionally, all secrets, keys, and credentials stored on compromised systems should be rotated from a separate, trusted environment. Because the system may be fully compromised, further forensic analysis and remediation may be necessary to ensure complete removal of malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5890
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-2578-g4v9-hc4p"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577eee68715ace43b414b3
Added to database: 07/15/2026, 12:37:02 UTC
Last enriched: 07/15/2026, 12:55:35 UTC
Last updated: 07/28/2026, 06:15:30 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.