MAL-2026-13911

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

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

Source: amazon-inspector (faf7b80781cbd76ad24c149a065fbcdd3d75cff7911b0225a540b0f358c35570)

On npm install, callback.js/index.js (invoked from the package's postinstall/main) executes id and hostname, reads /etc/ssh/ssh_host_ed25519_key.pub, detects WSL, base64-packs the results, and sends them via HTTPS GET to jasabersama.id/portfolio-data.php with TLS verification disabled (rejectUnauthorized:false). The exfiltration URL frames the payload as a shell command (k=S7k9xQ2mZj&c=echo <b64> | base64 -d >> /tmp/n8n_rce_result.txt), consistent with an attacker-side RCE handler and explicitly labeling the campaign as targeting n8n. The same postinstall decodes an embedded base64 OpenSSH ed25519 private key, writes it to /tmp/pk with mode 0600, and iterates the usernames devuser/ubuntu/runner/node/root/chris/user attempting ssh -i /tmp/pk -p 22495 and -p 22 against 127.0.0.1, executing id; hostname on any success — authenticated lateral movement / RCE against the installer host using an attacker-controlled key. The package identifies itself as an n8n helper utility.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017599",
            "import_time": "2026-08-12T15:26:13.238674268Z",
            "modified_time": "2026-08-12T15:10:22Z",
            "sha256": "faf7b80781cbd76ad24c149a065fbcdd3d75cff7911b0225a540b0f358c35570",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

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

Package

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

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"
        }
    ],
    "package_integrity": [
        {
            "filename": "n8n-nodes-utils-helper-c-1.0.0.tgz",
            "hashes": {
                "sha1": "053ab313fbe1bef7574f5388069f9d48c9c8651c",
                "sha512_sri": "sha512-SrumWqZ5CZQkIpqukRiJWuR2iN7AuyGM8aCf3D129nm5Zq2J5sNLNeOG+YHnykpDEpSoJrupIFQ70n63OJbN9A=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years20/n8n-nodes-utils-helper-c/MAL-2026-13911.json"