Domenica 22 Novembre 2026 18:31:58 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContatti
ItalianoEnglish

Pubblicità
Cyber Intelligence & Threat Trends

Inside the Trojan Node: How Hackers Hijacked n8n’s Automation Ecosystem

Published: 13 January 2026 07:38Category: Cyber Intelligence & Threat TrendsAuthor: LOGICFALCON

Subtitle: A supply chain attack on n8n’s community nodes exposes thousands of sensitive developer credentials through a weaponized npm package.

It began as a routine search for a Google Ads integration. For thousands of developers using n8n, the open-source workflow automation platform, installing a new community node is business as usual-a shortcut to connect apps and automate tedious work. But when a seemingly innocent npm package quietly siphoned OAuth tokens and API keys to a rogue server, the entire community realized just how vulnerable their “trusted” nodes could be.

Security researchers recently uncovered a sophisticated supply chain attack targeting n8n’s vibrant ecosystem of community-contributed nodes. Posing as a legitimate Google Ads connector, the rogue npm package-obscurely named n8n-nodes-hfgjf-irtuinvcm-lasdqewriit-slipped into the workflow of unsuspecting developers. Unlike typical npm malware that harvests credentials from individual victims, this campaign leveraged n8n’s architecture, where community nodes have access to a goldmine: decrypted credentials for dozens of integrated services, all in one place.

Once installed, the malicious node appeared to function like any other, requesting standard credential input. Behind the scenes, it stealthily transmitted sensitive data, including OAuth tokens and API keys, to an attacker-controlled endpoint (n8n-license-validator.onrender.com) during workflow execution. The attackers exploited the fundamental trust placed in community nodes-modules that often run with full system privileges and direct access to workflow data, with little to no sandboxing or isolation.

The fallout could be far-reaching. Download statistics suggest thousands of n8n deployments may have been exposed before the packages were removed from npm. With n8n’s growing popularity-security firm Cyera recently identified more than 100,000 potentially vulnerable servers-the platform has become a lucrative target for threat actors seeking mass credential theft.

Security experts point to architectural risks: community nodes in n8n are granted broad access by default, and the ecosystem’s openness makes it difficult to vet every contributed package. Endor Labs found at least eight malicious packages, including n8n-nodes-performance-metrics and n8n-nodes-rooyai-model, indicating a concerted campaign rather than a one-off incident.

To defend against similar threats, organizations are urged to stick to official integrations, carefully audit any community packages for suspicious metadata or missing documentation, monitor outgoing network traffic from n8n instances, and restrict service account privileges to limit the blast radius of any compromise.

The n8n supply chain attack is a wake-up call for the entire automation ecosystem. As platforms like n8n become the connective tissue of modern development, their openness is both a strength and a liability. The next time a community node promises to save you time, it might just cost you your secrets.

WIKICROOK

  • Supply Chain Attack: A supply chain attack is a cyberattack that compromises trusted software or hardware providers, spreading malware or vulnerabilities to many organizations at once.
  • npm Package: An NPM package is a reusable bundle of JavaScript code shared via the Node Package Manager, enabling easy code sharing and project enhancement.
  • OAuth Token: An OAuth token is a digital key that lets apps securely access your data without needing your password each time.
  • Credential Vault: A credential vault is a secure storage area in browsers or apps where passwords and authentication details are safely stored and managed.
  • Sandboxing: Sandboxing is a method of testing suspicious files or links in a secure, isolated environment to detect threats without endangering actual systems.
Pubblicità