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…

MAL-2026-10217: Malicious code in dotnet-runtime-base (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 01:19:16 UTC)
Source: GCVE Database
Product: dotnet-runtime-base

Description

The npm package dotnet-runtime-base versions 1.0.4 and 1.0.5 contains malicious code in its postinstall script. On Windows systems, the script downloads and executes an attacker-controlled binary from a personal GitHub repository, running it hidden with bypassed execution policies. This behavior results in arbitrary code execution on the installer's machine and likely full system compromise. The malicious payload is designed to evade detection in development and CI environments. Removal of the package does not guarantee elimination of all malicious artifacts. Immediate secret and key rotation is recommended if the package was installed.

Affected software

npmghsa
dotnet-runtime-base
Affected versions
=1.0.5=1.0.4

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: 07/13/2026, 09:52:51 UTC

Technical Analysis

The dotnet-runtime-base npm package versions 1.0.4 and 1.0.5 include a postinstall lifecycle script that executes install.js. On Windows, this script writes a PowerShell script to the temporary directory and uses WebClient.DownloadFile to fetch an executable from an unrelated personal GitHub account's mutable branch. The executable is launched with hidden window style and bypassed execution policy, enabling arbitrary attacker-controlled code execution. The payload avoids running in non-Windows environments and when NODE_ENV is set to 'development', evading developer and CI detection. The lack of hash or signature verification on the downloaded binary increases risk. This results in a fully compromised system upon installation.

Potential Impact

Installing the affected versions of dotnet-runtime-base on Windows leads to arbitrary code execution by downloading and running a hidden attacker-controlled executable. This compromises the entire system, potentially exposing all stored secrets and keys. The attacker gains full control over the compromised machine. Removal of the package alone may not remove all malicious components, indicating persistent compromise.

Mitigation Recommendations

No official patch or fix is currently available. Users should immediately remove the dotnet-runtime-base package versions 1.0.4 and 1.0.5 if installed. Due to the high likelihood of full system compromise, all secrets and keys stored on the affected machine should be rotated from a separate, trusted device. Monitor for any suspicious activity and consider rebuilding the affected system to ensure complete 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-10217
Osv Schema Version
1.7.4
Aliases
["GHSA-9gr8-wg29-9wvv"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54adf568715ace438f7449

Added to database: 07/13/2026, 09:20:53 UTC

Last enriched: 07/13/2026, 09:52:51 UTC

Last updated: 07/13/2026, 23:55:51 UTC

Views: 6

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