
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
omniauth-streamelements
Advanced tools
An Omniauth strategy for Streamelements
Add this line to your application's Gemfile:
gem 'omniauth-streamelements', github: "krtschmr/omniauth-streamelements"
And then execute:
$ bundle
Here's an example for adding the middleware to a Rails app in config/initializers/omniauth.rb:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :streamelements, ENV["STREAMELEMENTS_CLIENT_ID"], ENV["STREAMELEMENTS_CLIENT_SECRET"]
end
Here's an example Auth Hash available in request.env['omniauth.auth']:
{"provider"=>"streamelements",
"uid"=>"5d2....",
"info"=>{"display_name"=>"MyHero", "name"=>"MyHero"},
"credentials"=>{"token"=>"CvsQp....", "refresh_token"=>"e8N...", "expires_at"=>1578133337, "expires"=>true},
"extra"=>
{"raw_info"=>
{"streamelements"=>
{"profile"=>{"headerImage"=>"....", "title"=>"...'s profile"},
"provider"=>"twitch",
"broadcasterType"=>"affiliate",
"suspended"=>false,
"providerId"=>"1337",
...
"geo"=>"TH",
"id"=>"5d29bb4406f75d15ac92a9c3"}}}}
Bug reports and pull requests are welcome on GitHub at https://github.com/krtschmr/omniauth-streamelements. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that omniauth-streamelements 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
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.