---
id: "GHSA-c2qc-c78r-386v"
kind: "package"
aliases: ["GHSA-c2qc-c78r-386v", "MAL-2026-18295"]
title: "Malicious code in @capsense/core-ui (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@capsense/core-ui", "fixed": [], "affected": "all versions", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-25T18:54:07+00:00"
first_seen_at: "2026-10-26T20:51:54+00:00"
updated_at: "2026-10-26T21:05:48+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18295", "first_seen_at": "2026-10-26T20:51:54+00:00"}]
---

# Malicious code in @capsense/core-ui (npm)

## Affected

- npm:@capsense/core-ui affected all versions fixed ?

## Timeline

- 2026-10-26T20:51:54+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18295

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (cd830a923fd6fbe61525c9d152a75384cbd42624a45edc957c2f055ff8fa61a8)
@capsense/core-ui@99.99.100 is published to the public npm registry under a scoped name at an implausibly high version, a shape used to override an organization's internal package of the same scope during resolution. The package's package.json declares preinstall, install, and postinstall lifecycle scripts that all invoke `node beacon.js`. beacon.js uses `os.hostname()`, `os.userInfo()`, and `os.platform()` to collect the installer's hostname, username, and platform, and transmits those identifiers to two attacker-controlled collectors: a subdomain of oast.pro (dbf2v9d8dg559apcd93guf6i7uxrn5coo.oast.pro) via DNS lookup and HTTPS GET, and webhook.site via query string. The beacon fires automatically on every `npm install`, before any code review of the package contents. Framing in the package description as a disclosure/PoC does not change the behavior: a successful dependency-confusion resolution causes installer-identifying data to leave the build or developer machine to third-party endpoints the installer did not configure.

## Source: ghsa-malware (8dd872ff56a52224cbe6127a26c4f696ba91dc3d8c6d52f4d3dfc8b8a0529b1a)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

## Source: ossf-package-analysis (8392b3f36f3576b4ce8308df7d98e3cfd6b68b6873116743a022c9940ee4515d)
The OpenSSF Package Analysis project identified '@capsense/core-ui' @ 99.99.100 (npm) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
