
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.
Exchange rates from Nordea Bank.
Just like any other gem:
gem install nordea
The Money gem integration works in a similar way to the eu_central_bank library, mostly because I referenced that gem while building this one. A couple of the methods in the Nordea::Bank class are pretty much identical to those in the eu_central_bank gem.
nordea_bank = Nordea::Bank.new
Money.default_bank = nordea_bank
# Exchange 100 EUR to USD
nordea_bank.exchange(100, "EUR", "USD")
# Exchange 100 USD to South African rands
Money.us_dollar(100).exchange_to("ZAR")
# Exchange 100 Canadian dollars to US dollars
nordea_bank.exchange_with(Money.new(100, "CAD"), "USD")
# Update the forex rates
nordea_bank.update_rates
exchange_rates = Nordea::ExchangeRates.new
exchange_rates.currencies
#=> returns a hash of currencies
exchange_rates.currencies(true)
#=> returns a hash of currencies, but forces a data update
exchange_rates.headers
#=> returns a hash of the data headers from Nordea
For more information, read the documentation.
The gem should work with Ruby 1.9.3, Ruby 2.0.0, jRuby, and Rubinius (only Ruby 1.9 is actively targetted).
Nordea quotes exchange rates on national banking days at least three times a day:
MIT License. Copyright 2011-2013 Matias Korhonen.
See the LICENSE file for more details.
FAQs
Unknown package
We found that nordea 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
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.