Hackers Infiltrated n8n’s Community Node Ecosystem With a Weaponized npm Package
Attackers have infiltrated n8n's community node ecosystem using a malicious npm package posing as a Google Ads integration tool. This event highlights a vulnerability in how workflow automation platforms handle third-party integrations and user…
Attackers have infiltrated n8n's community node ecosystem using a malicious npm package posing as a Google Ads integration tool. This event highlights a vulnerability in how workflow automation platforms handle third-party integrations and user credentials.
The malicious package, identified as n8n-nodes-hfgjf-irtuinvcm-lasdqewriit, deceived developers into providing their Google Ads OAuth credentials through an apparently legitimate form.
The malicious code captured credentials and transmitted them to an attacker-controlled server during workflow execution. This supply chain attack represents an escalation in cybersecurity threats, exploiting trust in community-maintained integrations within automation platforms.
n8n acts as a centralized credential vault, storing OAuth tokens and API keys for various integrated services, such as Google Ads, Stripe, and Salesforce. This makes compromising a single community node valuable, as it provides access to an organization's connected digital ecosystem.
Attackers have infiltrated n8n's community node ecosystem using a malicious npm package posing as a Google Ads integration tool.
Researchers identified at least eight malicious npm packages targeting the n8n ecosystem. The primary package achieved over 3,400 weekly downloads before its removal.
Several packages have been removed from the npm registry, tracked through security advisories including GHSA-77g5-qpc3-x24r.
Organizations are encouraged to prioritize official n8n nodes over community alternatives and audit packages before installation. Indicators of risk include poor descriptions, unusual names, and low download counts. Monitoring outbound network traffic and using isolated service accounts can reduce exposure risks.
This attack mirrors previous supply chain compromises targeting GitHub Actions workflows, showing that threat actors adapt their tactics to exploit emerging automation platforms. As workflow automation becomes integral to business operations, organizations must balance convenience with security implications of community-provided integrations.
Based on reporting by Cyber Security News.
