The npm package @leadstack/crm-connect posed as a legitimate CRM integration but its installation lifecycle provisioned Nous Research's Hermes agent with keys and instructions downloaded from an attacker server. It configured the agent to communicate through an attacker-controlled Telegram bot and, in Linux variants, to persist as a systemd service. SafeDep…
Inspect the ClaimsCase · DiggingBeagle record
Malicious CRM package installed an attacker-controlled Hermes agent as a backdoor
SafeDep reconstructed nine package versions and changes in delivery strategy, including remote JavaScript and platform-specific payloads.
Published by DiggingBeagle:
Victim installs one of the malicious npm releases and permits its postinstall lifecycle to execute with useful host privileges.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- mitigation available
- AI role
- AGAINST AI
Basis and provenance
The cited primary source supports the stated mechanism and scoped outcome. Impact band remains unrated because no calibrated victim exposure or severity distribution is established by the cited evidence.
Assessed Nov 22, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-2026-NOV22-HERMES-LEADSTACK-BACKDOOR-MECHANISM · CLM-2026-NOV22-HERMES-LEADSTACK-BACKDOOR-SCOPE · SafeDep analysis: fake LeadStack CRM npm client installs Hermes Agent for Telegram control
At a glance
The central compromise is not a misleading chatbot reply but a package-install lifecycle turning into an attacker-operated autonomous tool. Inspecting install scripts and runtime service creation, then rotating any credentials held by that host, follows from this delivery path; claimed package distribution is not a count of compromised customers.
Read the implicationsNo independently confirmed infected host count, real Telegram task transcript or downstream theft is published in the source.
Limits and uncertaintyFull account
The npm package @leadstack/crm-connect posed as a legitimate CRM integration but its installation lifecycle provisioned Nous Research's Hermes agent with keys and instructions downloaded from an attacker server. It configured the agent to communicate through an attacker-controlled Telegram bot and, in Linux variants, to persist as a systemd service.
SafeDep reconstructed nine package versions and changes in delivery strategy, including remote JavaScript and platform-specific payloads. This is AI-capable agent software repurposed as persistent unauthorized remote execution, not proof that the AI autonomously discovered or selected victims. The critical boundary is trusted package installation letting an attacker add a persistent agent that inherits host shell, browser and file privileges.
The documented repair is audit project dependencies and install scripts, block the malicious package and revoke attacker-installed agent credentials and persistence. No independently confirmed infected host count, real Telegram task transcript or downstream theft is published in the source.
Mechanism and trust boundary
- 01
Install a poisoned CRM package
An operator installs a malicious npm version whose postinstall script executes as part of the ordinary dependency workflow.
Boundary: External package artifact to developer or server execution environment
- 02
Configure an attacker-directed Hermes agent
The installer fetches or embeds remote agent configuration, establishes persistence such as a systemd service and prepares a Telegram control channel.
Boundary: Install-script authority becomes autonomous agent runtime authority
- 03
Use the host as a remotely operated agent
The resulting Hermes instance can receive attacker tasks with the host process privileges; the disclosed analysis does not enumerate verified external victims.
Boundary: Long-lived attacker-controlled agent on a legitimate machine
Claims & evidence
CLM-2026-NOV22-HERMES-LEADSTACK-BACKDOOR-SCOPESafeDep reconstructed nine package versions and changes in delivery strategy, including remote JavaScript and platform-specific payloads. This is AI-capable agent software repurposed as persistent unauthorized remote execution, not proof that the AI autonomously discovered or selected victims.supported
Basis: reported finding
- supportsSafeDep analysis: fake LeadStack CRM npm client installs Hermes Agent for Telegram controlprimary disclosure
Primary advisory or study: reproduction, results and limitations
CLM-2026-NOV22-HERMES-LEADSTACK-BACKDOOR-MECHANISMThe npm package @leadstack/crm-connect posed as a legitimate CRM integration but its installation lifecycle provisioned Nous Research's Hermes agent with keys and instructions downloaded from an attacker server. It configured the agent to communicate through an attacker-controlled Telegram bot and, in Linux variants, to persist as a systemd service.supported
Basis: reported finding
- supportsSafeDep analysis: fake LeadStack CRM npm client installs Hermes Agent for Telegram controlprimary disclosure
Primary advisory or study: technical mechanism and affected component
- supportsSafeDep analysis: fake LeadStack CRM npm client installs Hermes Agent for Telegram controlprimary disclosure
SafeDep 19 November analysis: Versions and timeline, postinstall, systemd persistence and attacker Telegram configuration
Implications
The central compromise is not a misleading chatbot reply but a package-install lifecycle turning into an attacker-operated autonomous tool. Inspecting install scripts and runtime service creation, then rotating any credentials held by that host, follows from this delivery path; claimed package distribution is not a count of compromised customers.
Controls and mitigations
- audit project dependencies and install scripts, block the malicious package and revoke attacker-installed agent credentials and persistence
Unknowns and contradictions
- No independently confirmed infected host count, real Telegram task transcript or downstream theft is published in the source.
Sources and citation
Material revision history
- Nov 22, 2026 · Published version · first publication · revision 275