Skip to content

← Actionable
Unratedamended

Malicious code in @leadstack/crm-connect (npm)

GHSA-6crj-9fxx-v653

What to do

Vendor response not established. Follow the primary source's mitigation guidance and check back for a fix.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • npm @leadstack/crm-connect

    Affected
    >= 1.0.15, <= 1.0.15>= 1.0.20, <= 1.0.20>= 1.0.30, <= 1.0.30>= 1.0.21, <= 1.0.21>= 1.0.19, <= 1.0.19>= 1.0.18, <= 1.0.18>= 1.0.29, <= 1.0.29
    Fixed in
    no fixed version recorded

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS
not scored
EPSS
No dated EPSS signal available.
Source description

As published by the source; long descriptions are shortened.

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

Source: amazon-inspector (137530bcdc8f89e583e0beaef05d5faec104a1d279127586fcbf5c884c616d35) 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…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 2 · amended ·

    Amended from osv record MAL-2026-20330

  2. Revision 1 · created ·

    Published from osv record MAL-2026-20330

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: GHSA-6crj-9fxx-v653

Advisory: Malicious code in @leadstack/crm-connect (npm)
IDs: GHSA-6crj-9fxx-v653
Record: https://patchnext.com/advisories/mal-2026-20330 (revision 2, source checked 23 Nov 2026, 06:00 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Unrated
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor response not established. A vendor fix does not mean a deployment is fixed.

## Affected components
- npm @leadstack/crm-connect: affected >= 1.0.15, <= 1.0.15; >= 1.0.20, <= 1.0.20; >= 1.0.30, <= 1.0.30; >= 1.0.21, <= 1.0.21; >= 1.0.19, <= 1.0.19; >= 1.0.18, <= 1.0.18; >= 1.0.29, <= 1.0.29

## Suggested inspection (read-only)
- `npm ls @leadstack/crm-connect --all`: lists every installed copy and version, including transitive ones. Run in the project root after `npm ci`.

## Supported action
No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on @leadstack/crm-connect.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://osv.dev/vulnerability/MAL-2026-20330 (OSV record MAL-2026-20330 lists affected ranges: npm @leadstack/crm-connect >=1.0.15 =1.0.20 =1.0.30 =1.0.21 =1.0.19 =1.0.18 <=1.0.18)
- Verified: https://osv.dev/vulnerability/MAL-2026-20330 (OSV record MAL-2026-20330 lists affected ranges: npm @leadstack/crm-connect >=1.0.15 =1.0.20 =1.0.30 =1.0.21 =1.0.19 =1.0.18 =1.0.29 <=1.0.29)

Commands are suggestions: review each one before running it.

Loading voting…