Security Risks On Rails: Misconfiguration and Unsafe Integrations

This page summarizes the projects mentioned and recommended in the original post on dev.to

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
  1. railsgoat

    A vulnerable version of Rails that follows the OWASP Top 10

    As with the other articles, RailsGoat will be used to explore some aspects of these threats in practice. If you're new here, please refer to the previous two articles to get the app set up and get acquainted with what we’ve explored so far. Let's jump right in!

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. protected_attributes

    Protect attributes from mass-assignment in ActiveRecord models.

    If you’re migrating from Rails 3 to a newer version and still don’t want to deal with that specific part, Rails still allows the use of the protected_attributes gem for a smoother upgrade path, but be mindful that this is just until version 5. From there on, no more support will be provided.

  4. Ruby on Rails

    Ruby on Rails

    This allows Rails to escape any HTML content in JSON responses, which is great. Make sure to always double-check whether the value is set to true since there’s some controversy about the default value, depending on the version of Rails.

  5. Reek

    Code smell detector for Ruby

    Other useful gems you may take a look at are dawnscanner, reek, and hakiri_toolbelt.

  6. bundler-audit

    Patch-level verification for Bundler

    Let’s take the super famous gem bundler-audit, for instance. It works closely with bundler to provide patch-level verification for your project gems, such as vulnerability checks, insecure gem sources, etc.

  7. Brakeman

    A static analysis security vulnerability scanner for Ruby on Rails applications

    Another great lib for this is Brakeman, which can be installed in a very similar process and gives you even more detailed reports:

  8. dawnscanner

    Dawn is a static analysis security scanner for ruby written web applications. It supports Sinatra, Padrino and Ruby on Rails frameworks.

    Other useful gems you may take a look at are dawnscanner, reek, and hakiri_toolbelt.

  9. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  10. Hakiri

    Secure Ruby apps with Hakiri

    Other useful gems you may take a look at are dawnscanner, reek, and hakiri_toolbelt.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What are some common strategies for preventing SQL injection vulnerabilities in Rails beyond ActiveRecord?

    2 projects | dev.to | 23 Dec 2024
  • First commits in a Ruby on Rails app

    6 projects | dev.to | 17 Jan 2024
  • Github Pre-commit Hook Setup In Ruby On Rails for maintaining coding standards and productive.

    3 projects | dev.to | 28 Aug 2022
  • Is this query vulnerable to SQL injections?

    1 project | /r/rails | 22 Aug 2022
  • Fixing Just One False Positive in Brakeman

    2 projects | dev.to | 8 Nov 2021

Did you know that Ruby is
the 12th most popular programming language
based on number of references?