
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.