random-transactions-sdk@1.0.1
Used to generate random transactions data
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe transaction API decodes concealed code and executes it, and the payload downloads and launches a remote file. This is unrelated to the package's stated purpose and constitutes remote code execution.
Decision evidence
public snapshot- Calling getTransactions with count 10 schedules loading and decoding database.js.
- The decoded database payload is passed to a dynamically constructed function with access to require and process.
- The decoded payload fetches https://dothebest.store/empty.php, saves the response as /tmp/tmp_20260529, and launches it with Python.
- The README describes the package as a random transaction data generator.
Source & flagged code
6 flaggedCalling getTransactions with count 10 schedules loading and decoding database.js.
index.jsView on unpkg · L272Calling getTransactions with count 10 schedules loading and decoding database.js.
index.jsView on unpkg · L203The decoded database payload is passed to a dynamically constructed function with access to require and process.
Findings
Affected versions and remediation
This report applies to random-transactions-sdk@1.0.1.
See all versions of random-transactions-sdk for other recorded verdicts.
- Avoid installing random-transactions-sdk@1.0.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.