Malicious code in @marketfront/customdealsfeed (npm)
The @marketfront/customdealsfeed npm package version 7.0.0 is part of a malicious campaign involving 25 packages published within a short time window. It contains a heavily obfuscated postinstall script that executes automatically during npm install, harvesting sensitive credential files from the host and exfiltrating them via encrypted HTTPS requests and DNS beacons. The package has no legitimate runtime code and uses sandbox evasion techniques to avoid detection. This campaign reuses tooling and infrastructure from a previous malicious campaign, indicating a persistent threat actor. The package also attempts dependency confusion by instructing users to add a fake registry URL in .npmrc, potentially targeting organizations with misconfigured internal scopes.
AI Analysis
Technical Summary
The @marketfront/customdealsfeed package (version 7.0.0) is malicious software published to the npm registry as part of a batch campaign. It contains an obfuscated postinstall hook script that runs automatically on installation, harvesting approximately 20 types of sensitive credential files (e.g., SSH keys, AWS credentials, Kubernetes config, Docker config, npm credentials, git credentials, environment files, and shell history). The harvested data is compressed, encrypted, and exfiltrated over HTTPS to a concealed command-and-control endpoint, with additional DNS-based data exfiltration to evade network filtering. The package lacks legitimate runtime code, and the postinstall script includes sandbox evasion to avoid execution in analysis environments. The campaign shares infrastructure and code patterns with a previous malicious npm campaign (@emcd-vue), indicating the same threat actor. The package also attempts to lure organizations into dependency confusion attacks by recommending a non-existent private npm registry URL.
Potential Impact
Installation of this package results in automatic execution of malicious code that harvests sensitive credentials and environment information from the host system. This can lead to credential theft, unauthorized access to cloud services, source code repositories, and other sensitive resources. The exfiltration methods are designed to bypass network defenses, increasing the risk of undetected data leakage. The package does not provide any legitimate functionality and is solely designed for credential harvesting and data exfiltration.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be considered malicious and untrusted. Users and organizations should avoid installing @marketfront/customdealsfeed version 7.0.0 and any other packages from the @marketfront scope published in this campaign. Review and remove any instances of these packages from projects and dependency trees. Do not add or trust the suggested registry URL (https://npm.marketfront.io) as it points to non-existent infrastructure and is part of a dependency confusion lure. Implement strict package source verification and pinning to prevent dependency confusion attacks. Monitor for and remove any unauthorized credentials that may have been exposed if this package was installed.
Malicious code in @marketfront/customdealsfeed (npm)
Description
The @marketfront/customdealsfeed npm package version 7.0.0 is part of a malicious campaign involving 25 packages published within a short time window. It contains a heavily obfuscated postinstall script that executes automatically during npm install, harvesting sensitive credential files from the host and exfiltrating them via encrypted HTTPS requests and DNS beacons. The package has no legitimate runtime code and uses sandbox evasion techniques to avoid detection. This campaign reuses tooling and infrastructure from a previous malicious campaign, indicating a persistent threat actor. The package also attempts dependency confusion by instructing users to add a fake registry URL in .npmrc, potentially targeting organizations with misconfigured internal scopes.
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 @marketfront/customdealsfeed package (version 7.0.0) is malicious software published to the npm registry as part of a batch campaign. It contains an obfuscated postinstall hook script that runs automatically on installation, harvesting approximately 20 types of sensitive credential files (e.g., SSH keys, AWS credentials, Kubernetes config, Docker config, npm credentials, git credentials, environment files, and shell history). The harvested data is compressed, encrypted, and exfiltrated over HTTPS to a concealed command-and-control endpoint, with additional DNS-based data exfiltration to evade network filtering. The package lacks legitimate runtime code, and the postinstall script includes sandbox evasion to avoid execution in analysis environments. The campaign shares infrastructure and code patterns with a previous malicious npm campaign (@emcd-vue), indicating the same threat actor. The package also attempts to lure organizations into dependency confusion attacks by recommending a non-existent private npm registry URL.
Potential Impact
Installation of this package results in automatic execution of malicious code that harvests sensitive credentials and environment information from the host system. This can lead to credential theft, unauthorized access to cloud services, source code repositories, and other sensitive resources. The exfiltration methods are designed to bypass network defenses, increasing the risk of undetected data leakage. The package does not provide any legitimate functionality and is solely designed for credential harvesting and data exfiltration.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be considered malicious and untrusted. Users and organizations should avoid installing @marketfront/customdealsfeed version 7.0.0 and any other packages from the @marketfront scope published in this campaign. Review and remove any instances of these packages from projects and dependency trees. Do not add or trust the suggested registry URL (https://npm.marketfront.io) as it points to non-existent infrastructure and is part of a dependency confusion lure. Implement strict package source verification and pinning to prevent dependency confusion attacks. Monitor for and remove any unauthorized credentials that may have been exposed if this package was installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6772
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c348527e9c79719607427
Added to database: 07/06/2026, 23:04:37 UTC
Last enriched: 07/06/2026, 23:40:18 UTC
Last updated: 07/25/2026, 06:01:32 UTC
Views: 11
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.