External risk intelligence

react-tracked Malicious Commits Execute Code on Developer Machines During npm Install

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-48160

The vulnerability exists in a development-time dependency and requires a developer to execute 'npm install' on a local machine using an affected source code checkout. It is not an internet-facing service, application, or network-reachable component in a production deployment, as it specifically targets the local developer environment.

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A security issue was found in a development tool that could allow attackers to run malicious code on developer machines during software installation. This occurred through compromised code commits that were later removed, but could still be present in local copies of the software.

  • Malicious code execution during developer installations.
  • Confirms developer machine compromise and credential rotation.
  • Verify if development tools were exposed.

Attack Path

How an attacker could exploit the issue

An attacker could compromise a developer's machine by tricking them into installing a malicious version of a package that fetches and executes arbitrary code. This malicious code could lead to the full compromise of anything reachable by the Node.js process with the user's permissions.

  • Requires developer to install malicious package.
  • Triggered by `npm install` on affected checkout.
  • Risk of full machine compromise.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could affect developer workstations, allowing remote attackers to execute code when `npm install` is run on a compromised code checkout. The malicious code can fetch and execute payloads from attacker-controlled servers, potentially leading to a full compromise of anything reachable by the Node process.

  • Developer machine code.
  • Malicious code executes during `npm install`.
  • Full compromise of the developer machine.

Operational Fix

Recommended remediation, mitigation, and detection steps

The `react-tracked` package's default branch was compromised, allowing remote code execution on developer machines during `npm install`. While the malicious commits were removed from the default branch, local clones, forks, or direct SHA URLs might still contain them. The vulnerability specifically targeted developer workstations and was designed to skip execution in CI or cloud environments. Owners of developer machines who ran `npm install` on affected checkouts should treat their machines as compromised and take immediate steps to remediate.

  • Owner: Development teams managing local developer environments.
  • Verify first: Identify affected local machine checkouts.
  • Action: Rotate credentials and clean local clones.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is react-tracked and its role in software development?

react-tracked is a specialized library used in web development to manage state efficiently in React applications by tracking which components need updates. Developers integrate it into their projects to optimize rendering performance. This vulnerability involves malicious code that was briefly injected into the project's source code history, affecting local development environments rather than the library's official distribution on the npm registry.

How does CVE-2026-48160 allow arbitrary code execution?

This issue is classified as CWE-506, which refers to Embedded Malicious Code. The compromised commits modified the package's post-installation script to secretly fetch and execute external instructions from an attacker-controlled server. Because this script runs automatically with the user's local permissions, it grants an attacker full access to the developer's machine and any systems or credentials that machine can reach.

What specific actions trigger this vulnerability?

The vulnerability is triggered by running 'npm install' within a local repository that contains the specific malicious commits. It is important to note that the malicious code was programmed to detect and skip execution in CI/CD, cloud, or serverless environments. This means the risk is focused strictly on local developer workstations where the compromised checkout is actively used.

Is this CVE a risk for my internet-facing servers?

According to Halo Surface Signal, this is very unlikely to affect production deployments. The threat is scoped to the developer workstation lifecycle and does not involve internet-facing services, applications, or network-reachable infrastructure. The malicious activity occurs during the initial local setup of the source code, making it an endpoint-centric issue rather than a traditional server-side vulnerability.

What are the first steps to secure an affected machine?

If you ran 'npm install' using an affected clone of the repository, assume the workstation is fully compromised. You should immediately rotate all credentials accessible from that machine, such as SSH keys, cloud API tokens, and passwords. Additionally, audit your account activity for unauthorized actions since May 18, 2026, and securely delete or replace any local clones of the project to ensure the malicious files are removed.

References