Acerca de
The Sinatra Security skill provides specialized guidance for securing Ruby-based web applications. It focuses on implementing robust defenses against the OWASP Top 10, including CSRF protection via Rack::Protection, XSS prevention through template escaping and Content Security Policies, and SQL injection mitigation for Sequel and ActiveRecord. Beyond basic hardening, it provides production-ready implementation patterns for BCrypt authentication, JWT token management, Role-Based Access Control (RBAC), and rate limiting, ensuring your Sinatra backend is resilient and secure.