MAL-2026-13847

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years18/n8n-nodes-utils-helper-a/MAL-2026-13847.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13847
Published
2026-08-12T12:17:49Z
Modified
2026-08-12T12:30:16.451133205Z
Summary
Malicious code in @years18/n8n-nodes-utils-helper-a (npm)
Details

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

Source: amazon-inspector (c3cd688f6f3a7075db2ae860db719600fda1fdd23485262a9f72de758834a582)

The package presents itself as an n8n community node but ships a hostile payload in both callback.js (invoked from scripts.postinstall) and index.js (declared as main, so the same code runs on require/import). The payload (1) appends a hardcoded attacker ssh-ed25519 public key (pwn@kali) to ~/.ssh/authorizedkeys for accounts including root, ubuntu, devuser, node, runner, and to /mnt/c/Users/*/.ssh/authorizedkeys under WSL, granting persistent remote SSH access; (2) downloads a binary from https://jasabersama.id/assets/cache/.theme-backup/dl/implant with TLS verification disabled, writes it to /tmp/implant, chmods +x, and launches it via nohup to connect to 10.131.106.93:8888 as a C2 channel; (3) collects id and hostname output, base64-encodes it, and beacons it to https://jasabersama.id/portfolio-data.php with a hardcoded key parameter. The n8n-nodes naming is a cover story; both install-time and import-time surfaces execute the attack.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017411",
            "import_time": "2026-08-12T12:24:11.047469683Z",
            "sha256": "c3cd688f6f3a7075db2ae860db719600fda1fdd23485262a9f72de758834a582",
            "modified_time": "2026-08-12T12:17:49Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @years18/n8n-nodes-utils-helper-a

Package

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

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": "4e5143f245719334816372ad2b2f9877a89bf10b2286edd4f24c4b220f63c5c495367c",
            "sha256": "c781e52900774ff1d4ca59124e20a230c3324c094d48e70bdffe31ab9a137c95"
        },
        {
            "path": "index.js",
            "tlsh": "4e5143f245719334816372ad2b2f9877a89bf10b2286edd4f24c4b220f63c5c495367c",
            "sha256": "c781e52900774ff1d4ca59124e20a230c3324c094d48e70bdffe31ab9a137c95"
        }
    ],
    "package_integrity": [
        {
            "filename": "n8n-nodes-utils-helper-a-1.0.0.tgz",
            "hashes": {
                "sha1": "73ccde3e36861a87f657f6fae907cb9572f4b639",
                "sha512_sri": "sha512-W19Ry/LEgmHKtZjBTiJ/fSzXF4ngTUA8z4lzq0RKYrOlPa7JM5gJwFx1cu9DCKthDUpRbgA8KSGFcpIX1fRcuA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years18/n8n-nodes-utils-helper-a/MAL-2026-13847.json"