
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Secure is the ruby sandboxing gem that powers http://rubymonk.com
Copyright (c) Tejas Dinkar and C42 Engineering
$ gem install secure
or add the following to your Gemfile
gem 'secure'
Secure.ly do
File.read("some file")
end
You can pass options to tweak what security checks are put in place. If the option is not there, then the security check is not put in place by default
Secure.ly
:timeout => 0.15
:limit_memory => 10000000
:limit_cpu => 2
:pipe_stdout => File.open("foo", "w") do
# Some secure operation here
end
RubyMonk is backed by an code evaluation server that uses secure gem in the backend. A single small (EC2) instance was able to consistently handle 150 code evaluation requests per minute, and we were able to horizontally scale when load went above this. YMMV
Feel free to file bugs. However, if it is a security issue, we appreciate it if you shoot me a mail at tejas@c42.in before you file a bug.
FAQs
Unknown package
We found that secure 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.