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.
An ElasticSearch status board as a Rack middleware for Ruby applications.
Add this line to your application's Gemfile:
gem 'elastic_board'
And then execute:
$ bundle
Or install it yourself as:
$ gem install elastic_board
The status board uses the Rubberband Gem and an instance of ElasticSearch::Client
Load it in your config.ru
file with an instance of ElasticSearch::Client
map '/elasticboard' do
run ElasticBoard::Application.new(
:connection => (ElasticSearch.new("localhost:9200") rescue nil)
)
end
If you use something like Escargot and ActiveRecord in your application, you can re-use the connection like so:
map '/elasticboard' do
run ElasticBoard::Application.new(
:connection => (Escargot.connection rescue nil)
)
end
From there, just go to /elasticboard
and check it out.
Note: rescue nil
is a nice safety in the event that your app is unable to connect to ElasticSearch, it will still boot. If you don't leave ES running on your development machine, this will let your app continue to boot regardless of whether or not ES is running. ElasticBoard will handle a nil connection gracefully.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that elastic_board 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.