Our great sponsors
-
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!
-
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.
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
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.
-
Other useful gems you may take a look at are dawnscanner, reek, and hakiri_toolbelt.
-
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.
-
Another great lib for this is Brakeman, which can be installed in a very similar process and gives you even more detailed reports:
-
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.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
Other useful gems you may take a look at are dawnscanner, reek, and hakiri_toolbelt.
Related posts
- Github Pre-commit Hook Setup In Ruby On Rails for maintaining coding standards and productive.
- Is this query vulnerable to SQL injections?
- Fixing Just One False Positive in Brakeman
- How do you guys integrate automated security checks in your CI/CD pipelines?
- How to Safely Deserialize Data in Ruby on Rails