Malicious code in @years17/n8n-nodes-utils-helper-i (npm)
The npm package @years17/n8n-nodes-utils-helper-i version 1.0.0 contains malicious code that grants persistent SSH access to the host by appending an attacker-controlled SSH public key to multiple user authorized_keys files. It also performs host reconnaissance and exfiltrates data via an unverified HTTPS request. The malicious behavior triggers both during post-install and when the package is required, bypassing common script-ignore flags.
AI Analysis
Technical Summary
The package @years17/n8n-nodes-utils-helper-i version 1.0.0 includes a postinstall hook that executes callback.js, which appends a hardcoded SSH Ed25519 public key labeled 'pwn@kali' to the authorized_keys files of root, ubuntu, node, runner, and devuser accounts, enabling persistent unauthorized SSH access. It collects host information including user IDs, hostname, sudo privileges, home directory contents, and docker.sock presence, encodes this data in base64, and sends it via an HTTPS GET request to jasabersama.id/portfolio-data.php with TLS verification disabled. The main entry file index.js contains identical malicious code, triggering the implant and data exfiltration upon requiring the package, even if installation scripts are ignored. This dual trigger mechanism increases the likelihood of compromise on systems using this package.
Potential Impact
Successful installation or use of this package results in persistent unauthorized SSH access for the attacker to the affected host, enabling potential full control. Additionally, sensitive host information is exfiltrated to a remote server, potentially aiding further attacks or reconnaissance. The presence of the malicious code in both install and runtime phases increases the risk of compromise even if installation scripts are disabled.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove the package @years17/n8n-nodes-utils-helper-i version 1.0.0 from their environments. Investigate and remove the attacker's SSH public key from authorized_keys files of affected users. Review system logs and network traffic for signs of compromise and unauthorized access. Avoid using this package until a trusted, clean version is available. Monitor vendor advisories for updates or official fixes.
Malicious code in @years17/n8n-nodes-utils-helper-i (npm)
Description
The npm package @years17/n8n-nodes-utils-helper-i version 1.0.0 contains malicious code that grants persistent SSH access to the host by appending an attacker-controlled SSH public key to multiple user authorized_keys files. It also performs host reconnaissance and exfiltrates data via an unverified HTTPS request. The malicious behavior triggers both during post-install and when the package is required, bypassing common script-ignore flags.
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 package @years17/n8n-nodes-utils-helper-i version 1.0.0 includes a postinstall hook that executes callback.js, which appends a hardcoded SSH Ed25519 public key labeled 'pwn@kali' to the authorized_keys files of root, ubuntu, node, runner, and devuser accounts, enabling persistent unauthorized SSH access. It collects host information including user IDs, hostname, sudo privileges, home directory contents, and docker.sock presence, encodes this data in base64, and sends it via an HTTPS GET request to jasabersama.id/portfolio-data.php with TLS verification disabled. The main entry file index.js contains identical malicious code, triggering the implant and data exfiltration upon requiring the package, even if installation scripts are ignored. This dual trigger mechanism increases the likelihood of compromise on systems using this package.
Potential Impact
Successful installation or use of this package results in persistent unauthorized SSH access for the attacker to the affected host, enabling potential full control. Additionally, sensitive host information is exfiltrated to a remote server, potentially aiding further attacks or reconnaissance. The presence of the malicious code in both install and runtime phases increases the risk of compromise even if installation scripts are disabled.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove the package @years17/n8n-nodes-utils-helper-i version 1.0.0 from their environments. Investigate and remove the attacker's SSH public key from authorized_keys files of affected users. Review system logs and network traffic for signs of compromise and unauthorized access. Avoid using this package until a trusted, clean version is available. Monitor vendor advisories for updates or official fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13878
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b47bf8831d539cdd310
Added to database: 08/12/2026, 16:11:51 UTC
Last enriched: 08/12/2026, 16:56:35 UTC
Last updated: 08/12/2026, 16:56:35 UTC
Views: 2
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.
External Links
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.