-= Per source details. Do not edit below this line.=-
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.
{
"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"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/txs-runner-sdk/MAL-2026-14199.json"
{
"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"
}
}
]
}
[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]