MAL-2026-15645

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/kisama-js/MAL-2026-15645.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15645
Aliases
  • GHSA-vqwx-8v7g-55j3
Published
2026-08-31T17:28:09Z
Modified
2026-09-04T01:00:04.765465162Z
Summary
Malicious code in kisama-js (npm)
Details

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

Source: amazon-inspector (0179b9fe97920f04431eb6d6e94b46c6ef2889af5e55d6a0b79793097187fed3)

kisama-js@0.4.8 ships an obfuscated index.js that runs an HTTP+WebSocket agent binding 0.0.0.0:8000 by default and exposing /api/exec (POST) for shell command execution plus /api/ws/terminal backed by node-pty/bun-pty for interactive PTY control. It additionally exposes a full-filesystem REST surface (list/cat/upload/download/delete/move/cp) and cron/onetime task scheduling, giving any party who reaches the port full remote control of the installer's host. The agent contacts api.trycloudflare.com to publish itself through Cloudflare quick-tunnels, converting a local listener into an internet-reachable endpoint without the operator opening a port. Host fingerprinting is performed via icanhazip.com, ifconfig.me/ip, and api6.ipify.org, with OS/hostname/version collected via systeminformation and reported through the agent's status interface. index.js is heavily obfuscated (obfuscator.io string-array with ~1630 entries, control-flow flattening, ~3829 decoder inlines) and wraps process.stdout.write / process.stderr.write to suppress specific on-host diagnostic messages. The package also references the anonymous pastebin shz.al and declares a self-referential dependency on kisama-js ^0.3.0, pulling a different release line's code into the install of 0.4.8.

Source: ghsa-malware (ae0be63d987cf5c8b04b9dfe20a03be79a53671d43635fe8a9bde6139cea0a11)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-31T18:30:38.167405554Z",
            "source": "ghsa-malware",
            "id": "GHSA-vqwx-8v7g-55j3",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-08-31T17:28:09Z",
            "sha256": "ae0be63d987cf5c8b04b9dfe20a03be79a53671d43635fe8a9bde6139cea0a11"
        },
        {
            "import_time": "2026-09-04T00:45:54.998161222Z",
            "id": "IN-MAL-2026-019388",
            "versions": [
                "0.4.6"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-09-03T23:50:40Z",
            "sha256": "3e89b89fe03f60e697ae9414d879e6a9efc13b6d8c3fdf474e30d87b89abf602"
        },
        {
            "import_time": "2026-09-04T00:45:54.804486413Z",
            "source": "amazon-inspector",
            "versions": [
                "0.4.8"
            ],
            "id": "IN-MAL-2026-019385",
            "modified_time": "2026-09-03T23:50:14Z",
            "sha256": "0179b9fe97920f04431eb6d6e94b46c6ef2889af5e55d6a0b79793097187fed3"
        }
    ]
}
References
Credits

Affected packages

npm / kisama-js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4.6
0.4.8

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/kisama-js/MAL-2026-15645.json"
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "fa4462a819f72454822775bf231fac15b12158075c5cfe887e6c9650afdd23ccbb2ab8",
            "sha256": "0b0c379beb3e8ca40a98202557d86bccade797539450bfe59198b3595ed2c4cc"
        },
        {
            "path": "README.md",
            "tlsh": "c3512e10641ef88f8977002bf3054af27e6181f6eeb81681786245be31c4ddba1b358e",
            "sha256": "15c878c6b25a558052c49eb40ed0d3c2ff4ebc86266416cdc3948e80398a559e"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]