Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
URSS or Ultra RSS is another ruby library to parse Feed RSS that has been created because there was no existing one that support multiple media:content or media:thumbnail.
Add this line to your application's Gemfile:
gem 'urss'
And then execute:
$ bundle
Or install it yourself as:
$ gem install urss
rss = Urss.at("http://www.ruby-lang.org/en/feeds/news.rss")
rss.title
#=> "Ruby News"
rss.url
#=> "http://www.ruby-lang.org/en/feeds/news.rss/"
rss.description
#=> "The latest news from Ruby-Lang.org."
rss.updated_at
#=> ""
rss.entries.size
#=> 10
rss.entries.first.title
#=> "Ruby 1.9.3-p194 is released"
rss.entries.first.created_at
#=> "Fri, 20 Apr 2012 03:19:04 GMT"
rss.entries.first.url
#=> "http://www.ruby-lang.org/en/news/2012/04/20/ruby-1-9-3-p194-is-released/"
rss.entries.first.content.truncate(200)
#=> "<p>Ruby 1.9.2-p320 is released.</p><p>This release include Security Fix for RubyGems: SSL server verification failure for remote repository.\nAnd many bugs are fixed in this release.</p> <h2><a name..."
rss = Urss.at("http://api.flickr.com/services/feeds/photos_public.gne?id=90313708@N00&lang=en-us&format=rss_200")
rss.title
#=> "Uploads from CoolbieRe"
rss.updated_at
#=> "Mon, 23 Apr 2012 09:48:57 -0700"
rss.entries.first.title
#=> "vertical panorama"
rss.entries.first.medias.size
#=> 1
rss.entries.first.medias.first.title
#=> "vertical panorama"
rss.entries.first.medias.first.thumbnail_url
#=> http://farm9.staticflickr.com/8159/6960539484_56665aba46_s.jpg
rss.entries.first.medias.first.content_url
#=> http://farm9.staticflickr.com/8159/6960539484_56665aba46_b.jpg
rss = Urss.at("http://api.flickr.com/services/feeds/photos_public.gne?id=90313708@N00&lang=en-us&format=atom")
rss.title
#=> "Uploads from CoolbieRe"
rss.updated_at
#=> "2012-04-23T16:48:57Z"
rss.entries.first.title
#=> "vertical panorama"
rss.entries.first.medias.size
#=> 1
rss.entries.first.medias.first.title
#=> nil
rss.entries.first.medias.first.thumbnail_url
#=> nil
rss.entries.first.medias.first.content_url
#=> http://farm9.staticflickr.com/8159/6960539484_56665aba46_b.jpg
If you encounter a Feed (RSS or Atom) where an attribute is not well parsed: Open an issue with a dump of the feed.
You can use curl
to do this and post the output (Use gists if it is very long).
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that urss 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.