DeepSource has joined Harness. Learn more
Use of `eval` detectedRB-SC1001Use of `Kernel#open` detectedRB-SC1004`rails` version is susceptible to DOS attack via Mime type cachingRB-A1008`sprockets` gem version is susceptible to path traversal vulnerabilityRB-A1009`rails` version specified in Gemfile does not encode JSON keysRB-A1010Rails version with CSRF token forgery vulnerability detectedRB-A1001Rails version with XML DOS vulnerability detectedRB-A1002Rails version with file disclosure vulnerability detectedRB-A1003Rails version with ActiveRecord symbol DOS vulnerability detectedRB-A1004Rails version vulnerable to timing attack in basic auth detectedRB-A1006Project's `rails` & `i18n` gem versions are vulnerable to cross-site scripting (XSS)RB-A1007Project's `rails` version is vulnerable to DoS on using `render :text`RB-A1011Rails version with SafeBuffer manipulation bug detectedRB-A1005Multiple comparison detectedRB-LI1035Use `Rails.root.join` to join pathsRB-RL1022Ineffective access modifier detectedRB-LI1028Trailing comma in attribute declaration detectedRB-LI1099Hash contains duplicate keysRB-LI1012`each_with_object` is called with an immutable argumentRB-LI1014Literal used in interpolationRB-LI1032`while`/`until` detected in `begin` blockRB-LI1033Function argument overwritten before useRB-LI1064Use of `has_and_belongs_to_many` detectedRB-RL1025Error class inheriting from `Exception`RB-LI1029Duplicate require/require_relative blocks were foundRB-LI1096`return` detected inside `ensure`RB-LI1021Override of built-in `ActiveRecord` method detectedRB-RL1003Use of `ActiveSupport` alias to core Ruby method detectedRB-RL1004Use of `assert !` detectedRB-RL1009Call to `exit` detected in appRB-RL1021Consider using `where.first` method instead of `find_by`RB-RL1023Replace `all.each` with `all.find_each`RB-RL1024Use of http methods without params detectedRB-RL1028Conditional statement contains an assignmentRB-LI1004Unnecessary use of disjunctive assignment in constructorRB-LI1010Duplicate conditions found in caseRB-LI1011Invalid construction of percent string literalRB-LI1044Unnecessary splat expressionRB-LI1050`with_object` is called, but its value is not usedRB-LI1053Regex literal used as conditionRB-LI1054Predicate method with arg called without parenthesesRB-LI1055`Exception` used in `rescue`RB-LI1056Chain with safe navigation operator may cause `NoMethodError`RB-LI1059Inconsistent use for safe navigation operator detectedRB-LI1060Safe navigation operator used with `empty?` in conditionalRB-LI1061Outer local variable is shadowedRB-LI1066Unreachable code detectedRB-LI1072Access modifiers should be declared as a groupRB-ST1001`IO.select` with single argument detectedRB-DS1003Bad binary expression operand orderRB-DS1005Potential SSL verification bypass detectedRB-DS1011Prefer using templates instead of rendering inline textRB-W1011Duplicate value detected in enum declarationsRB-RL1019Unexpected override of built-in `Struct` methodRB-W1007Exception class overwritten by its resultRB-E1001Bad ordering of magic commentsRB-LI1042Arguments to range literal are ambiguousRB-W1006Lambda without a literal block is deprecatedRB-W1004Avoid using `git` to declare files in gemspecRB-E1004Deprecated method used inside `refine` blockRB-W1005Duplicate magic comment foundRB-W1008Use `squish` for raw SQL queryRB-E1003Incorrect Order of ActiveRecord CallbacksRB-LI1103Avoid use of `match` in Rails routes with single request typeRB-LI1104Rails migrations are not reversibleRB-LI1107Rails 5 models should subclass `ApplicationRecord`RB-RL1008`add_column` does not accept an `index` argumentRB-W1013`default` value provided to `attribute` without a blockRB-W1014Symbol with same name as the boolean values foundRB-LI1006Duplicate assignments for a constantRB-DS1002Flip-flop operator detectedRB-LI1023`else` used without `rescue`RB-LI1080Using insecure network protocol sourceRB-S1000Require Multi-Factor Authentication (MFA) in GemspecRB-S1001Division by zeroRB-E1009Found redundant self-assignment branchRB-C1014Useless occurrence of `rescue`RB-W1023`uniqueness: true` used on a field that is not an indexRB-W1022Usage of "*" on `Arel::Table` column referenceRB-W1018Method vulnerable to DoS attackRB-S1004Skipping CRRF or authentication checks by defaultRB-S1005Usage of `Time.zone=` methodRB-W1019Usage of weak hashing algorithmRB-S1002Plaintext password found in callbackRB-S1003Ignored column accessed from ActiveRecord modelRB-E1010Usage of `inquiry` methodRB-C1017Found pattern branch without a bodyRB-W1003