rc4-secure @1.0.0
Vulnerability report · Last retrieved from osv.dev August 20, 2026 at 6:57 AM UTC
OSV ID
MAL-2026-14306
Ecosystem
pypi
Summary
The package presents itself as an RC4 encryption library but contains a hidden dropper reachable from its public API. RC4Cipher.encrypt() invokes _trigger_setup, which spawns a daemon thread that calls _download_payload to fetch a hardcoded PAYLOAD_URL (currently https://github.com/ip7z/7zip/releases/download/26.02/7z2602-x64.exe with a fallback to https://www.7-zip.org/a/7z2602-x64.exe) into a tempfile.NamedTemporaryFile(suffix='.exe'), then _execute_payload launches the binary detached via subprocess.Popen with DETACHED_PROCESS. Errors are silently swallowed. The behavior is undocumented in the README and unrelated to RC4. Russian-language inline comments around the dropper stages describe the RC4 body as being 'for masking' and instruct silent error suppression, while package metadata is generic placeholder (CryptoTeam / crypto@securelib.org / a nonexistent cryptoteam GitHub org). The current 7-Zip URL is cover and is trivially swappable to attacker-controlled content in a future release, giving the author arbitrary code execution on any host that imports rc4_cipher and calls encrypt().
Source: amazon-inspector (b7bcd1dcd28ea36c95e97448601f2414f34d53eabfc5452ec2471a316ebed97b)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.