mal-2026-4351
Vulnerability from ossf_malicious_packages
-= 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:
- The package executes one or more commands associated with malicious behavior.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"domains": [
"oob.moika.tech"
],
"evidence_files": [
{
"path": "scripts/postinstall.js",
"sha256": "542272675f9851eb487b2a71b63878c1b42679791db5578f3628f5011f1e0f7c",
"tlsh": "9ad1dcdb62f7653413d6a2d9e91b6412e237b1033a05e8a0f96c41105f8657cd2b3eed"
}
],
"package_integrity": [
{
"filename": "ui-event-9.9.10.tgz",
"hashes": {
"sha1": "3b6af0c44681d31d7a7cb6670811a38f0e0199c8",
"sha512_sri": "sha512-dm0S83wgqC1lQqNcmbmVOVGzxMgZXVBOpFpT14ukqVrj/9zWPOMrZhLLcsVnusr3FMeNQL4rOB/eMvT9NYjJvw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@databus-service-ui/ui-event"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"9.9.10"
]
}
],
"aliases": [
"GHSA-jcmj-fj4g-6rh7"
],
"credits": [
{
"contact": [
"actran@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://github.com/ossf/package-analysis",
"https://openssf.slack.com/channels/package_analysis"
],
"name": "OpenSSF: Package Analysis",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"import_time": "2026-05-26T00:54:40.325985182Z",
"modified_time": "2026-05-25T18:29:48Z",
"sha256": "752585d612fa7ecd3a4fc5aa8bd4a7fbfbb854b9bffec46ea29eab8351f46aab",
"source": "ossf-package-analysis",
"versions": [
"9.9.10"
]
},
{
"id": "IN-MAL-2026-004752",
"import_time": "2026-05-26T05:53:12.905492037Z",
"modified_time": "2026-05-25T18:12:01Z",
"sha256": "b82b3af71dce087a185cffa6f3691ad5a4e4c3d9e35154070ef4ad0dd4f15b10",
"source": "amazon-inspector",
"versions": [
"9.9.10"
]
},
{
"id": "IN-MAL-2026-004755",
"import_time": "2026-05-26T05:53:13.280335369Z",
"modified_time": "2026-05-25T18:12:06Z",
"sha256": "ef9474f251bcce8857cd64a86dd5abb563bd031a33d18b0620c0472507e35e1b",
"source": "amazon-inspector",
"versions": [
"9.9.10"
]
},
{
"id": "GHSA-jcmj-fj4g-6rh7",
"import_time": "2026-05-28T15:25:19.331590089Z",
"modified_time": "2026-05-28T13:39:43Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "bdba8e529de27630855b1371bb790ac8f5a03fcb4004f230b69595544cddf050",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b82b3af71dce087a185cffa6f3691ad5a4e4c3d9e35154070ef4ad0dd4f15b10)\nscripts/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) \u2014 a textbook dependency-confusion shape designed to win resolution over an internal package of the same name. The script\u0027s own comment self-labels it as a \u0027Dependency confusion payload \u2014 AUTHORIZED TESTING ONLY\u0027 and reports `poc: \u0027dependency-confusion-npm\u0027`, but from any installer\u0027s perspective the harm \u2014 full CI credential compromise plus arbitrary code execution from oob.moika.tech \u2014 is identical to a real attack.\n\n## Source: ghsa-malware (bdba8e529de27630855b1371bb790ac8f5a03fcb4004f230b69595544cddf050)\nAny 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.\n\n## Source: ossf-package-analysis (752585d612fa7ecd3a4fc5aa8bd4a7fbfbb854b9bffec46ea29eab8351f46aab)\nThe OpenSSF Package Analysis project identified \u0027@databus-service-ui/ui-event\u0027 @ 9.9.10 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n",
"id": "MAL-2026-4351",
"modified": "2026-05-28T15:26:36Z",
"published": "2026-05-25T18:12:01Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@databus-service-ui/ui-event/v/9.9.10"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-jcmj-fj4g-6rh7"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @databus-service-ui/ui-event (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.