Nullify

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Home
›
Incidents
›
@leadstack/crm-connect npm Backdoor: What Happened and How to Check
Supply chain
Direct

@leadstack/crm-connect npm Backdoor: What Happened and How to Check

A fake CRM connector on npm installed Hermes Agent as a disguised service and connected it to an attacker's Telegram bot, giving remote control of the host.

Nullify Team
·
Disclosed
November 19, 2026
·
Updated
November 23, 2026

What happened in the @leadstack/crm-connect incident?

In an analysis published November 19, 2026, SafeDep reported that the npm package @leadstack/crm-connect posed as the official client for a CRM called LeadStack and installed a remote-controlled AI agent on the servers it reached. The npm user zmaticoo published nine versions on November 16 between 09:44 and 15:27 UTC. OSV record MAL-2026-20330, which carries a separate Amazon Inspector analysis, also classifies the package as malicious.

In version 1.0.15, a postinstall script fetched configuration from 72.62.1.108, installed hermes-agent@0.22.7 in a hidden directory and registered its gateway as a systemd service. The service was renamed leadstack-routing.service, and it ran as root when npm ran as root. Through a Telegram bot, the attacker could run shell commands, read and write files, browse the web and schedule jobs on the host.

Later versions changed delivery. Version 1.0.18 moved the install to the first SDK call and could use a user-level service with linger. Versions from 1.0.19 onward ran JavaScript or a binary fetched from the attacker's server, or tried to run an unpublished platform package. SafeDep says neither Hermes Agent nor its npm wrapper is malicious. The package abused them. SafeDep did not recover the attacker's configuration or later downloads, and it reports no confirmed victims.

Which packages and versions are affected?

  • @leadstack/crm-connect 1.0.15, 1.0.18, 1.0.19, 1.0.20, 1.0.21, 1.0.29, 1.0.30, 1.1.0 and 1.1.1, per SafeDep. OSV currently lists the first seven.
  • Servers or containers where any of those versions was installed, especially with root privileges.
  • Related packages from the same publisher, created November 18: @zmatdspcrm/trading-connector, @zmatdspcrm/brandnet-connect and brandnet-connect. SafeDep found no malicious code in their tarballs, but each pulls an optional dependency from zmaticco.dev.

How to check if you're affected

  1. Search package.json and lockfiles for @leadstack/crm-connect, @zmatdspcrm/, brandnet-connect and zmaticco.dev.
  2. Look for ~/.leadstack, ~/.config/leadstack, ~/.local/share/leadstack and the same paths under /root.
  3. Run systemctl list-unit-files 'leadstack-*' 'hermes-gateway*', repeat with systemctl --user, and check loginctl show-user "$USER" -p Linger.
  4. Search network logs for 72.62.1.108, 72-62-1-108.sslip.io and zmaticco.dev, and for servers that long-poll api.telegram.org or call api.moonshot.ai without a reason to.

What to do now

  1. Treat any server that installed an affected version as root as fully compromised, and rebuild it rather than cleaning it.
  2. Rotate every credential the server or application environment could reach, from a clean machine.
  3. For non-root installs, review what the installing user could read, and rotate the application's secrets if that user runs the application.
  4. Remove the packages from manifests, lockfiles, caches and images, and block the listed hosts at egress.

Why install-time agents raise the stakes

This package did not need to ship a custom implant. It installed a legitimate agent with shell and file tools, then gave it configuration from the attacker's server, so the agent's instructions could change without a new npm release. Review install scripts on new dependencies, restrict egress from build and application hosts, and avoid running npm install as root on servers.

Where Nullify fits

How Nullify Covers This Class of Attack

Direct
Supply Chain Attack

Nullify finds every repository and container image that pulls an affected package version and runs the upgrade as one campaign, scoped by CVE, package, repo or team, with owners, Slack escalation and SLA tracking. Your developers approve every merge.

Nullify can't tell you whether this payload ran on a given server. Use the host and network checks above for that, then remove the dependency everywhere it appears.

Frequently Asked Questions

Which @leadstack/crm-connect versions are malicious?

SafeDep lists nine versions: 1.0.15, 1.0.18, 1.0.19, 1.0.20, 1.0.21, 1.0.29, 1.0.30, 1.1.0 and 1.1.1. OSV currently lists the first seven. Treat all nine as malicious, since all were published by the same account on November 16, 2026.

Is Hermes Agent itself compromised?

No evidence shows that. SafeDep says nothing points to Hermes Agent or the hermes-agent npm wrapper being malicious. The malicious package installed the agent without the owner's knowledge and connected it to a Telegram bot controlled by the attacker.

What should I do if a server installed this package as root?

Treat the server as fully compromised. Rebuild it rather than cleaning it, and rotate every credential the server or application environment could reach. SafeDep gives this advice because the agent could run commands as root through the attacker's Telegram bot.

Are the related brandnet-connect packages malicious?

SafeDep found no malicious code in their tarballs on November 19. However, each declares an optional dependency downloaded from zmaticco.dev, a domain on the attacker's server, so its contents could change at any time. Remove them and block that domain.

Update Log

  • Nov 23, 2026: page published from the primary sources linked above.

See how Nullify's agents run every job on your security team

Agents map your attack surface, triage what's reachable, prove exploits and open merge-ready fixes. Your team keeps final merge approval.