tsnrun-paid-x7q@1.0.1
Malicious code in tsnrun-paid-x7q (npm)
Analysis
tsnrun-paid-x7q ships a Python tool rather than JavaScript (tsnrun_paid.py, tsnrun_mobile.py, run.sh), with no install hook, that downloads and executes remote code from author-controlled hosts. run.sh fetches hxxps://cdn[.]jsdelivr[.]net/npm/tsnrun-paid-x7q@1/tsnrun_paid.py into $HOME and executes it, and the README instructs the same via python -c "exec(urllib.request.urlopen(...).read())". On every start, tsnrun_paid.py and tsnrun_mobile.py request hxxps://daily-tools-8f3k[.]pages[.]dev/paid/version.txt and, if the returned string differs from the built-in build id "2026-11-19-paid6", download hxxps://daily-tools-8f3k[.]pages[.]dev/paid/tsnrun_paid.py and run it in-process through exec(compile(src, "<update:...>", "exec")). The only validation is that the downloaded text contains the announced version string and the literal "def main(", so whoever controls that host can execute arbitrary Python on any machine running the tool; the retrieved script is never pinned to a hash. The scripts impersonate a campus fitness app (User-Agent "StudentsMarch/3.6.815", hardcoded appId and appSecret, hardcoded RSA public key) and relay the user's university login — password encrypted with fixed-exponent RSA PKCS#1 v1.5, request parameters signed with AES-CBC — to hxxp://a[.]sxstczx[.]com over plain HTTP, writing the account password, session token and a generated device id to tsnrun.conf and tsnrun_state.json beside the script.
- analyzed by
- Leitwacht
- first seen
- Nov 19, 2026, 06:38 PM
- analyzed
- Nov 19, 2026, 06:40 PM
Related advisories
- tsnrun-paid-x7q@1.0.5 same package
- tsnrun-paid-x7q@1.0.2 same package
- tsnrun-paid-x7q@1.0.0 same package
- babyyodaa@1.1.0
- agent-bypass@2.29.3
- agent-bypass@2.29.2
- nodetokyo@1.0.10
- git-crt-creator@10.13.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.