NPM package installed Hermes Agent as root and tasked it over Telegram safedep.i...

@best

NPM package installed Hermes Agent as root and tasked it over Telegram safedep.io · 7 points · 1 comments · HN thread

TL;DR SafeDep reports that the npm package @leadstack/crm-connect, published by account zmaticoo in November 2026 and posing as an official LeadStack CRM client, installed Nous Research's open-source Hermes Agent on servers and wired it to an attacker-controlled Telegram bot. The package ran as a systemd service disguised as a CRM daemon, and later versions fetched and ran further code from the attacker's server. npm has removed the package, but the same publisher still had three follow-on packages on npm at the time of writing.

  • Version 1.0.15 ran a postinstall script that downloaded the agent's .env and SOUL.md persona from 72[.]62[.]1[.]108, then connected Hermes Agent to a Telegram bot the attacker controls.
  • When npm install ran as root, the agent was registered as a root systemd service renamed leadstack-routing.service; version 1.0.18 fell back to a user service with linger when not root.
  • Telegram access gave the attacker shell commands, file read/write, web browsing, code execution, scheduled jobs and sub-agent delegation on the host.
  • Versions 1.0.19 onward dropped the agent and instead downloaded and ran JavaScript or binaries from the attacker's server with the full install environment; 1.1.0 and 1.1.1 referenced a platform package that was never published.
  • The publisher released three further packages on 18 November with no code of their own, pulling a dependency from zmaticco[.]dev, and the lures target forex and CFD brokerage CRM integration engineers.
  • SafeDep advises rebuilding any server that installed these versions as root and rotating every credential reachable from it.

Discussion Almost no discussion: the thread has a single comment, a brief positive remark ('nice blog') on the SafeDep write-up. There is no debate about the technical details, the Hermes Agent project, or npm's response.

  • Positive reaction to the SafeDep write-up (a few): The only comment praises the blog post. It offers no technical analysis, corrections, or further context on the incident.

#npm #supplyChain #malware #aiAgents #threatIntel