MAL-2026-13876

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years17/n8n-nodes-utils-helper-g/MAL-2026-13876.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13876
Published
2026-08-12T12:38:06Z
Modified
2026-08-12T13:00:14.511652086Z
Summary
Malicious code in @years17/n8n-nodes-utils-helper-g (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (3685924a9f7a3a8bbccd7521020a9f1e7ae208f1b991805b2861e4c289a6eaa3)

The package's postinstall hook runs callback.js, which appends an attacker-controlled ssh-ed25519 public key (labeled pwn@kali) to /home/ubuntu/.ssh/authorizedkeys, granting persistent remote SSH access to the installer's host. The same script collects host reconnaissance (id, hostname, sudo -n -l, ls -la /var/run/docker.sock, docker ps, /etc/hosts, internal name resolution for nexus.local), base64-encodes the output, and sends it over HTTPS to jasabersama.id/portfolio-data.php with certificate verification disabled (rejectUnauthorized:false). The exfil URL also carries a c= parameter whose value is a shell command (echo <b64> | base64 -d >> /tmp/n8nrceresult.txt), consistent with a server-side command handler at the C2 endpoint. In addition, nodes/PwnNode.node.js exposes an n8n node whose execute() runs id; hostname; uname -a; ls -la /home; ls -la / via childprocess.execSync and returns the output as node JSON (pwned:true), providing a post-exploitation primitive to any workflow that uses the node.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017555",
            "import_time": "2026-08-12T12:51:49.947001085Z",
            "sha256": "3685924a9f7a3a8bbccd7521020a9f1e7ae208f1b991805b2861e4c289a6eaa3",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-12T12:38:06Z"
        }
    ]
}
References
Credits

Affected packages

npm / @years17/n8n-nodes-utils-helper-g

Package

Name
@years17/n8n-nodes-utils-helper-g
View open source insights on deps.dev
Purl
pkg:npm/%40years17/n8n-nodes-utils-helper-g

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "callback.js",
            "tlsh": "2f2146f532785d708bf4c5931d5f95b6f49b910316b278c4e0cc48a52bc799846329bd",
            "sha256": "2adf8b78ec9205232c34c87fb59a5850f107f06a448df2b105b4a74a8ef9ae3f"
        },
        {
            "path": "nodes/PwnNode.node.js",
            "tlsh": "fe111ef7adb6e2600092b4d75b07a1022822c3172725bc79ba8c46534f4894ca7b1ef8",
            "sha256": "b4b05aecc01697e3bb67ad3be71d575674cc2ee0cbd81e01985289242f4d4059"
        }
    ],
    "package_integrity": [
        {
            "filename": "n8n-nodes-utils-helper-g-1.0.0.tgz",
            "hashes": {
                "sha1": "6f439a4ace520c09d0a874d9159d4856260544e0",
                "sha512_sri": "sha512-Wv9qKBP0t3zgAuvMdI4Lwd7d9bSL8yWiKUvMoXI6weQHu4YwVclGdk07YvdT481696CJnDE8Y6YrQg0ANjDwXQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years17/n8n-nodes-utils-helper-g/MAL-2026-13876.json"