Malicious code in trapp-configuration (npm)
The npm package 'trapp-configuration' version 20.5.3 contains malicious code that downloads and executes an opaque binary from Cloudflare Workers hosts without verification. If the primary download method fails, it uses a covert DNS-TXT channel to reconstruct and execute the binary. The binary is saved under disguised filenames and executed detached via system shell commands, indicating deliberate evasion techniques.
AI Analysis
Technical Summary
The 'trapp-configuration' npm package version 20.5.3 includes a malicious component in its _adapter.js file. This component dynamically constructs hostnames to download an opaque binary from Cloudflare Workers hosts, saves it to temporary directories with disguised filenames, sets executable permissions, and executes it detached via child_process spawn using system shells (/bin/sh or cmd). If the HTTP download fails, it falls back to a covert DNS-TXT channel to retrieve and reconstruct the binary payload from DNS TXT records under the domain *.dl.well1.site. There is no integrity verification of the downloaded binary. The use of hostname string-splitting and disguised filenames suggests intentional evasion rather than benign build behavior.
Potential Impact
This malicious behavior allows arbitrary binary code execution on the host system where the package is installed, potentially leading to full system compromise. The lack of hash or signature verification increases the risk of executing tampered or malicious payloads. The covert DNS-TXT fallback channel further complicates detection and mitigation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using version 20.5.3 of 'trapp-configuration'. Investigate and remove this package from affected environments. Monitor for any binaries or processes spawned from temporary directories with suspicious names. Check vendor advisories or trusted sources for updates or patches. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in trapp-configuration (npm)
Description
The npm package 'trapp-configuration' version 20.5.3 contains malicious code that downloads and executes an opaque binary from Cloudflare Workers hosts without verification. If the primary download method fails, it uses a covert DNS-TXT channel to reconstruct and execute the binary. The binary is saved under disguised filenames and executed detached via system shell commands, indicating deliberate evasion techniques.
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 'trapp-configuration' npm package version 20.5.3 includes a malicious component in its _adapter.js file. This component dynamically constructs hostnames to download an opaque binary from Cloudflare Workers hosts, saves it to temporary directories with disguised filenames, sets executable permissions, and executes it detached via child_process spawn using system shells (/bin/sh or cmd). If the HTTP download fails, it falls back to a covert DNS-TXT channel to retrieve and reconstruct the binary payload from DNS TXT records under the domain *.dl.well1.site. There is no integrity verification of the downloaded binary. The use of hostname string-splitting and disguised filenames suggests intentional evasion rather than benign build behavior.
Potential Impact
This malicious behavior allows arbitrary binary code execution on the host system where the package is installed, potentially leading to full system compromise. The lack of hash or signature verification increases the risk of executing tampered or malicious payloads. The covert DNS-TXT fallback channel further complicates detection and mitigation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using version 20.5.3 of 'trapp-configuration'. Investigate and remove this package from affected environments. Monitor for any binaries or processes spawned from temporary directories with suspicious names. Check vendor advisories or trusted sources for updates or patches. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12485
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735747bf8831d53915a0bb
Added to database: 08/05/2026, 15:31:19 UTC
Last enriched: 08/05/2026, 17:38:14 UTC
Last updated: 08/05/2026, 17:38:14 UTC
Views: 2
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.