Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in devplatform-spa-plugin-beaver (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:44:22 UTC)
Source: GCVE Database
Product: devplatform-spa-plugin-beaver

Description

The devplatform-spa-plugin-beaver npm package version 35.2.2 contains malicious code that downloads and executes an opaque binary payload from obfuscated Cloudflare Workers URLs. The payload is saved to temporary system directories with disguised filenames and executed detached from the parent process. A DNS-TXT covert channel is used as a fallback communication method to bypass HTTP egress filtering. Execution is controlled to occur only once per host and can be disabled by specific environment variables. The fetched payload is unrelated to the package's advertised functionality and originates from suspicious domains outside the npm registry or vendor hosts.

Affected software

npmghsa
devplatform-spa-plugin-beaver
Affected versions
=35.2.2

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

AILast updated: 08/05/2026, 16:41:06 UTC

Technical Analysis

The devplatform-spa-plugin-beaver package (version 35.2.2) includes malicious code in its _init.js file that, upon require(), dynamically constructs Cloudflare Workers hostnames to download an unsigned binary payload. This payload is stored in temporary directories with system-like filenames and executed detached from the parent process to persist beyond the require call. Additionally, a DNS-TXT record covert channel over specific subdomains provides a fallback method for payload delivery, circumventing HTTP egress filtering. The execution is gated by environment variables that opt out of telemetry and analytics, and a time-to-live marker ensures the payload executes only once per fresh host to reduce detection. The payload's source domains and behavior are inconsistent with legitimate npm package operations, indicating malicious intent.

Potential Impact

The malicious payload execution can lead to unauthorized code execution on affected systems, potentially allowing attackers to run arbitrary binaries outside the npm ecosystem. The use of covert DNS channels and obfuscated download URLs complicates detection and network filtering. The payload runs with the privileges of the executing user and persists beyond the initial package require call, increasing the risk of stealthy compromise. There is no indication of direct data exfiltration or further payload capabilities from the provided data, but the capability to execute arbitrary code poses a significant security risk.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.2.2 of devplatform-spa-plugin-beaver from their environments and avoid installing it. Employ strict package source verification and integrity checks to prevent installation of malicious packages. Monitor for presence of unexpected binaries in temporary directories and suspicious DNS TXT queries to the indicated domains. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates on remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12762
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735739bf8831d53914f883

Added to database: 08/05/2026, 15:31:05 UTC

Last enriched: 08/05/2026, 16:41:06 UTC

Last updated: 08/05/2026, 16:41:06 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses