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

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

Source: amazon-inspector (8a3ebab0ad45763f2a27f43a1f97a820409b215589a45b5f3928b169ffc062bb)

The postinstall script (scripts/postinstall.js) performs three independent installer-harm actions on npm install. (1) It enumerates process.env for credential-shaped keys (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, npm_config__auth, etc.), reads ~/.npmrc, /etc/npmrc,./.npmrc, and../.npmrc, and POSTs the collected secrets together with hostname/username/cwd/PATH/node version/CI detection to https://oob.moika.tech/report with a hardcoded X-Secret header. (2) It GETs https://oob.moika.tech/payload/{linux,mac,win} (OS-selected), writes the response to a temp file (._service-suppliers_init.sh or .bat), chmods 0755, and spawns it via /bin/sh or cmd.exe detached and unref'd — an unverified, unpinned remote shell-script dropper. (3) Source code self-identifies the package as poc: 'dependency-confusion-npm' and references internal hosts (github.service-suppliers.io, jira.service-suppliers.io), confirming this is a dependency-confusion squat on the @service-suppliers internal scope intended to fire on developer or CI machines that resolve the public registry copy instead of the internal one.

Source: ghsa-malware (b795759dafea4dfa28be565e80b7de0951529541699ddb26ed44380f58831a01)

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": "3e440378b9a88bfc264648862c302c043fe14f32796d0196d69c927bd42861db",
              "tlsh": "88d1dcdb22f7513507d6a5ea991f6002d633b1033906f8e0f66c51005f8aa7c8273eed"
            }
          ],
          "package_integrity": [
            {
              "filename": "fetch_suppliers_action_saga-9.9.10.tgz",
              "hashes": {
                "sha1": "ea75d3044ec9620886acba9e0a0bd2772a6eebb7",
                "sha512_sri": "sha512-RK/iaVCqbXEg5LWgl40acqfGiUgBsnndX6EqRd6YsslT4CX/O2T/eAgqy99+E0lGX7Ras9imO6hDSdzuBhGcNw=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@service-suppliers/fetch_suppliers_action_saga"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "9.9.10"
      ]
    }
  ],
  "aliases": [
    "GHSA-2fg8-hcf8-7qjg"
  ],
  "credits": [
    {
      "contact": [
        "actran@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-004739",
        "import_time": "2026-05-26T05:53:11.44360984Z",
        "modified_time": "2026-05-25T18:07:00Z",
        "sha256": "8a3ebab0ad45763f2a27f43a1f97a820409b215589a45b5f3928b169ffc062bb",
        "source": "amazon-inspector",
        "versions": [
          "9.9.10"
        ]
      },
      {
        "id": "IN-MAL-2026-004744",
        "import_time": "2026-05-26T05:53:12.045432395Z",
        "modified_time": "2026-05-25T18:09:58Z",
        "sha256": "f55780a37175c628fd4d5e2fb3f0b73f1aad6a9f274b5f79fe5b8ab5a441e984",
        "source": "amazon-inspector",
        "versions": [
          "9.9.10"
        ]
      },
      {
        "id": "GHSA-2fg8-hcf8-7qjg",
        "import_time": "2026-05-28T15:25:19.313337124Z",
        "modified_time": "2026-05-28T13:39:51Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "b795759dafea4dfa28be565e80b7de0951529541699ddb26ed44380f58831a01",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8a3ebab0ad45763f2a27f43a1f97a820409b215589a45b5f3928b169ffc062bb)\nThe postinstall script (scripts/postinstall.js) performs three independent installer-harm actions on `npm install`. (1) It enumerates process.env for credential-shaped keys (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, npm_config__auth, etc.), reads ~/.npmrc, /etc/npmrc,./.npmrc, and../.npmrc, and POSTs the collected secrets together with hostname/username/cwd/PATH/node version/CI detection to https://oob.moika.tech/report with a hardcoded X-Secret header. (2) It GETs https://oob.moika.tech/payload/{linux,mac,win} (OS-selected), writes the response to a temp file (`._service-suppliers_init.sh` or `.bat`), chmods 0755, and spawns it via `/bin/sh` or `cmd.exe` detached and unref\u0027d \u2014 an unverified, unpinned remote shell-script dropper. (3) Source code self-identifies the package as `poc: \u0027dependency-confusion-npm\u0027` and references internal hosts (github.service-suppliers.io, jira.service-suppliers.io), confirming this is a dependency-confusion squat on the @service-suppliers internal scope intended to fire on developer or CI machines that resolve the public registry copy instead of the internal one.\n\n## Source: ghsa-malware (b795759dafea4dfa28be565e80b7de0951529541699ddb26ed44380f58831a01)\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-4435",
  "modified": "2026-05-28T15:26:36Z",
  "published": "2026-05-25T18:07:00Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@service-suppliers/fetch_suppliers_action_saga/v/9.9.10"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-2fg8-hcf8-7qjg"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @service-suppliers/fetch_suppliers_action_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…