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.
IRuby::Dependencies
is a thin wrapper around bundler/inline for injecting Ruby dependencies into Jupyter Notebooks along with their system dependencies. For example,
require 'iruby/dependencies'
dependencies do
gem 'http'
gem 'addressable'
end
$ gem install iruby-dependencies
You'll have to restart any IRuby kernels already running.
Most Jupyter notebooks run in highly reproducible environments (e.g. Docker containers). An IRuby::Dependencies
can be created that maps gems to the commands that must be executed before that gem can be installed. The config location should be saved as a Bundler config with the key dependencies.config
. The config location can be a local file path or URL. For example:
$ bundle config dependencies.config /home/jovyan/dependencies.config
RemThe config file itself is a JSON file that maps gem names to commands that should be executed before the gem is installed. For instance, in a CentOS/RHEL environment, the config entry would install the gsl
YUM package before installing the gsl
RubyGem:
{
'gsl': [
["exec", "yum install gsl"]
]
}
To see the normal bundler output, pass verbose: true
to the dependencies method:
dependencies verbose: true do
gem 'http'
gem 'addressable'
end
FAQs
Unknown package
We found that iruby-dependencies 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.