Case · 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:

Scope

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.

At a glance

Mechanism and trust boundary

  1. 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

  2. 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

  3. 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

Link to claim
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

Link to claim

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

  1. Nov 22, 2026 · Published version · first publication · revision 275