Skip to main content
MalwarePublished

dotnet-runtime-base (npm) · Malicious Code

Affects dotnet-runtime-baseSource GCVE Database

0

Malicious package : remove dotnet-runtime-base and rotate any secrets on hosts that installed it.

Data as of 13 Jul 2026, 09:52 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10217

What to do

Remove dotnet-runtime-base from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmdotnet-runtime-baseAffected
  • =1.0.5
  • =1.0.4
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…