Supply-chain threat intelligence

Incident detail

criticalpypi·typosquatting·osv

Malicious code in ethereum-input-decorder (PyPI)

ethereum-input-decorder

Risk score

92

AI summary

Indexed incident for ethereum-input-decorder (pypi).

Description

The package name typosquats the legitimate 'ethereum-input-decoder'. Its top-level init.py unconditionally invokes a payload routine on import: it detects OS/arch, downloads a platform-specific binary from easyswapnow.pro (Linux/macOS builds at /downloads/lix_amd.bin, lix_arm.bin, mac_amd.bin, mac_arm.bin) or a Google Drive file for Windows, writes it to disk, sets the executable bit, and runs it via subprocess.run. The same import path also installs login persistence, writing ~/.config/systemd/user/python-script.service on Linux (enabled via systemctl --user enable --now) and ~/Library/LaunchAgents/com.user.script.plist on macOS (loaded via launchctl load -w), causing the dropper to re-run at every user login. setup.py ships placeholder author metadata ('Your Name', 'your.email@example.com') and a 'Hello World on import' description, contradicting the README which advertises an eth_defi demo; none of this matches the actual dropper. The destination domain easyswapnow.pro is unrelated to the advertised Ethereum-decoding purpose.

Technical details

Affected versions

=1.2.4=1.2.2

Indicators

  • affected version=1.2.475%
  • affected version=1.2.275%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents