The instantscrape package on PyPI contains embedded malicious code that executes during installation or import. This code acts as an infostealer, exfiltrating files and using obfuscation to evade detection. The malicious behavior is triggered by overriding the install command in setup.py. Versions 0.1.0, 0.1.5, and 0.1.8 of instantscrape are affected.