Malicious code in nwfp-build-config (npm)
Description
The npm package nwfp-build-config contains malicious code that exfiltrates user identity data via a covert DNS tunnel. Upon requiring the package, it encrypts the host's hostname and username using a hardcoded AES-256-CBC key, encodes the data, and sends it through DNS queries to an external domain unrelated to the package's stated purpose. This behavior indicates identity theft and unauthorized data leakage. Systems with this package installed should be considered fully compromised, and all secrets and keys should be rotated. Removal of the package alone may not fully remediate the compromise.
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 nwfp-build-config npm package includes a malicious payload in its lib/telemetry.js file that activates immediately when the package is required. It collects the local machine's hostname and username, encrypts this information with a hardcoded 32-byte AES-256-CBC key, and encodes the ciphertext in base32. The encoded data is then split into DNS labels and exfiltrated via DNS A record queries to subdomains of cdn-assets.liderydigital.com, using a covert DNS tunnel designed to bypass HTTP egress controls. The use of silent try/catch blocks hides errors, and the telemetry naming and encryption key are deceptive measures to disguise the identity exfiltration. This behavior is unrelated to the package's declared function of providing build configuration, indicating malicious intent.
Potential Impact
Any system with the nwfp-build-config package installed or running is considered fully compromised. The attacker gains access to sensitive identity information and potentially full control of the system. All secrets and keys stored on the affected computer are at risk and should be rotated immediately from a secure, unaffected system. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the compromise.
Mitigation Recommendations
Remove the nwfp-build-config package immediately from all affected systems. Rotate all secrets, credentials, and keys that were stored or used on the compromised machines, performing this rotation from a clean, trusted environment. Conduct a thorough investigation and remediation of the affected systems, as the presence of this package indicates a full compromise. There is no official patch or fix for this malicious package; mitigation relies on removal and credential rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-18107
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fj85-27r8-hgfg"]
- Ecosystems
- ["npm"]
Threat ID: 6ad7ec4d2cdf04f6566ba1c0
Added to database: 10/20/2026, 22:33:49 UTC
Last enriched: 10/20/2026, 22:43:54 UTC
Last updated: 10/20/2026, 22:43:54 UTC
Views: 5
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.