
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.
With pip::
$ pip install WSGIProxy2
Install optionnal backends::
$ pip install requests urllib3
Create a proxy::
from wsgiproxy import HostProxy proxy = HostProxy(application_url)
Then use it. Here is an example with WebOb but you can use it like a classic WSGI application::
... ...from webob import Request req = Request.blank('/form.html') resp = req.get_response(proxy) print(resp.text)
The Proxy application accept some keyword arguments. Those arguments are passed to the client during the process.
If no client as specified then python httplib is used. It's recommended to use a more robust client able to manage a connection pool and stuff.
Use urllib3 <http://pypi.python.org/pypi/urllib3>
_::
proxy = HostProxy(application_url, client='urllib3')
Use requests <http://pypi.python.org/pypi/requests>
_. This client support response streaming::
proxy = HostProxy(application_url, client='requests')
remove stale dep on six
use github actions as CI
Add OPTIONS to defaults allowed methods
Drop restkit support
Drop py26 support
fix tests.
change the way requests iter response
Make allowed_methods check optional
Return the data not gzip decoded when using request
Initial release
FAQs
A WSGI Proxy with various http client backends
We found that WSGIProxy2 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.