
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
kuromi
Advanced tools
Kuromi is a command runner and a pretty DSL around your command line. It's basically a nice friendly way to interact with Open3#popen3 from the standard library
Add this line to your application's Gemfile:
gem 'kuromi', github: 'onthebeach/kuromi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kuromi
Commands are built using Runners. and can be built up in chains until they are finally executed with #run.
output = Kuromi::Runner.for('hostname').run
You will end up with a Kuromi::Output object that you can use.
output.code # => 0, the exit code of the process
output.stdout # => Optional information from STDOUT
output.stderr # => Optional information from STDERR
like most OnTheBeach projects, Kuromi is allergic to nil so where applicable (currently stdout and stderr do this) you will either get Some[value] or None. For the implementation of Optional Values see the Optional gem here
You can pass extra arguments and build up command line chains with Kuromi using #command, #with and #and. For example
Kuromi::Runner.for('git').
command('rebase').
with('--interactive').
and('origin/master').
run
Pull requests are welcome. Please ensure they're tested or we may reject them.
Run the tests as follows
bundle exec rake
or with coverage
COVERAGE=true bundle exec rake
FAQs
Unknown package
We found that kuromi 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.

Security News
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.