
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
omniauth-amazon-oauth2
Advanced tools
Login with Amazon OAuth2 strategy for OmniAuth 1.0
Add this line to your application's Gemfile:
gem 'omniauth-amazon'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-amazon
You must create an application via the Amazon App Console. Once that is complete, register two URLs under Web Settings -> Allowed Return URLs:
http://localhost:3000/auth/amazon/callback
https://your_website_here/auth/amazon/callback
Amazon requires HTTPS for the whitelisted callback URL (except localhost). They don't appear to
like .dev
domains too much but happily accept localhost.
Usage is similar to other OAuth2 based OmniAuth strategies:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :amazon, ENV['AMAZON_CLIENT_ID'], ENV['AMAZON_CLIENT_SECRET'],
{
:scope => 'profile postal_code' # default scope
}
end
Config options can be passed to provider
via a Hash
:
scope
: A space-separated list of permissions. Can be profile
,
postal_code
, profile:user_id
, or a combination of options.profile postal_code
profile:user_id
scope will not display an additional consent
screen the first time the user logs in.raw_info
to see why client.request
has to be used in query
modegit checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that omniauth-amazon-oauth2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.