Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    MAL-2026-20330 (GHSA-6CRJ-9FXX-V653)

    Vulnerability from ossf_malicious_packages – Published: 2026-11-22 04:08 – Updated: 2026-11-22 07:19 – Source website
    Malicious package
    Summary
    Malicious code in @leadstack/crm-connect (npm)
    Affected package
    Ecosystem Package Versions
    npm @leadstack/crm-connect
    1.0.151.0.201.0.301.0.211.0.191.0.181.0.29
    Details
    Amazon Inspector IN-MAL-2026-023020 Reported 2026-11-22 04:09

    Package advertises itself as a 'LeadStack CRM' Node.js connector for lead ingest and routing, but its postinstall script performs a coordinated backdoor deployment on the installer's host. The script fetches configuration from a hardcoded bare-IP endpoint over plain HTTP (http://72.62.1.108:3000/api/v1/partner/bootstrap), writes the returned env_lines and a SOUL.md profile into a hidden ~/.leadstack directory, then creates ~/.leadstack/runtime and runs npm install --ignore-engines hermes-agent@0.22.7 into it — pulling an unrelated agent package into a concealed runtime directory. It then invokes hermes-npm setup and hermes setup gateway --install --system --run-as-user root --no-start-now, installing a boot-persistent root-privileged systemd unit. The unit file is copied to /etc/systemd/system/leadstack-routing.service with Hermes Agent Gateway strings rewritten to LeadStack routing, and the original unit is disabled and deleted — deliberate concealment of the persistence artifact's origin. The service is then enabled and started, and the script waits for a Telegram polling-mode channel to come up, configuring an LLM model provider (kimi-coding). The resulting daemon runs as root on every boot and takes commands from a remote Telegram channel, giving the operator of 72.62.1.108 and the Telegram bot full remote code execution on the installer's host. The configuration source (bare-IP, plain HTTP, unpinned content) means the C2 operator controls what the daemon runs on every installer. The CRM connector framing in package.json and README does not match any of this behavior.

    GitHub Advisory Database GHSA-6crj-9fxx-v653 Reported 2026-11-22 06:53

    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.

    Amazon Inspector IN-MAL-2026-023018 Reported 2026-11-22 04:08

    No description from this source.

    Amazon Inspector IN-MAL-2026-023021 Reported 2026-11-22 04:09

    No description from this source.

    Amazon Inspector IN-MAL-2026-023019 Reported 2026-11-22 04:08

    No description from this source.

    Amazon Inspector IN-MAL-2026-023022 Reported 2026-11-22 04:09

    No description from this source.

    Amazon Inspector IN-MAL-2026-023023 Reported 2026-11-22 04:09

    No description from this source.

    Indicators
    Type Indicator Hashes
    Evidence file bin/lead-provision.js
    sha256 588b35c86b3759ccde6d6d160a09115b79b8bd2433a62883e3cfb87a1afa6163
    tlsh 2d32b805caf72b354ab76077758b6022326d98033486f881b7dc00d5af9e46dc27bdad
    Package archive crm-connect-1.0.15.tgz
    sha1 1e5d141fa42d0409b7f7ab328597f10d40e1f26e
    sha512_sri sha512-l+j95GW1z+5DX9XRFpwBgCrvzrw1a9DJnAcMucsGYd9u60F28SX5NdGPbixqRkZDZf2oldM4bUPV6ecN1NkOvw==
    CWE
    • CWE-506 - Embedded Malicious Code
    Credits
    Amazon Inspector inspector-research@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"
              },
              {
                "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"
              },
              {
                "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"
              },
              {
                "cweId": "CWE-506",
                "description": "The product contains code that appears to be malicious in nature.",
                "name": "Embedded Malicious Code"
              }
            ],
            "indicators": {
              "evidence_files": [
                {
                  "path": "bin/lead-provision.js",
                  "sha256": "588b35c86b3759ccde6d6d160a09115b79b8bd2433a62883e3cfb87a1afa6163",
                  "tlsh": "2d32b805caf72b354ab76077758b6022326d98033486f881b7dc00d5af9e46dc27bdad"
                }
              ],
              "package_integrity": [
                {
                  "filename": "crm-connect-1.0.15.tgz",
                  "hashes": {
                    "sha1": "1e5d141fa42d0409b7f7ab328597f10d40e1f26e",
                    "sha512_sri": "sha512-l+j95GW1z+5DX9XRFpwBgCrvzrw1a9DJnAcMucsGYd9u60F28SX5NdGPbixqRkZDZf2oldM4bUPV6ecN1NkOvw=="
                  }
                }
              ]
            }
          },
          "package": {
            "ecosystem": "npm",
            "name": "@leadstack/crm-connect"
          },
          "versions": [
            "1.0.15",
            "1.0.20",
            "1.0.30",
            "1.0.21",
            "1.0.19",
            "1.0.18",
            "1.0.29"
          ]
        }
      ],
      "aliases": [
        "GHSA-6crj-9fxx-v653"
      ],
      "credits": [
        {
          "contact": [
            "inspector-research@amazon.com"
          ],
          "name": "Amazon Inspector",
          "type": "FINDER"
        }
      ],
      "database_specific": {
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-023020",
            "import_time": "2026-11-22T04:13:33.365976039Z",
            "modified_time": "2026-11-22T04:09:01Z",
            "sha256": "137530bcdc8f89e583e0beaef05d5faec104a1d279127586fcbf5c884c616d35",
            "source": "amazon-inspector",
            "versions": [
              "1.0.15"
            ]
          },
          {
            "id": "IN-MAL-2026-023018",
            "import_time": "2026-11-22T04:13:33.104413863Z",
            "modified_time": "2026-11-22T04:08:47Z",
            "sha256": "78afcfeaf5a570698166f9df4c5bf68e5f95a7f534be9f4b8a84cf036ab70896",
            "source": "amazon-inspector",
            "versions": [
              "1.0.20"
            ]
          },
          {
            "id": "IN-MAL-2026-023021",
            "import_time": "2026-11-22T04:13:33.481017396Z",
            "modified_time": "2026-11-22T04:09:08Z",
            "sha256": "9779dc84ed4d0e937b0a115f839af51a3db00d9647fd6bc18b0968b0369ddfbb",
            "source": "amazon-inspector",
            "versions": [
              "1.0.30"
            ]
          },
          {
            "id": "IN-MAL-2026-023019",
            "import_time": "2026-11-22T04:13:33.271285532Z",
            "modified_time": "2026-11-22T04:08:55Z",
            "sha256": "b0a044ca98c06397328240233b75601c943290f3ce05483f885594025d87a51f",
            "source": "amazon-inspector",
            "versions": [
              "1.0.21"
            ]
          },
          {
            "id": "IN-MAL-2026-023022",
            "import_time": "2026-11-22T04:13:33.588405923Z",
            "modified_time": "2026-11-22T04:09:15Z",
            "sha256": "de947aba4d901bd07fa24691586bee43cf4bdff2e79f576f553cb7dc3a7f87df",
            "source": "amazon-inspector",
            "versions": [
              "1.0.19"
            ]
          },
          {
            "id": "IN-MAL-2026-023023",
            "import_time": "2026-11-22T04:13:33.694218471Z",
            "modified_time": "2026-11-22T04:09:24Z",
            "sha256": "4fb58351888ce50ae8b3553388bd95c474af5118f5392337e7981f22f10f0b70",
            "source": "amazon-inspector",
            "versions": [
              "1.0.18"
            ]
          },
          {
            "id": "GHSA-6crj-9fxx-v653",
            "import_time": "2026-11-22T07:17:50.223523572Z",
            "modified_time": "2026-11-22T06:53:07Z",
            "sha256": "327afd7445e5c86dc514045f8da08de4e7d1abef1b5427dc14d7ea4d0221e0bc",
            "source": "ghsa-malware",
            "versions": [
              "1.0.20",
              "1.0.21",
              "1.0.18",
              "1.0.29",
              "1.0.19",
              "1.0.15"
            ]
          }
        ]
      },
      "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (137530bcdc8f89e583e0beaef05d5faec104a1d279127586fcbf5c884c616d35)\nPackage advertises itself as a \u0027LeadStack CRM\u0027 Node.js connector for lead ingest and routing, but its postinstall script performs a coordinated backdoor deployment on the installer\u0027s host. The script fetches configuration from a hardcoded bare-IP endpoint over plain HTTP (http://72.62.1.108:3000/api/v1/partner/bootstrap), writes the returned env_lines and a SOUL.md profile into a hidden ~/.leadstack directory, then creates ~/.leadstack/runtime and runs `npm install --ignore-engines hermes-agent@0.22.7` into it \u2014 pulling an unrelated agent package into a concealed runtime directory. It then invokes `hermes-npm setup` and `hermes setup gateway --install --system --run-as-user root --no-start-now`, installing a boot-persistent root-privileged systemd unit. The unit file is copied to /etc/systemd/system/leadstack-routing.service with `Hermes Agent Gateway` strings rewritten to `LeadStack routing`, and the original unit is disabled and deleted \u2014 deliberate concealment of the persistence artifact\u0027s origin. The service is then enabled and started, and the script waits for a Telegram polling-mode channel to come up, configuring an LLM model provider (kimi-coding). The resulting daemon runs as root on every boot and takes commands from a remote Telegram channel, giving the operator of 72.62.1.108 and the Telegram bot full remote code execution on the installer\u0027s host. The configuration source (bare-IP, plain HTTP, unpinned content) means the C2 operator controls what the daemon runs on every installer. The CRM connector framing in package.json and README does not match any of this behavior.\n\n## Source: ghsa-malware (327afd7445e5c86dc514045f8da08de4e7d1abef1b5427dc14d7ea4d0221e0bc)\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-20330",
      "modified": "2026-11-22T07:19:08.117907812Z",
      "published": "2026-11-22T04:08:47Z",
      "references": [
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@leadstack/crm-connect/v/1.0.15"
        },
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@leadstack/crm-connect/v/1.0.20"
        },
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@leadstack/crm-connect/v/1.0.30"
        },
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@leadstack/crm-connect/v/1.0.21"
        },
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@leadstack/crm-connect/v/1.0.19"
        },
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@leadstack/crm-connect/v/1.0.18"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-6crj-9fxx-v653"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "Malicious code in @leadstack/crm-connect (npm)"
    }