
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
This package patches pip and requests at runtime to use certificates from the default system store (rather than the bundled certs ca).
This will allow pip to verify tls/ssl connections to servers who's cert is trusted by your system install.
Simply install with::
pip install pip_system_certs
and pip should trust your https sites if your host os does.
This also extends to all direct uses of the requests library (and other packages that use requests)
The method used to automatically enable the cert handling in requests/pip/etc relies on a .pth
file script that python loads at startup. This method does not work when a python application is
bundled into an executable with PyInstaller (or similar).
If you want to use this tool in an application built with PyInstaller it will need to be manually enabled in your application.
This can be done by adding the following line to the top of your main application script::
import pip_system_certs.wrapt_requests
This must be run before requests
is imported.
The method of patching at runtime is built from the autowrapt module: https://pypi.python.org/pypi/autowrapt
version: 4.0
FAQs
Live patches pip to use system certs by default
We found that pip-system-certs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.