MAL-2026-6767: Malicious code in @marketfront/basemarkettemplate (npm)
The @marketfront/basemarkettemplate npm package version 7.0.0 is part of a malicious campaign involving 25 packages published under the @marketfront scope. It contains an obfuscated postinstall script that executes automatically during npm install, harvesting sensitive credential files from the host and exfiltrating them via encrypted HTTPS and DNS channels. The package masquerades as an internal HTTP client with fake corporate URLs but provides no legitimate functionality. This campaign shares infrastructure and tooling with a previous malicious campaign, indicating a recurring threat actor.
AI Analysis
Technical Summary
The @marketfront/basemarkettemplate package (version 7.0.0) is a malicious npm package published as part of a 25-package batch under the @marketfront scope by a suspicious user. It includes a heavily obfuscated postinstall hook script that runs automatically on installation, collecting sensitive host credentials from files such as ~/.ssh, ~/.aws/credentials, ~/.kube/config, and others. The harvested data is compressed, encrypted, and exfiltrated over HTTPS POST requests with a custom header and via DNS tunneling. The command-and-control infrastructure is concealed with additional encryption layers. The package contains no legitimate functionality and is designed solely to deliver this credential-harvesting payload. The campaign shares characteristics with a prior malicious campaign targeting npm packages, suggesting the same threat actor is rotating scopes and maintainer identities.
Potential Impact
Hosts that install this package version 7.0.0 risk having sensitive credential files exfiltrated to an attacker-controlled server. This includes SSH keys, AWS credentials, Kubernetes configs, Docker credentials, npm tokens, Git credentials, and shell histories, potentially leading to unauthorized access to cloud services, source code repositories, and other sensitive resources. The malicious code executes automatically during npm install without user interaction, increasing the risk of compromise in development and deployment environments.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users and organizations should avoid installing version 7.0.0 of @marketfront/basemarkettemplate and any other packages from the @marketfront scope published in this campaign. Audit existing dependencies for presence of these packages and remove them if found. Use trusted package sources and verify package maintainers before installation. Monitor for suspicious network activity related to credential exfiltration. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
MAL-2026-6767: Malicious code in @marketfront/basemarkettemplate (npm)
Description
The @marketfront/basemarkettemplate npm package version 7.0.0 is part of a malicious campaign involving 25 packages published under the @marketfront scope. It contains an obfuscated postinstall script that executes automatically during npm install, harvesting sensitive credential files from the host and exfiltrating them via encrypted HTTPS and DNS channels. The package masquerades as an internal HTTP client with fake corporate URLs but provides no legitimate functionality. This campaign shares infrastructure and tooling with a previous malicious campaign, indicating a recurring threat actor.
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/basemarkettemplate package (version 7.0.0) is a malicious npm package published as part of a 25-package batch under the @marketfront scope by a suspicious user. It includes a heavily obfuscated postinstall hook script that runs automatically on installation, collecting sensitive host credentials from files such as ~/.ssh, ~/.aws/credentials, ~/.kube/config, and others. The harvested data is compressed, encrypted, and exfiltrated over HTTPS POST requests with a custom header and via DNS tunneling. The command-and-control infrastructure is concealed with additional encryption layers. The package contains no legitimate functionality and is designed solely to deliver this credential-harvesting payload. The campaign shares characteristics with a prior malicious campaign targeting npm packages, suggesting the same threat actor is rotating scopes and maintainer identities.
Potential Impact
Hosts that install this package version 7.0.0 risk having sensitive credential files exfiltrated to an attacker-controlled server. This includes SSH keys, AWS credentials, Kubernetes configs, Docker credentials, npm tokens, Git credentials, and shell histories, potentially leading to unauthorized access to cloud services, source code repositories, and other sensitive resources. The malicious code executes automatically during npm install without user interaction, increasing the risk of compromise in development and deployment environments.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users and organizations should avoid installing version 7.0.0 of @marketfront/basemarkettemplate and any other packages from the @marketfront scope published in this campaign. Audit existing dependencies for presence of these packages and remove them if found. Use trusted package sources and verify package maintainers before installation. Monitor for suspicious network activity related to credential exfiltration. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6767
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c348527e9c79719607433
Added to database: 07/06/2026, 23:04:37 UTC
Last enriched: 07/06/2026, 23:40:47 UTC
Last updated: 07/07/2026, 01:51:11 UTC
Views: 6
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.