← VULNERABILITIES

MAL-2026-20330

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

Unscored
CVSS
—
EPSS
—
Published
2026-11-22
Age
7d old
Modified
2026-11-22
Product
@leadstack/crm-connect

Description

--- _-= 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 `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

Sources

  • OSV · first seen 7d ago · CC-BY 4.0

References

JSON