
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
This is a gem wrapping the v1 REST API for Rocket.Chat.
The gem is based on a fork of http://github.com/int2xx9/ruby-rocketchat however that gem implemented v0.1 of the Rocket.Chat API and it was not forward compatible. Thanks to @int2xx9 for the framework on which this gem was based
Add this line to your application's Gemfile:
gem 'rocketchat'
And then execute:
$ bundle
This gem supports the following Rocket.Chat APIs (Tested against Rocket.Chat v0.54)
To get Rocket.Chat version
require 'rocketchat'
rocket_server = RocketChat::Server.new('http://your.server.address/')
info = rocket_server.info
puts "Rocket.Chat version: #{info.version}"
To logout from a server:
require 'rocketchat'
rocket_server = RocketChat::Server.new('http://your.server.address/')
session = rocket_server.login('username', 'password')
# ... use the API ...
session.logout
To debug the communications between the gem and Rocket.Chat, there is a debug option. It accepts a stream for logging.
require 'rocketchat'
rocket_server = RocketChat::Server.new('http://your.server.address/', debug: $stderr)
For details of specific APIs:
Bug reports and pull requests are welcome on GitHub at https://github.com/abrom/rocketchat-ruby.
Note that spec tests are appreciated to minimise regressions. Before submitting a PR, please ensure that:
$ rspec
and
$ rubocop
both succeed
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that rocketchat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.