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.
Running this should only require Rails 2.2.2 or later, and the command line interfaces for sqlite3 and curl. Tested on Ubuntu Linux 9.04 ("Jaunty Jackalope") and Mac OSX 10.5.6 ("Leopard").
Installation of all necessary dependencies from a fresh install of Ubuntu 9.04:
sudo apt-get install rails git-core sqlite3 curl sudo gem install rubygems-update sudo /var/lib/gems/1.8/bin/update_rubygems sudo gem install rails sudo gem sources -a http://gems.github.com sudo gem install rubys-gorp
Execution instructions:
This is a library which, among other things, will interpret ARGV. Here's an example based on http://github.com/rubys/awdwr:
ruby makedepot.rb [VERSION] [restore] [RANGE]... [save]
"restore" - restore from snapshot before resuming execution
"VERSION" specifies the Rails version to test. Examples:
edge
_2.2.2_
~/git
"RANGE" specifies a set of sections to execute. Examples:
6.2..6.5
7.1-9.5
16
"save" - save snapshot after execution completes
Tests against the output produced (e.g., makedepot.html) can also be run separately:
ruby checkdepot.rb [partial]
"partial" means that tests which cover sections that are not included in makedepot.html are to be omitted.
FAQs
Unknown package
We found that rubys-gorp 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.