@databus-service-ui/ui-event
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-jcmj-fj4g-6rh7
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @databus-service-ui/ui-event (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (b82b3af71dce087a185cffa6f3691ad5a4e4c3d9e35154070ef4ad0dd4f15b10)
scripts/postinstall.js performs two install-time attacks against any machine that runs npm install. (1) Credential exfiltration: it iterates process.env collecting variables whose names match npm_token, github_token, aws_access_key_id, aws_secret_access_key, artifactory_token, nexus_token, node_auth_token, npm_config__auth, etc.; reads ~/.npmrc, /etc/npmrc, and the CWD.npmrc; bundles these with hostname/user/cwd/CI flags; and POSTs the bundle to https://oob.moika.tech/report. (2) Remote code execution: it fetches an OS-specific script from https://oob.moika.tech/payload/{linux,mac,win} (unpinned, no integrity check), writes it to os.tmpdir() as._databus-service-ui_init.sh/.bat, chmods 0755, and spawns it via /bin/sh or cmd.exe detached. Package is scoped @databus-service-ui/* with version 9.9.10 and README pointing at an internal-only registry (npm.databus-service-ui.io) — a textbook dependency-confusion shape designed to win resolution over an internal package of the same name. The script's own comment self-labels it as a 'Dependency confusion payload — AUTHORIZED TESTING ONLY' and reports poc: 'dependency-confusion-npm', but from any installer's perspective the harm — full CI credential compromise plus arbitrary code execution from oob.moika.tech — is identical to a real attack.
Source: ghsa-malware (bdba8e529de27630855b1371bb790ac8f5a03fcb4004f230b69595544cddf050)
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 (752585d612fa7ecd3a4fc5aa8bd4a7fbfbb854b9bffec46ea29eab8351f46aab)
The OpenSSF Package Analysis project identified '@databus-service-ui/ui-event' @ 9.9.10 (npm) as malicious.
It is considered malicious because:
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0