
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Allow you work with any Yandex.APIs
Modules:
Add this line to your application's Gemfile:
gem 'yandex-api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install yandex-api
Create configuration file yandex_direct.yml
token: token
login: login
locale: ru
verbose: true
sandbox: true
Create configuration file yandex_direct.yml
development:
token: token
login: login
locale: ru
verbose: true
sandbox: true
Create yandex_direct.rb in config/initializers
Yandex::API::Direct.load File.join(Rails.root,"config","yandex_direct.yml"), Rails.env
require 'yandex-api'
Yandex::API::Direct.load "yandex_direct.yml"
campaign = Yandex::API::Direct::CampaignInfo.list.first
puts campaign.inspect
puts campaign.banners.first.inspect
Create configuration file yandex_translate.yml
token: "token"
ui: true
verbose: true
Create configuration file yandex_translate.yml
development:
token: "token"
ui: "ru"
verbose: true
Create yandex_translate.rb in config/initializers
Yandex::API::Translate.load File.join(Rails.root,"config","yandex_translate.yml"), Rails.env
require 'yandex-api'
Yandex::API::Translate.load "yandex.yml", "production"
puts Yandex::API::Translate.languages.inspect
puts Yandex::API::Translate.detect('test').inspect
puts Yandex::API::Translate.do('Hello GitHub', 'ru').inspect
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that yandex-api 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.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.