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.
Ruby interface to update status(text, image, video) on social networking sites(Facebook, Twitter, Linkedin).
Add this line to your application's Gemfile:
gem 'socialshare'
And then execute:
$ bundle
Or install it yourself as:
$ gem install socialshare
for twitter
s = Socialshare::Tweeter.new(:consumer_key => TWITTER_CONSUMER_KEY, :consumer_secret => TWITTER_CONSUMER_SECRET, :user_token => twitter_user_token, :user_secret => twitter_user_secret)
s.post(text) #to tweet on twitter
s.get_twitter_profile #to get your twitter profile
s.user_timeline #to get your twitter timeline
s.get_twitter_home_timeline #to get home twitter timeline
s.update_profile_photo(YOUR_IMAGE_PATH) #update your twitter profile image
s.update_profile_background_photo(YOUR_IMAGE_PATH) #update your twitter profile background image
s.get_twitter_followers #to get your twitter followers
s.fetch_tweet_by_id(tweet_id) #fetch any tweet using tweet id
s.fetch_twitter_friends(:name => "abc") #fetch twitter friend by name
s.fetch_twitter_friends(:id => "abc") #fetch twitter friend by id
s.fetch_twitter_friends # get all friends
for facebook
s = Socialshare::Facebook.new(:fb_token => facebook_user_token)
s.post(text) #to post on facebook
s.get_facebook_profile #to get your facebook profile
s.get_facebook_connections #to get your facebook connections
s.share_picture(FILE_PATH) #to share image on facebook
s.share_video(FILE_PATH) #to share video on facebook
for Linkedin
s = Socialshare::Linkdin.new(:api_key => LINKEDIN_API_KEY, :secret_key => LINKEDIN_SECRET_KEY, :user_token => twitter_user_token, :user_secret => twitter_user_secret)
s.post(text) #to post on linkedin
s.get_linkedin_profile #to get your linkedin profile
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that socialshare 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.