Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
awesome-rails-security
A curated list of security resources for a Ruby on Rails application
https://github.com/0xedward/awesome-rails-security
Last synced: 5 days ago
JSON representation
-
Gems
-
Authentication and OAuth
- Devise - Flexible authentication solution for Rails with Warden
- Devise Security - A Devise extension to add additional security features required by modern web applications
- Warden - General Rack Authentication Framework
- AuthLogic - An unobtrusive ruby authentication library based on ActiveRecord
- OmniAuth - A library that standardizes multi-provider authentication for web applications
- JWT - A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard
- Knock - Seamless JWT authentication for Rails API
-
Request Management
- Secure Headers - Manages application of security headers with many safe defaults
- Rack::Attack - Rack middleware for blocking & throttling
- ssrf_filter - A ruby gem for defending against Server Side Request Forgery (SSRF) attacks
- Rack::Attack - Rack middleware for blocking & throttling
-
Static Code Analysis
- RoboCop - A Ruby static code analyzer and formatter, based on the community Ruby style guide
- Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications
- bundler-audit - Patch-level verification for Bundler
- Ruby Advisory Database - A database of vulnerable Ruby Gems. You can check your own Gemfile.locks against this database by using bundler-audit.
- dawnscanner - A source code scanner designed to review your ruby code for security issues
- RoboCop - A Ruby static code analyzer and formatter, based on the community Ruby style guide
-
Authorization
- CanCanCan - An authorization library for Ruby and Ruby on Rails which restricts what resources a given user is allowed to access.
- Pundit - Pundit provides a set of helpers which guide you in leveraging regular Ruby classes and object oriented design patterns to build a simple, robust and scaleable authorization system
-
File Upload
- CarrierWave - A gem that provides a simple and extremely flexible way to upload files from Ruby applications
-
Logging and Monitoring
- Exception Notification - A gem that provides a set of notifiers for sending notifications when errors occur in a Rack/Rails application
-
Password Strength
- zxcvbn-ruby - Ruby port of zxcvbn.js (Low-Budget Password Strength Estimation)
-
-
Tools
-
Static Code Analysis
- Snyk - A developer-first solution that automates finding & fixing vulnerabilities in your dependencies
- GuardRails - Continuous security feedback for your GitHub repositories
- Hakiri - Hakiri monitors Ruby apps for dependency and code security vulnerabilities
- rails_best_practices - A code metric tool to check the quality of Rails code
- Hawkeye scanner-cli - A project security, vulnerability and general risk highlighting tool
- git-secrets - Prevents you from committing passwords and other sensitive information to a git repository
-
Logging and Monitoring
- Sqreen - Unified security monitoring and protection for modern cloud & on-prem environments
- Report URI
-
-
Security Vulnerability Advisories
-
Logging and Monitoring
- Ruby on Rails: Security - A mailing list to get security announcements for Ruby, Rails, Rubygems, Bundler, and other Ruby ecosystem projects
- ruby-security-ann - Another mailing list to get security announcements for Ruby, Rails, Rubygems, Bundler, and other Ruby ecosystem projects
- Ruby-Lang - Security - A newsfeed for security vulnerabilities in the Ruby programming language
- Synk - Vulnerability DB
- Synk - Vulnerability DB
-
-
Resources
-
Official Resources
- Rails - Securing Rails Applications - This manual describes common security problems in web applications and how to avoid them with Rails
-
Labs - Vulnerable Applications
- Checkmarx - Codebashing - Lessons on common vulnerabilities implemented in Rails. Lessons on SQL Injection, XXE and Stored XSS are free.
- PentesterLab - Provides some vulnerable Rails environments to learn about security vulnerabilities, such as [CVE-2019-5420](https://pentesterlab.com/exercises/cve-2019-5420)
- OWASP RailsGoat - A vulnerable version of the Ruby on Rails Framework from versions 3 to 5. It includes vulnerabilities from the OWASP Top 10, as well as some "extras" that the initial project contributors felt worthwhile to share. This project is designed to educate both developers, as well as security professionals.
- DeleteMe - Educational insecure Rails application
-
Best Practices
- rails-bestpractices.com - A newsfeed of code snippets on what practices should and should not be done in Rails
- OWASP - Ruby on Rails Cheatsheet - A cheatsheet that intends to provide quick basic Ruby on Rails security tips for developers. It complements, augments or emphasizes points brought up in the rails security guide from rails core
- Preventing security issues in Ruby on Rails (based on OWASP cheatsheet)
- OWASP - Ruby on Rails Security Guide
- Securing Sensitive Data in Rails
- The Ruby Security Handbook
- Ruby on Rails Security: Best Practices
- Ruby on Rails Security Basics
- Ruby on Rails Security 17-Item Checklist
- Level Up Your Security in Rails
- Securing Ruby on Rails Web Applications
- Ruby on Rails Web Application Vulnerabilities: How to Make Your App Secure
- Preproduction Security Checklist for a Rails App
- Ruby on Rails Security Guide
- Rails Security Strategy Book
- secure_rails
- production_rails
- Rails Security Checklist
- OWASP - Ruby on Rails Security Guide
-
Anti-Patterns
-
Additional Reading
-
-
Reporting Bugs
-
Additional Reading
-
Programming Languages
Sub Categories
Keywords
ruby
12
security
7
rails
6
security-audit
4
vulnerabilities
3
security-tools
2
ruby-on-rails
2
authorization
1
cancancan
1
gem
1
server-side-request-forgery
1
ssrf
1
brakeman
1
security-vulnerability
1
static-analysis
1
bundler-audit
1
dependency-checker
1
ruby-jwt
1
oauth-json-web
1
jwt-token
1
jwt
1
omniauth
1
authentication
1
session-management
1
passwords
1
password-expiration
1
mongoid
1
devise-modules
1
devise
1
rack-middleware
1
rack-attack
1
rack
1
static-code-analysis
1
rubocop
1
linter
1
code-formatter
1
security-hardening
1
rails-security-checklist
1
rails-security
1
checklist
1
owasp-top
1
appsec
1
npm
1
nodejs
1
docker
1
ci
1
sinatra
1
padrino
1
hanami
1
cybersecurity
1