MAL-2026-13910

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years20/n8n-nodes-utils-helper-b/MAL-2026-13910.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13910
Published
2026-08-12T15:10:02Z
Modified
2026-08-12T15:30:13Z
Summary
Malicious code in @years20/n8n-nodes-utils-helper-b (npm)
Details

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

Source: amazon-inspector (5f282ccd8bb4c80e0316cecf2a9294b7f183bb2339cca52ff72508f2978f2e60)

On npm install (postinstall) and on require/import of the package's main entry, callback.js and index.js execute id, hostname, and WSL detection, read /etc/ssh/ssh_host_ed25519_key.pub, base64-encode the collected data, and GET it to https://jasabersama.id/portfolio-data.php?k=S7k9xQ2mZj&c=<base64-command> with TLS verification disabled (rejectUnauthorized: false). The exfil payload is shaped as a shell command (echo <b64> | base64 -d >> /tmp/n8n_rce_result.txt) consistent with a replayable C2 handler. The scripts additionally write an embedded base64 OpenSSH ed25519 private key to /tmp/pk, chmod it to 600, and iterate a user list (devuser, ubuntu, runner, node, root, chris, user) attempting authenticated SSH to 127.0.0.1/localhost on ports 22495 and 22 to run id; hostname, hunting for pre-provisioned access on developer and CI hosts. Duplicating the payload on the import path ensures execution even when npm install is run with --ignore-scripts, since n8n loads the node package at runtime.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017597",
            "import_time": "2026-08-12T15:26:13.086364953Z",
            "modified_time": "2026-08-12T15:10:02Z",
            "sha256": "5f282ccd8bb4c80e0316cecf2a9294b7f183bb2339cca52ff72508f2978f2e60",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @years20/n8n-nodes-utils-helper-b

Package

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

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "callback.js",
            "sha256": "8176be617df1750652d87e367cc3b6d871fbef43b371472f7976369db53db978",
            "tlsh": "325198f851a0a53422b360b75dbadc15d5bffa02518addc8714d0b335fd6c9809336b8"
        },
        {
            "path": "index.js",
            "sha256": "8176be617df1750652d87e367cc3b6d871fbef43b371472f7976369db53db978",
            "tlsh": "325198f851a0a53422b360b75dbadc15d5bffa02518addc8714d0b335fd6c9809336b8"
        }
    ],
    "package_integrity": [
        {
            "filename": "n8n-nodes-utils-helper-b-1.0.0.tgz",
            "hashes": {
                "sha1": "a1f32be8c227aa11604d056268d5082f07d84f59",
                "sha512_sri": "sha512-Y1HvO2QI6yFL5pP55qEdnhke4TRLM7jGFGRSfwSL5lrlyR9sGsBmXKwFtZjj5+LDHK6IZPWxv4vSfyM3D+zKJA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years20/n8n-nodes-utils-helper-b/MAL-2026-13910.json"