MAL-2026-14199

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/txs-runner-sdk/MAL-2026-14199.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14199
Published
2026-08-19T01:16:13Z
Modified
2026-08-19T01:45:11.507286505Z
Summary
Malicious code in txs-runner-sdk (npm)
Details

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

Source: amazon-inspector (db9d5d94b7f75bbe8bca33eb382bfb986e68b7f0307cad7e9626da103192f254)

The package advertises itself as generating random transaction data, but its main API method getTransactions() invokes loadtransactiondata(), which reads database.js (a JSON file whose records carry base64-encoded 'mark' fields), applies a per-character Caesar shift keyed by an item count, base64-decodes the concatenated result, and passes the resulting bytes to eval() inside a try/catch. The.js-suffixed data file, the double-encoded payload smuggled as product 'mark' fields, and the mismatch between the stated purpose (random data generation) and the presence of dynamic code execution together form a loader/dropper pattern: any consumer that calls the advertised API executes attacker-authored JavaScript in the calling process. Declared dependencies include axios and python-shell, consistent with a stager that fetches or spawns further payloads once the decoded code runs.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T01:34:40.960714154Z",
            "sha256": "db9d5d94b7f75bbe8bca33eb382bfb986e68b7f0307cad7e9626da103192f254",
            "modified_time": "2026-08-19T01:16:13Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018269",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / txs-runner-sdk

Package

Affected ranges

Affected versions

1.*
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/txs-runner-sdk/MAL-2026-14199.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "f84aaff9b32339960fc43a9e3a4ea3fb277a7e50266bfbf5649d86a7a447894c",
            "tlsh": "4091c2bd3eb82468d85775685bd75448601ce1ab4f9e3ca83f8c85411f6d03ce1baf58",
            "path": "index.js"
        },
        {
            "sha256": "65b54532c82855bbc8055c67d9f53854737ce01d3ae6b95fc6577204b81d953f",
            "tlsh": "4e331f3acb780c5b91795a606af50a4af280471f17a16d877fbcd54c8fb1c5b804ab3b",
            "path": "database.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "txs-runner-sdk-1.0.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-QLzwqTnEeJZWDfqRYKXpJr7ZyjF40cTZv4u0YlO6tksdLcc4teY7+lSdfJY8wbsvMgDp5drjjGPAQJV6hjqG/A==",
                "sha1": "4ebd549aa743f7869a9368c13e994f068a75da40"
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]