rails-security-review

Identify security risks in Rails code via static analysis.

22|6|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/igmarin/rails-agent-skills --skill rails-security-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rails-security-review
Source: https://github.com/igmarin/rails-agent-skills/tree/main/rails-security-review
Command: npx skills add https://github.com/igmarin/rails-agent-skills --skill rails-security-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when reviewing Rails code for security risks, assessing authentication or authorization, auditing parameter handling, redirects, file uploads, secrets management, or checking for XSS, CSRF, SSRF, SQL injection, and other common vulnerabilities.

Core Features & Use Cases

  • Security-focused code reviews for Rails controllers, models, and views.
  • Checks for authentication/authorization gaps, unsafe parameter handling, insecure redirects, and risky file handling.
  • Use Case: Auditing a Rails app before deployment to identify exploitable vulnerabilities and ensure best practices are followed.

Quick Start

Run a security review on your Rails project to identify vulnerabilities and generate actionable fixes.

Frequently Asked Questions about rails-security-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Rails code for security vulnerabilities before deployment?

Review Rails code for security vulnerabilities by running static analysis across controllers, models, and views to identify exploitable risks and generate actionable fixes based on standard security checklists.

What common security risks should I check for in a Rails application?

Common Rails security risks include authentication and authorization gaps, unsafe parameter handling, insecure redirects, risky file uploads, and poor secrets management exposing the app to XSS, CSRF, SSRF, or SQL injection.

Can I use this to audit Rails strong parameters and credentials management?

Yes, you can audit Rails strong parameters and credentials management by checking for adherence to best practices, ensuring proper parameter handling and verifying that credentials remain protected.

How do I check Rails controllers and middleware for authentication gaps?

Check Rails controllers and middleware for authentication gaps by running a security-focused code review that examines authorization logic and identifies missing access controls across the application stack.

Does this security review cover file uploads and redirects in Rails?

Yes, this Rails security review covers file uploads and redirects by examining handling logic for risky file processing and verifying that redirect implementations do not allow unsafe external redirection.

What is the best way to harden a Rails app against SSRF and SQL injection?

The best way to harden a Rails app against SSRF and SQL injection is to perform a comprehensive security audit that checks parameter handling and aligns code with standard security best practices.