MAL-2026-4352
Vulnerability from ossf_malicious_packages
Published
2026-05-25 22:00
Modified
2026-06-01 17:04
Summary
Malicious code in xarc-webpack-cli (npm)
Details

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

Source: amazon-inspector (b29d869051afe04db57e24dad1092c70992f83465d60989f5120e17d7fa20310)

The package ships a preinstall hook (node poc.js || true) that runs on every npm install. poc.js collects host fingerprint data (hostname, username, os.platform(), network configuration via ipconfig/ip a/resolv.conf, id, whoami), the parent project's package.json, git remote URLs, CI workflow files, and bulk-scrapes process.env for any key matching a hardcoded prefix list (TOKEN, AWS, AZURE, NPM, GITHUB, GITLAB, JENKINS, CI_, WALMART, WMT, etc.). The collected JSON is POSTed over HTTPS to a hardcoded Interactsh out-of-band collector (d8acb4hon5btn99s9lsgakhs31dmwk9cr.oast.pro) plus a DNS callback to the same host. The package name and the inclusion of WALMART/WMT in the env-var harvest list indicate this is dependency-confusion bait targeting Walmart's internal @xarc/* scope; package.json self-describes it as 'authorized dependency confusion testing' but ships with no authorization gate, so any installer that resolves this name has its CI/CD tokens, cloud credentials, and source metadata shipped to the attacker-controlled OOB host.

Source: ghsa-malware (401efd45edfe86b2e2f3c6a0fb591b94bbae8bb50162ebc0c8bd5bfdfaa9e6f6)

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 (b9a1bb4adee0a346eeb247af4ef6569464a634fe87576a149a44f5ececd15d90)

The OpenSSF Package Analysis project identified 'xarc-webpack-cli' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
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.

{
  "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": [
            "xarc-webpack-cl-7363616e2d62343065373264313965.d8acb4hon5btn99s9lsgakhs31dmwk9cr.oast.pro",
            "d8acb4hon5btn99s9lsgakhs31dmwk9cr.oast.pro"
          ],
          "evidence_files": [
            {
              "path": "poc.js",
              "sha256": "a55ec60cc173499dd4de878b51a274f59f9fe7622f4a969aaa83fd6c063df4ff",
              "tlsh": "8e61a8a446fa2d30266fb061f4cd000412d7c2933246fdd47a8c1a919f9e4b582fb7bd"
            },
            {
              "path": "package.json",
              "sha256": "73e182522b5ca1d8aba41fb83b80d0deb246ae9961eaf2a9564750314ca0f7f3",
              "tlsh": "4de07d3804207d3324d445e01973472aa035cc1a24092c285b73114cc0dfbbb557b54c"
            }
          ],
          "package_integrity": [
            {
              "filename": "xarc-webpack-cli-1.0.0.tgz",
              "hashes": {
                "sha1": "0304b3749df9068ed570bccec953dd3cb8018d77",
                "sha512_sri": "sha512-zD5tbr6Ye2359RwB4OVVLekn+v+QmVJRFjzZP/+JEEml09CKy8t5AlTVEVQW+hDF+lv4/w1M/sRtHEDnWAW1wA=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "xarc-webpack-cli"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-2xcr-5qfc-fq54"
  ],
  "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:38.975038448Z",
        "modified_time": "2026-05-26T00:00:36Z",
        "sha256": "b9a1bb4adee0a346eeb247af4ef6569464a634fe87576a149a44f5ececd15d90",
        "source": "ossf-package-analysis",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-004782",
        "import_time": "2026-05-26T05:53:16.31866149Z",
        "modified_time": "2026-05-25T22:03:56Z",
        "sha256": "2704d8b2d2d258af922882a3b724b2f9e2604964080e294400e1f3879aa46835",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-004781",
        "import_time": "2026-05-26T05:53:16.201034804Z",
        "modified_time": "2026-05-25T22:00:53Z",
        "sha256": "b29d869051afe04db57e24dad1092c70992f83465d60989f5120e17d7fa20310",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "GHSA-2xcr-5qfc-fq54",
        "import_time": "2026-06-01T17:03:32.535162409Z",
        "modified_time": "2026-06-01T15:43:36Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "401efd45edfe86b2e2f3c6a0fb591b94bbae8bb50162ebc0c8bd5bfdfaa9e6f6",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b29d869051afe04db57e24dad1092c70992f83465d60989f5120e17d7fa20310)\nThe package ships a `preinstall` hook (`node poc.js || true`) that runs on every `npm install`. poc.js collects host fingerprint data (hostname, username, `os.platform()`, network configuration via `ipconfig`/`ip a`/`resolv.conf`, `id`, `whoami`), the parent project\u0027s `package.json`, git remote URLs, CI workflow files, and bulk-scrapes `process.env` for any key matching a hardcoded prefix list (`TOKEN`, `AWS`, `AZURE`, `NPM`, `GITHUB`, `GITLAB`, `JENKINS`, `CI_`, `WALMART`, `WMT`, etc.). The collected JSON is POSTed over HTTPS to a hardcoded Interactsh out-of-band collector (`d8acb4hon5btn99s9lsgakhs31dmwk9cr.oast.pro`) plus a DNS callback to the same host. The package name and the inclusion of `WALMART`/`WMT` in the env-var harvest list indicate this is dependency-confusion bait targeting Walmart\u0027s internal `@xarc/*` scope; package.json self-describes it as \u0027authorized dependency confusion testing\u0027 but ships with no authorization gate, so any installer that resolves this name has its CI/CD tokens, cloud credentials, and source metadata shipped to the attacker-controlled OOB host.\n\n## Source: ghsa-malware (401efd45edfe86b2e2f3c6a0fb591b94bbae8bb50162ebc0c8bd5bfdfaa9e6f6)\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 (b9a1bb4adee0a346eeb247af4ef6569464a634fe87576a149a44f5ececd15d90)\nThe OpenSSF Package Analysis project identified \u0027xarc-webpack-cli\u0027 @ 1.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n",
  "id": "MAL-2026-4352",
  "modified": "2026-06-01T17:04:57Z",
  "published": "2026-05-25T22:00:53Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/xarc-webpack-cli/v/1.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-2xcr-5qfc-fq54"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in xarc-webpack-cli (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…