Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails: security cop which finds potential places with SQL injection #102

Open
roman-dubrovsky opened this issue Oct 1, 2019 · 1 comment
Labels
feature request New feature or request postponed Not valuable for now

Comments

@roman-dubrovsky
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I'd like to have a cop which will help me to find unsecured places where we can apply SQL Injection. This cop can already exist. If not, I think we can suggest it for the rubocop-rails gem.

Additional context.
https://rails-sqli.org

@roman-dubrovsky roman-dubrovsky added the feature request New feature or request label Oct 1, 2019
@roman-dubrovsky roman-dubrovsky changed the title Rails: security cop which will find potential cases with SQL injection Rails: security cop which finds potential places with SQL injection Oct 1, 2019
@roman-dubrovsky roman-dubrovsky added the postponed Not valuable for now label Oct 4, 2019
@nikitasakau
Copy link
Member

I am not sure that any of existing security cops is about SQL injections. There are cop about eval, json load, yml load, marshal load and files open. https://github.com/rubocop-hq/rubocop/tree/master/lib/rubocop/cop/security

Looks like we need custom cop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request postponed Not valuable for now
Projects
None yet
Development

No branches or pull requests

2 participants