All Projects → 0xedward → awesome-rails-security

0xedward / awesome-rails-security

Licence: MIT license
A curated list of security resources for a Ruby on Rails application

Projects that are alternatives of or similar to awesome-rails-security

Rails Security Checklist
🔑 Community-driven Rails Security Checklist (see our GitHub Issues for the newest checks that aren't yet in the README)
Stars: ✭ 1,265 (+3413.89%)
Mutual labels:  security-audit, ruby-on-rails, security-hardening
Hardentheworld
Harden the world is a community driven project to develop hardening guidelines and checklists for common software and devices.
Stars: ✭ 158 (+338.89%)
Mutual labels:  security-audit, security-hardening
Vuls
Agent-less vulnerability scanner for Linux, FreeBSD, Container, WordPress, Programming language libraries, Network devices
Stars: ✭ 8,844 (+24466.67%)
Mutual labels:  security-audit, security-hardening
Leaky Gems
A list of Ruby gems that have known memory leaks (and issues)
Stars: ✭ 895 (+2386.11%)
Mutual labels:  rubygems, ruby-on-rails
Golang Tls
Simple Golang HTTPS/TLS Examples
Stars: ✭ 857 (+2280.56%)
Mutual labels:  security-audit, security-hardening
Audit scripts
Scripts to gather system configuration information for offline/remote auditing
Stars: ✭ 55 (+52.78%)
Mutual labels:  security-audit, security-hardening
Btle Sniffer
Passively scan for Bluetooth Low Energy devices and attempt to fingerprint them
Stars: ✭ 87 (+141.67%)
Mutual labels:  security-audit, security-hardening
nerfball
Want to see how something like Internet Chemotherapy works without bricking your own vms? This is a jail to reduce the python runtime from doing bad things on the host when running untrusted code. Nerf what you do not need 👾 + 🐛 ⚽ 🏈 🐳
Stars: ✭ 19 (-47.22%)
Mutual labels:  security-audit, security-hardening
prowler
Prowler is an Open Source Security tool for AWS, Azure and GCP to perform Cloud Security best practices assessments, audits, incident response, compliance, continuous monitoring, hardening and forensics readiness. It contains hundreds of controls covering CIS, PCI-DSS, ISO27001, GDPR, HIPAA, FFIEC, SOC2, AWS FTR, ENS and custom security frameworks.
Stars: ✭ 8,046 (+22250%)
Mutual labels:  security-audit, security-hardening
Vueonrails
💎 Rails gem with the power of Vue.js components
Stars: ✭ 250 (+594.44%)
Mutual labels:  rubygems, ruby-on-rails
Marsnake
System Optimizer and Monitoring, Security Auditing, Vulnerability scanner for Linux, macOS, and UNIX-based systems
Stars: ✭ 16 (-55.56%)
Mutual labels:  security-audit, security-hardening
assimilation-official
This is the official main repository for the Assimilation project
Stars: ✭ 47 (+30.56%)
Mutual labels:  security-audit, security-hardening
Skf Flask
Security Knowledge Framework (SKF) Python Flask / Angular project
Stars: ✭ 573 (+1491.67%)
Mutual labels:  security-audit, security-hardening
Lynis
Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless, and installation optional.
Stars: ✭ 9,137 (+25280.56%)
Mutual labels:  security-audit, security-hardening
Prowler
Prowler is a security tool to perform AWS security best practices assessments, audits, incident response, continuous monitoring, hardening and forensics readiness. It contains more than 200 controls covering CIS, ISO27001, GDPR, HIPAA, SOC2, ENS and other security frameworks.
Stars: ✭ 4,561 (+12569.44%)
Mutual labels:  security-audit, security-hardening
Electriceye
Continuously monitor your AWS services for configurations that can lead to degradation of confidentiality, integrity or availability. All results will be sent to Security Hub for further aggregation and analysis.
Stars: ✭ 255 (+608.33%)
Mutual labels:  security-audit, security-hardening
Karafka
Framework for Apache Kafka based Ruby and Rails applications development.
Stars: ✭ 1,223 (+3297.22%)
Mutual labels:  rubygems, ruby-on-rails
rails-mini-profiler
Performance profiling for Rails, made simple 🦔
Stars: ✭ 380 (+955.56%)
Mutual labels:  rubygems, ruby-on-rails
ad-privileged-audit
Provides various Windows Server Active Directory (AD) security-focused reports.
Stars: ✭ 42 (+16.67%)
Mutual labels:  security-audit, security-hardening
humble
A humble, and fast, security-oriented HTTP headers analyzer
Stars: ✭ 17 (-52.78%)
Mutual labels:  security-audit

Awesome Rails Security

Awesome

A curated list of security resources for a Ruby on Rails application

Table of Contents

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

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

Rate Limiting

  • ReCaptcha - A plugin that adds helpers for the reCAPTCHA 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

Static Code Analysis

  • 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.
  • RoboCop - A Ruby static code analyzer and formatter, based on the community Ruby style guide
  • dawnscanner - A source code scanner designed to review your ruby code for security issues

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

  • 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
  • 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

Logging and Monitoring

  • Sqreen - Unified security monitoring and protection for modern cloud & on-prem environments
  • Report URI

Security Vulnerability Advisories

Resources

Official Resources

Labs - Vulnerable Applications

  • 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
  • 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

Best Practices

Anti-Patterns

Additional Reading

Reporting Bugs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].