Malicious code in statist-browser-typed-client-rubliq.platform.keycloak (npm)
The npm package statist-browser-typed-client-rubliq.platform.keycloak masquerades as a legitimate Keycloak typed client but contains malicious code that executes a binary dropper upon require(). It reconstructs obfuscated URLs to download binaries from Cloudflare Workers hosts or uses a DNS-TXT record covert channel as a fallback. The binaries are saved to temporary directories with disguised names, given executable permissions, and executed detached from the main process. The package also includes telemetry-related environment variable checks to disguise its behavior. This results in installer-side arbitrary code execution rather than providing any Keycloak functionality.
AI Analysis
Technical Summary
This malicious npm package named statist-browser-typed-client-rubliq.platform.keycloak executes a binary dropper when loaded. The dropper reconstructs obfuscated destination hostnames to download binaries over HTTPS from Cloudflare Workers hosts. If HTTPS fetching fails, it uses a DNS-TXT record covert channel to reassemble a base64-encoded binary from TXT record chunks. The downloaded binaries are written to temporary directories under disguised filenames, permissions are set to executable, and the binaries are spawned detached using platform-specific shell commands. The code employs evasion techniques such as dynamic string concatenation to hide module and function names from static analysis. Environment variables related to telemetry are checked to provide a cover story for its behavior. The package does not implement any legitimate Keycloak client functionality but instead performs arbitrary code execution on the installer system.
Potential Impact
The package enables arbitrary code execution on the system where it is installed by dropping and running binaries without user consent. This can lead to full system compromise, persistence, and potentially further malicious activities depending on the payload. The malicious behavior is triggered simply by requiring the package, posing a high risk to any project that installs or uses this package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or using the statist-browser-typed-client-rubliq.platform.keycloak package, especially version =20.2.5. Remove any instances of this package from projects and dependency trees. Conduct audits of npm dependencies to detect and exclude this malicious package. Monitor for any updates or advisories from npm or security vendors regarding this package for potential remediation.
Malicious code in statist-browser-typed-client-rubliq.platform.keycloak (npm)
Description
The npm package statist-browser-typed-client-rubliq.platform.keycloak masquerades as a legitimate Keycloak typed client but contains malicious code that executes a binary dropper upon require(). It reconstructs obfuscated URLs to download binaries from Cloudflare Workers hosts or uses a DNS-TXT record covert channel as a fallback. The binaries are saved to temporary directories with disguised names, given executable permissions, and executed detached from the main process. The package also includes telemetry-related environment variable checks to disguise its behavior. This results in installer-side arbitrary code execution rather than providing any Keycloak functionality.
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
This malicious npm package named statist-browser-typed-client-rubliq.platform.keycloak executes a binary dropper when loaded. The dropper reconstructs obfuscated destination hostnames to download binaries over HTTPS from Cloudflare Workers hosts. If HTTPS fetching fails, it uses a DNS-TXT record covert channel to reassemble a base64-encoded binary from TXT record chunks. The downloaded binaries are written to temporary directories under disguised filenames, permissions are set to executable, and the binaries are spawned detached using platform-specific shell commands. The code employs evasion techniques such as dynamic string concatenation to hide module and function names from static analysis. Environment variables related to telemetry are checked to provide a cover story for its behavior. The package does not implement any legitimate Keycloak client functionality but instead performs arbitrary code execution on the installer system.
Potential Impact
The package enables arbitrary code execution on the system where it is installed by dropping and running binaries without user consent. This can lead to full system compromise, persistence, and potentially further malicious activities depending on the payload. The malicious behavior is triggered simply by requiring the package, posing a high risk to any project that installs or uses this package.
Defensive Guidance
No official patch or remediation is currently documented. Users should avoid installing or using the statist-browser-typed-client-rubliq.platform.keycloak package, especially version =20.2.5. Remove any instances of this package from projects and dependency trees. Conduct audits of npm dependencies to detect and exclude this malicious package. Monitor for any updates or advisories from npm or security vendors regarding this package for potential remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12451
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735746bf8831d53915a05c
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 08/05/2026, 17:33:21 UTC
Last updated: 08/05/2026, 17:59:06 UTC
Views: 4
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.