
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.
omniauth-stackexchange
Advanced tools
This gem contains the StackExchange strategy for OmniAuth.
StackExchange uses the OAuth2 flow, you can read about it here: https://api.stackexchange.com/docs/authentication
So let's say you're using Rails, you need to add the strategy to your Gemfile
:
gem 'omniauth-stackexchange'
You can pull them in directly from github e.g.:
gem 'omniauth-stackexchange', :git => 'https://github.com/nashby/omniauth-stackexchange.git'
Once these are in, you need to add the following to your config/initializers/omniauth.rb
:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :stackexchange, "client_id", "client_secret", public_key: "key", site: 'stackoverflow'
end
You will obviously have to put in your client_id, client_secret and public_key, which you get when you register your app with StackExchange (they call them Client Id, Client Secret and Key).
You will also need to specify a site option to uniquely identify the StackExchange site (e.g. stackoverflow
or superuser
) you wish to authenticate against. A list of valid site api keys can be found at https://api.stackexchange.com/docs/sites. It's stackoverflow
by default.
If your application needs to be able to support multiple StackExchange sites, you can pass the site api key as the value for a GET parameter named sites (e.g. /auth/stackexchange?site=superuser)
Now just follow the README at: https://github.com/intridea/omniauth
OmniAuth StackExchange is tested under 1.9.3.
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)Copyright (c) 2012 by Vasiliy Ermolovich
FAQs
Unknown package
We found that omniauth-stackexchange demonstrated a not healthy version release cadence and project activity because the last version was released 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.