I’m incredibly excited to announce a security platform for managing Ruby gems dependencies: diffend.io.
This platform is a result of my involvement in Ruby security matters for years. It all started in early 2018 with a tool to review gems versions diffs. While working on it, I’ve noticed that there’s much more that needs to be handled. Versions diffing while inevitable, by itself is insufficient, that’s why we’ve built this platform.
If you’re just interested in the gems diffing, go to my.diffend.io and select any gem and versions you want to view. New releases for all the gems are computed in real-time, but for some of the older ones, you will have to wait a bit.
You can also use a shiny new link available on each RubyGems gems page to review changes against the previous release of the same gem:
If you would want to run a more thoughtful assessment, you can either run this script in your application main directory:
ruby <(curl -s https://my.diffend.io/api/setup/ruby)
or if you are like me and do not want to run scripts from the internet, you can just follow the super short manual with setup instructions here.
If something is not clear or you have any questions, please contact us at our Slack workspace with this invitation link or drop us a line at contact@diffend.io.
In short, Diffend allows you to:
It also runs certain types of heuristics and checks to pinpoint potentially “interesting” releases for further semi-manual inspection.
OSS supply chain attacks are becoming a more and more common thing. Looking at RubyGems or npm, there are plenty of examples of packages getting hijacked and malicious versions being uploaded. There were already several attacks that were detected and stopped thanks to Diffend and RubyGems close cooperation.
If you just update dependencies without checking them, you’re not actually sure of what you’re putting into production. You should not trust what’s on Github. An attacker can upload something to a registry without pushing it to Github. The only way to be sure is to look at what’s actually on the registry.
When it’s easy to work securely, people are more likely to do it. diffend.io, is another step towards improving Ruby’s security story by letting you generate diffs from any browser and share them as links. This also lends itself to automation: now you can connect Diffend with your Gemfile and make dependency audits a part of your workflow. We hope this will inspire the community with lots of new security ideas that don’t slow you down.
Diffend was built with security in mind. Platform, plugin, and our gem collect the absolute minimum amount of data to provide you with the services. Both the Bundler plugin and the monitor will be open-sourced, but even now you can download and review their content.
On top of all of that, we’ve been super cautious about what we collect, that’s why:
Diffend platform is free to use. You don’t even need an account to review the diffs (and you never will). If you like our platform, please consider convincing your company to support us with any amount of money. We’ll just invoice you for the service usage :)
This way, with a bit of funding, we might be able to push forward many security initiatives much faster.
At the moment we are working on several things:
Diffend is a platform in an alpha stage and under massive development. Some functionalities may not work on every operating system, and some other features may not be available or may be broken. We are working hard to fix and improve the platform, which is why we are counting on your feedback so that we can meet your exact needs faster!
The post Diffend – OSS supply chain security and management platform for Ruby appeared first on Running with Ruby.
After a decade under Pablo Cantero's stewardship, Shoryuken has a new maintainer - me. I'm…
MAAS 3.7 has been officially released and it includes a bunch of cool new features.…
Update: This article originally concluded that Eisel-Lemire wasn't worth it for Ruby. I was wrong.…
Recently, the team at MinIO moved the open source project into maintenance mode and will…
Recently, the team at MinIO moved the open source project into maintenance mode and will…
FOSDEM is one of the biggest and most exciting open source events of the year,…