MAL-2026-20330: Malicious code in @leadstack/crm-connect (npm)

Published Nov 22, 2026
·
Updated

--- -= 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 envlines 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.

Affected Software

1 affected component
npm/@leadstack/crm-connect=1.0.15, =1.0.20, =1.0.30, =1.0.21, =1.0.19, =1.0.18

Event History

Nov 22, 2026
Advisory Published
via OSV·04:08 AM
Data Sourced
via OSV·04:08 AM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203