Malicious code in @years17/n8n-nodes-helper-utils (npm)
The npm package @years17/n8n-nodes-helper-utils contains malicious code that executes unauthorized system commands at multiple stages: during installation, module loading, and workflow execution. It collects system information such as user ID, hostname, and directory listings, writing this data to files on the host. This behavior is explicitly acknowledged in the code comments and is designed to run within the n8n automation platform's main process without sandboxing.
AI Analysis
Technical Summary
The @years17/n8n-nodes-helper-utils npm package is a malicious community node for the n8n automation platform. It implements three independent malicious payloads: (1) a postinstall script that executes system commands and writes output to /tmp/pwned.txt during npm install; (2) top-level code in the main module that runs system commands on require() and writes output to /tmp/n8n_pwned.txt; and (3) an exported node execute() function that runs system commands and returns their output labeled as 'pwned: true' instead of performing legitimate utility functions. These payloads enable code execution on the host at install time, module load, and workflow execution, exploiting the lack of sandboxing in n8n's community node loading mechanism.
Potential Impact
This malicious package allows arbitrary code execution on the host system at multiple points, potentially exposing sensitive system information and enabling further compromise. The commands executed include user identity, hostname, system information, and directory listings, which are written to files in /tmp or returned as node output. This compromises the confidentiality and integrity of the affected system running n8n workflows that load this package.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should immediately remove the @years17/n8n-nodes-helper-utils package from their environments and avoid installing or loading it in n8n workflows. Since this is a malicious package published to npm, users should verify the integrity and provenance of community nodes before use. Monitor for and delete any files created by this package (e.g., /tmp/pwned.txt, /tmp/n8n_pwned.txt). Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in @years17/n8n-nodes-helper-utils (npm)
Description
The npm package @years17/n8n-nodes-helper-utils contains malicious code that executes unauthorized system commands at multiple stages: during installation, module loading, and workflow execution. It collects system information such as user ID, hostname, and directory listings, writing this data to files on the host. This behavior is explicitly acknowledged in the code comments and is designed to run within the n8n automation platform's main process without sandboxing.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @years17/n8n-nodes-helper-utils npm package is a malicious community node for the n8n automation platform. It implements three independent malicious payloads: (1) a postinstall script that executes system commands and writes output to /tmp/pwned.txt during npm install; (2) top-level code in the main module that runs system commands on require() and writes output to /tmp/n8n_pwned.txt; and (3) an exported node execute() function that runs system commands and returns their output labeled as 'pwned: true' instead of performing legitimate utility functions. These payloads enable code execution on the host at install time, module load, and workflow execution, exploiting the lack of sandboxing in n8n's community node loading mechanism.
Potential Impact
This malicious package allows arbitrary code execution on the host system at multiple points, potentially exposing sensitive system information and enabling further compromise. The commands executed include user identity, hostname, system information, and directory listings, which are written to files in /tmp or returned as node output. This compromises the confidentiality and integrity of the affected system running n8n workflows that load this package.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should immediately remove the @years17/n8n-nodes-helper-utils package from their environments and avoid installing or loading it in n8n workflows. Since this is a malicious package published to npm, users should verify the integrity and provenance of community nodes before use. Monitor for and delete any files created by this package (e.g., /tmp/pwned.txt, /tmp/n8n_pwned.txt). Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13869
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b46bf8831d539cdd28f
Added to database: 08/12/2026, 16:11:50 UTC
Last enriched: 08/12/2026, 16:54:43 UTC
Last updated: 08/12/2026, 20:11:52 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.