Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
RSocial is a Ruby gem for crawling social media stats on various web entities. It's been setup to use Selenium WebDriver to make direct calls to your computers web browser, whereby each social media public web application is loaded and interacted with in order to poll the various stats.
Add this line to your application's Gemfile:
gem 'rsocial'
And then execute:
$ bundler
Or install it yourself:
$ gem install rsocial
require 'rsocial'
client = RSocial::Instagram.client(:requesting_handle => "my_handle")
client.user("ryanbingham_official")
=> {:post_count=>1502, :follower_count=>471000, :following_count=>171, :handle=>"ryanbingham_official"}
client.tag("newmusic")
=> {:post_count=>6676425, :images=>[{:alt=>"caption",:src=>"src"}]}
require 'rsocial'
client = RSocial::Facebook.client(:requesting_handle => "my_handle")
client.page("RyanBingham")
=> {:follower_count=>153418, :handle=>"RyanBingham"}
require 'rsocial'
client = RSocial::Twitter.client(:requesting_handle => "my_handle")
client.user("RyanBingham")
=> {:tweet_count=>5755, :following_count=>636, :follower_count=>404000, :like_count=>151000, :handle=>"RyanBingham"}
require 'rsocial'
client = RSocial::Youtube.client(:requesting_handle => "my_handle")
client.channel("UCtZ6qwLISrbRkYG2oBYLz3g")
=> {:subscriber_count=>11378, :channel_id=>"UCtZ6qwLISrbRkYG2oBYLz3g"}
require 'rsocial'
client = RSocial::Shazam.client(:requesting_handle => "my_handle")
client.user("40229308")
=> {:follower_count=>254734, :id=>"40229308"}
require 'rsocial'
client = RSocial::Soundcloud.client(:requesting_handle => "my_handle")
client.user("ryan-bingham")
=> {:follower_count=>1988, :track_count=>51, :handle=>"ryan-bingham"}
rspec
gem build rsocial.gemspec
gem install ./rsocial-X.X.X.gem
irb
require 'rsocial'
FAQs
Unknown package
We found that rsocial 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.