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.
Exportr is a simple environment variable manager for Ruby development. It reads key-value pairs from a yaml file and merges these pairs into Ruby's ENV hash when you require 'exportr'
.
The yaml file must be in one of Exportr's predefined locations. The paths are relative to the present working directory of the Ruby process. (The list will grow as Exportr is tested in various frameworks.)
/exportr.yml
/config/exportr.yml
Install the gem.
$ gem install exportr
Create an exportr.yml file in one of the predefined locations.
Require the gem.
require 'exportr'
Exportr comes with a rails generator that will create config/exportr.yml
and add it to your .gitignore
file.
Add the gem to your Gemfile
group :development do
gem 'exportr'
end
Run bundle install.
$ bundle install
Start your app server.
$ rails server
Notes
You will need to restart your server/ruby process after changing the yaml file. You can optionally manually load additions to the yaml file by calling Exportr.export
.
FAQs
Unknown package
We found that exportr 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.