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.
Provides hashed
method to ActiveRecord objects-set that return hash where keys is value of some attribute of object (default – primary key of used table).
Put this line to your Gemfile
gem "hashed"
Then run bundle install
and let's go!
Category.active.hashed
# equal to
Category.active.hashed(Category.primary_key)
# you may want to have hash not by primary_key
Category.active.hashed(:created_at)
# you may want to select only one field ({key: value})
Category.active.hashed(by: :created_at, only: :name)
FAQs
Unknown package
We found that hashed 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.