rand-tx-sdk
This package is used to generate random ecommerce transactions history data.
This report shows the evidence for rand-tx-sdk@1.0.6. 1 of 2 known versions is blocked or flagged. The newest version, 1.0.8, is allowed. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe package hides a remote payload downloader and detached interpreter execution behind its advertised API. No lifecycle hook is needed for this consumer-triggered malicious execution path.
Decision evidence
public snapshot- getTransactions invokes a loader that base64-decodes and evals hidden tx_info_list.js.
- Static decoding reveals a fetch from https://dothebest.store/allow/inform.php.
- The fetched response is written to /tmp/tmp_20260521 and executed by detached python/python3.
- package.json has no preinstall, install, or postinstall hook.
- The payload activates when the advertised getTransactions API is called, not on import.
Source & flagged code
2 flagged · loading sourceSource contains an obfuscated payload loader that reconstructs and executes hidden code.
index.jsView on unpkg · L16Package source references a known benign dynamic code generation pattern.
index.jsView on unpkg · L132Findings
Affected versions and remediation
This report applies to rand-tx-sdk@1.0.6.
The versions list below shows the verdict for each recorded version.
- Avoid installing rand-tx-sdk@1.0.6. 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.