@service-user-notifications/set_notifications_not_removable
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-r7vx-hgm4-ggqf
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @service-user-notifications/set_notifications_not_removable (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (a890f1cd8313de802c1425ca5603b7d1fabaf84cb1e47b582a4633dae34ccf14)
On npm install, scripts/postinstall.js fetches a platform-specific binary from https://oob.moika.tech/payload/{linux|mac|win}, writes it to a hidden temp file, chmods 755, and spawns it via /bin/sh or cmd.exe — unconditional remote code execution on the installer's machine from an attacker-controlled, non-publisher domain. The same script then enumerates environment variables for tokens (npm_token, npm_config_authtoken, github_token, aws_access_key_id, aws_secret_access_key, aws_session_token, artifactory_token, nexus_token, node_auth_token), reads ~/.npmrc, /etc/npmrc, and the cwd.npmrc, and bundles host fingerprint data (hostname, username, platform, cwd, PATH, node/npm versions, CI detection, private-registry indicator) into a JSON report POSTed to https://oob.moika.tech/report. The package name (@service-user-notifications/set_notifications_not_removable) and the report field poc: 'dependency-confusion-npm' indicate a dependency-confusion attack targeting installs that resolve internal-looking scopes against the public registry. A self-labeled 'authorized testing' comment does not change the impact on any third-party installer who resolves this package.
Source: ghsa-malware (fec07387f0a23fc0e67e67d266478aea272bd9b166d20955d635b47296f89889)
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.
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