mal-2026-4439
Vulnerability from ossf_malicious_packages
Published
2026-05-25 18:09
Modified
2026-05-28 15:26
Summary
Malicious code in @service-user-notifications/set_notifications_not_removable (npm)
Details

-= 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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits
Amazon Inspector actran@amazon.com

{
  "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": "edca84da82aa5031f8a6e760bcd6d6e1b9f4debf1039bce54542f6332c35fadb",
              "tlsh": "cbd197df22f7513407d6a6e6e91b6402e237b1033d06ecb4f6ac51105f8a66c9273de9"
            }
          ],
          "package_integrity": [
            {
              "filename": "set_notifications_not_removable-9.9.10.tgz",
              "hashes": {
                "sha1": "24c0f587b99340a40e98b3214ec85c923cd92aaa",
                "sha512_sri": "sha512-4NmXhWjYmGY6BoMgHGmhQcfmsANeYh/wP6nRNNHeMCkz41j8l+NICk5TDPfCiec7/os8Sj3QX5y2XfM36lKe1A=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@service-user-notifications/set_notifications_not_removable"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "9.9.10"
      ]
    }
  ],
  "aliases": [
    "GHSA-r7vx-hgm4-ggqf"
  ],
  "credits": [
    {
      "contact": [
        "actran@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-004747",
        "import_time": "2026-05-26T05:53:12.347079058Z",
        "modified_time": "2026-05-25T18:10:11Z",
        "sha256": "38df35b056373b2a4115a8f49490a34be5c45a9ad342abb385cfd3a72dcb9f72",
        "source": "amazon-inspector",
        "versions": [
          "9.9.10"
        ]
      },
      {
        "id": "IN-MAL-2026-004742",
        "import_time": "2026-05-26T05:53:11.853199427Z",
        "modified_time": "2026-05-25T18:09:31Z",
        "sha256": "a890f1cd8313de802c1425ca5603b7d1fabaf84cb1e47b582a4633dae34ccf14",
        "source": "amazon-inspector",
        "versions": [
          "9.9.10"
        ]
      },
      {
        "id": "GHSA-r7vx-hgm4-ggqf",
        "import_time": "2026-05-28T15:25:19.33644353Z",
        "modified_time": "2026-05-28T13:39:52Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "fec07387f0a23fc0e67e67d266478aea272bd9b166d20955d635b47296f89889",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a890f1cd8313de802c1425ca5603b7d1fabaf84cb1e47b582a4633dae34ccf14)\nOn `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 \u2014 unconditional remote code execution on the installer\u0027s 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: \u0027dependency-confusion-npm\u0027` indicate a dependency-confusion attack targeting installs that resolve internal-looking scopes against the public registry. A self-labeled \u0027authorized testing\u0027 comment does not change the impact on any third-party installer who resolves this package.\n\n## Source: ghsa-malware (fec07387f0a23fc0e67e67d266478aea272bd9b166d20955d635b47296f89889)\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",
  "id": "MAL-2026-4439",
  "modified": "2026-05-28T15:26:36Z",
  "published": "2026-05-25T18:09:31Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@service-user-notifications/set_notifications_not_removable/v/9.9.10"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-r7vx-hgm4-ggqf"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @service-user-notifications/set_notifications_not_removable (npm)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…