{"id":"MAL-2026-17422","title":"Malicious code in shortneer (PyPI)","summary":"Malicious code in shortneer (PyPI)","severity":"critical","exploited":true,"vendor":"shortneer","product":"shortneer","ecosystem":"pip","affected":["shortneer"],"published":"2026-10-01","updated":"2026-10-04","sourceUpdated":"2026-10-04T23:45:21.469872636Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17422","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/shortneer"},{"url":"https://pypi.org/project/shortneer/0.1.0/"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-10-02T07:24:14.775Z","slug":"MAL-2026-17422","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4960c121d2fbf6337d33df0c6a304f4f3e968d18c64614c323ac5f8389020bab)\nThe package ships a macOS arm64 Rust-compiled Python extension (_core.abi3.so) fronted by a thin wrapper lb.py. The only exposed Python function, shortname(), invokes two gibberish-named native entrypoints (_core.dphjx0rdhx0 and _core.ioluli0x0xthf) and swallows all exceptions with a silent print(''). The native binary embeds the hardcoded path 'Library/Application Support/Telegram Desktop/tdata' (the installer's Telegram Desktop session store on macOS), the archive name 'fghj.zip', and the destination 'https://api.telegram.org', alongside zip, AES, ChaCha20 and reqwest/rustls/hyper HTTP client code. This matches packaging the installer's live Telegram Desktop session directory and uploading it to a Telegram bot controlled by the author, which grants full takeover of the installer's Telegram account. The random-looking native export names and the blanket exception suppression serve to hide the behavior from casual inspection; the package's self-description as an OSINT utility does not match its actual data flow, which targets the installer's own messaging session store rather than any user-supplied target.\n\n## Source: kam193 (5e166ae1253c886885381cb5087f67a59a869cad6ece6f3ac40aefc6e463c27f)\nWhen used, the package exfiltrates Chrome extension files (likely targeting cryptocurrency wallets) and sensitive Telegram files.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-09-sherpy\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - exfiltration-crypto\n\n\n - target:telegram\n\n\n - native-extension\n\n\n## Affected packages\n\n- `shortneer`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"abyssal","depthScore":70,"depthScoreParts":{"impact":52.3,"likelihood":0,"exploitation":18,"ransomware":0},"changes":[]}