Malicious code in @marketfront/gotoauthpopup (npm)
The @marketfront/gotoauthpopup npm package version 7.0.0 is part of a malicious campaign involving 25 packages published within a short time frame. It contains a heavily obfuscated postinstall script that executes automatically on npm install, harvesting a wide range of sensitive credential and configuration files from the host system. The stolen data is exfiltrated via encrypted HTTPS POST requests and covert DNS tunneling to a concealed command-and-control server. The package impersonates internal corporate infrastructure to deceive developers and has no legitimate functionality. This campaign shares infrastructure and tactics with a previous malicious npm campaign, indicating a recurring threat actor.
AI Analysis
Technical Summary
The @marketfront/gotoauthpopup package (version 7.0.0) includes a postinstall hook executing a large obfuscated JavaScript payload that harvests sensitive credential files such as SSH keys, AWS credentials, Kubernetes configs, Docker configs, npm and git credentials, environment files, and shell histories. It collects host system identity and environment details, encrypts the data with RC4, and exfiltrates it via HTTPS POST requests to a dynamically assembled C2 endpoint. Additionally, it uses DNS queries to tunnel the encrypted data covertly, bypassing network egress filtering. The package mimics internal corporate repositories and documentation to appear legitimate but contains no usable library code. This campaign is linked to a prior malicious npm campaign by the same actor, identified by shared obfuscation, exfiltration methods, and infrastructure patterns.
Potential Impact
Installation of this package results in the compromise of sensitive credentials and configuration files from the host system, potentially exposing SSH keys, cloud service credentials, container and Kubernetes access tokens, git credentials, and environment secrets. This can lead to unauthorized access to internal systems, cloud resources, source code repositories, and other sensitive infrastructure. The use of anti-debugging and covert DNS exfiltration techniques increases the difficulty of detection and containment.
Mitigation Recommendations
No official patch or remediation is available as this is a malicious package published to the npm registry. The package should be considered malicious and untrusted. Users and organizations should audit their dependencies to ensure this package (version 7.0.0) is not installed. Remove any installations of @marketfront/[email protected] immediately. Investigate any systems where this package was installed for potential credential compromise and rotate affected credentials. Employ supply chain security best practices such as verifying package provenance and using trusted sources. Monitor for similar malicious packages published under the @marketfront scope or related actors.
Malicious code in @marketfront/gotoauthpopup (npm)
Description
The @marketfront/gotoauthpopup npm package version 7.0.0 is part of a malicious campaign involving 25 packages published within a short time frame. It contains a heavily obfuscated postinstall script that executes automatically on npm install, harvesting a wide range of sensitive credential and configuration files from the host system. The stolen data is exfiltrated via encrypted HTTPS POST requests and covert DNS tunneling to a concealed command-and-control server. The package impersonates internal corporate infrastructure to deceive developers and has no legitimate functionality. This campaign shares infrastructure and tactics with a previous malicious npm 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/gotoauthpopup package (version 7.0.0) includes a postinstall hook executing a large obfuscated JavaScript payload that harvests sensitive credential files such as SSH keys, AWS credentials, Kubernetes configs, Docker configs, npm and git credentials, environment files, and shell histories. It collects host system identity and environment details, encrypts the data with RC4, and exfiltrates it via HTTPS POST requests to a dynamically assembled C2 endpoint. Additionally, it uses DNS queries to tunnel the encrypted data covertly, bypassing network egress filtering. The package mimics internal corporate repositories and documentation to appear legitimate but contains no usable library code. This campaign is linked to a prior malicious npm campaign by the same actor, identified by shared obfuscation, exfiltration methods, and infrastructure patterns.
Potential Impact
Installation of this package results in the compromise of sensitive credentials and configuration files from the host system, potentially exposing SSH keys, cloud service credentials, container and Kubernetes access tokens, git credentials, and environment secrets. This can lead to unauthorized access to internal systems, cloud resources, source code repositories, and other sensitive infrastructure. The use of anti-debugging and covert DNS exfiltration techniques increases the difficulty of detection and containment.
Mitigation Recommendations
No official patch or remediation is available as this is a malicious package published to the npm registry. The package should be considered malicious and untrusted. Users and organizations should audit their dependencies to ensure this package (version 7.0.0) is not installed. Remove any installations of @marketfront/[email protected] immediately. Investigate any systems where this package was installed for potential credential compromise and rotate affected credentials. Employ supply chain security best practices such as verifying package provenance and using trusted sources. Monitor for similar malicious packages published under the @marketfront scope or related actors.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6781
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c348427e9c797196072ed
Added to database: 07/06/2026, 23:04:36 UTC
Last enriched: 07/06/2026, 23:09:11 UTC
Last updated: 07/30/2026, 20:19:35 UTC
Views: 9
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.