mal-2026-4436
Vulnerability from ossf_malicious_packages
Published
2026-05-25 18:07
Modified
2026-05-28 15:26
Summary
Malicious code in @service-suppliers/select-supplier-watcher-saga (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (3829c1a8be4ed51ad5c9d714d223cb037f7d76df868b73e63c69c6c60ff8dbf3)

On npm install, scripts/postinstall.js fetches a platform-specific script from https://oob.moika.tech/payload/{linux|mac|win}, writes it to the OS temp directory as ._service-suppliers_init.{sh,bat}, chmods 0755, and detached-spawns it via /bin/sh or cmd.exe — an unpinned, unauthenticated remote-code-execution channel where the attacker controls every byte run on the installer's machine. The same script iterates process.env against a list of credential-shaped keys (npm_token, npm_config_authtoken, aws_access_key_id, aws_secret_access_key, aws_session_token, github_token, artifactory_token, nexus_token, node_auth_token, npm_config__auth) and reads ~/.npmrc, /etc/npmrc,./.npmrc, and../.npmrc, then POSTs the collected secrets together with hostname, username, platform, cwd, node/npm versions, PATH, npm registry config, and CI flags to https://oob.moika.tech/report with an X-Secret header. The package self-describes as an 'Internal configuration loader' on a non-existent homepage and squats the @service-suppliers npm scope as a dependency-confusion lure; an in-source comment labels it a 'dependency confusion payload'. Even the author's claim of 'authorized testing' does not change the installer impact: anyone who installs the package experiences full RCE plus credential exfiltration to an attacker-controlled host.

Source: ghsa-malware (a3fda50554d3f545b0e2b578afa383383215f1754d047ee41692bd092f600dbe)

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": "a984b3129e5a5f8ac193e4137c8fa64376603208038cf83117f292b5a485f5e6",
              "tlsh": "94d1ccdb62f7553406d6a5ead91b6412d623b1033906f8e0f65c51005f8a9ac8173eed"
            }
          ],
          "package_integrity": [
            {
              "filename": "select-supplier-watcher-saga-9.9.10.tgz",
              "hashes": {
                "sha1": "a450f46a500a31a5128d588069156dc229d7b2ef",
                "sha512_sri": "sha512-/JIT6yfNC1lCtNXiwWjkfef5WLOrVAshZKpaoVhY8oWVNuOPWBPnKfDg69nmFny6q3upzGJ3h9QDsXy0pJvNGQ=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@service-suppliers/select-supplier-watcher-saga"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "9.9.10"
      ]
    }
  ],
  "aliases": [
    "GHSA-3f9q-2rjw-5grc"
  ],
  "credits": [
    {
      "contact": [
        "actran@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-004746",
        "import_time": "2026-05-26T05:53:12.244096323Z",
        "modified_time": "2026-05-25T18:10:10Z",
        "sha256": "15f8804a011b27dc3ebb9c56e9e3d0bf34bfbd3724e54455678ea64db7c9b76e",
        "source": "amazon-inspector",
        "versions": [
          "9.9.10"
        ]
      },
      {
        "id": "IN-MAL-2026-004740",
        "import_time": "2026-05-26T05:53:11.566426492Z",
        "modified_time": "2026-05-25T18:07:57Z",
        "sha256": "3829c1a8be4ed51ad5c9d714d223cb037f7d76df868b73e63c69c6c60ff8dbf3",
        "source": "amazon-inspector",
        "versions": [
          "9.9.10"
        ]
      },
      {
        "id": "GHSA-3f9q-2rjw-5grc",
        "import_time": "2026-05-28T15:25:19.322846918Z",
        "modified_time": "2026-05-28T13:39:50Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "a3fda50554d3f545b0e2b578afa383383215f1754d047ee41692bd092f600dbe",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3829c1a8be4ed51ad5c9d714d223cb037f7d76df868b73e63c69c6c60ff8dbf3)\nOn `npm install`, scripts/postinstall.js fetches a platform-specific script from https://oob.moika.tech/payload/{linux|mac|win}, writes it to the OS temp directory as `._service-suppliers_init.{sh,bat}`, chmods 0755, and detached-spawns it via /bin/sh or cmd.exe \u2014 an unpinned, unauthenticated remote-code-execution channel where the attacker controls every byte run on the installer\u0027s machine. The same script iterates process.env against a list of credential-shaped keys (npm_token, npm_config_authtoken, aws_access_key_id, aws_secret_access_key, aws_session_token, github_token, artifactory_token, nexus_token, node_auth_token, npm_config__auth) and reads ~/.npmrc, /etc/npmrc,./.npmrc, and../.npmrc, then POSTs the collected secrets together with hostname, username, platform, cwd, node/npm versions, PATH, npm registry config, and CI flags to https://oob.moika.tech/report with an X-Secret header. The package self-describes as an \u0027Internal configuration loader\u0027 on a non-existent homepage and squats the @service-suppliers npm scope as a dependency-confusion lure; an in-source comment labels it a \u0027dependency confusion payload\u0027. Even the author\u0027s claim of \u0027authorized testing\u0027 does not change the installer impact: anyone who installs the package experiences full RCE plus credential exfiltration to an attacker-controlled host.\n\n## Source: ghsa-malware (a3fda50554d3f545b0e2b578afa383383215f1754d047ee41692bd092f600dbe)\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-4436",
  "modified": "2026-05-28T15:26:36Z",
  "published": "2026-05-25T18:07:57Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@service-suppliers/select-supplier-watcher-saga/v/9.9.10"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-3f9q-2rjw-5grc"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @service-suppliers/select-supplier-watcher-saga (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…