MAL-2026-18295: Malicious code in @capsense/core-ui (npm)
--- -= 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
@capsense/core-uifrom your environment.Remove the malicious @capsense/core-ui package from any computer where it is installed or running.
- Operational
Rotate all secrets and keys stored on any affected computer immediately, performing the rotation from a different computer.