MAL-2026-13913

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

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

Source: amazon-inspector (89d61386ef6d8694ecf5f0578b5fe77156f475f76a8e97a1b2e834821cfbe0df)

The package presents as an n8n community-nodes helper but ships a malicious postinstall script (callback.js) and a byte-identical main entrypoint (index.js) that fire on npm install and on module load. The script runs id, hostname, and WSL detection, reads the host SSH public key fingerprint from /etc/ssh/sshhosted25519_key.pub, base64-encodes the collected data, and sends it via HTTPS GET to jasabersama.id/portfolio-data.php with TLS verification disabled (rejectUnauthorized: false). It also decodes a bundled OpenSSH ed25519 private key to /tmp/pk (chmod 600) and iterates ssh -i /tmp/pk login attempts against 127.0.0.1/localhost on ports 22495 and 22 as devuser/ubuntu/runner/node/root/chris/user, executing id; hostname on any account that accepts the key. The C2 URL path /portfolio-data.php?k=S7k9xQ2mZj&c=<url-encoded shell command> is shaped as a command channel, indicating the endpoint is dual-use exfiltration and remote-execution infrastructure.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-12T15:26:11.654464198Z",
            "id": "IN-MAL-2026-017581",
            "sha256": "89d61386ef6d8694ecf5f0578b5fe77156f475f76a8e97a1b2e834821cfbe0df",
            "modified_time": "2026-08-12T15:07:49Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

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

Package

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

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": "325198f851a0a53422b360b75dbadc15d5bffa02518addc8714d0b335fd6c9809336b8",
            "sha256": "8176be617df1750652d87e367cc3b6d871fbef43b371472f7976369db53db978"
        },
        {
            "path": "index.js",
            "tlsh": "325198f851a0a53422b360b75dbadc15d5bffa02518addc8714d0b335fd6c9809336b8",
            "sha256": "8176be617df1750652d87e367cc3b6d871fbef43b371472f7976369db53db978"
        }
    ],
    "package_integrity": [
        {
            "filename": "n8n-nodes-utils-helper-e-1.0.0.tgz",
            "hashes": {
                "sha1": "e616b6e4b8f50c8a14e526895b9b9c38fc5b90e6",
                "sha512_sri": "sha512-U0v9UZ7c5r262Kzyyo+ZK9e7zLIpYQZS44S9wdfe4hzUuVNVYAIAevsd0T/PCWnBKFGC8z9njhSEabOE4mXAmA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years20/n8n-nodes-utils-helper-e/MAL-2026-13913.json"