Ruby: prepare test case whitespace

This commit is contained in:
Alex Ford
2024-04-24 14:39:06 +01:00
parent 91bca4a2c3
commit 6b0e7961fa
2 changed files with 229 additions and 226 deletions

View File

@@ -12,6 +12,9 @@ class User < ApplicationRecord
find(:first, conditions: ["name='#{name}' and pass='#{pass}'"])
# GOOD: using SQL parameters
find(:first, conditions: ["name = ? and pass = ?", name, pass])
# BAD: interpolation with flow
# conds = "name=#{name}"
# find(:first, conditions: conds)
end
def self.from(user_group_id)

View File

@@ -3,84 +3,84 @@ edges
| ActiveRecordInjection.rb:8:25:8:28 | name | ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:8:31:8:34 | pass | ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:8:31:8:34 | pass | ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:24:22:24:30 | condition | ActiveRecordInjection.rb:27:16:27:24 | condition | provenance | |
| ActiveRecordInjection.rb:39:30:39:35 | call to params | ActiveRecordInjection.rb:39:30:39:44 | ...[...] | provenance | |
| ActiveRecordInjection.rb:43:18:43:23 | call to params | ActiveRecordInjection.rb:43:18:43:32 | ...[...] | provenance | |
| ActiveRecordInjection.rb:47:29:47:34 | call to params | ActiveRecordInjection.rb:47:29:47:39 | ...[...] | provenance | |
| ActiveRecordInjection.rb:47:29:47:39 | ...[...] | ActiveRecordInjection.rb:47:20:47:42 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:52:30:52:35 | call to params | ActiveRecordInjection.rb:52:30:52:40 | ...[...] | provenance | |
| ActiveRecordInjection.rb:52:30:52:40 | ...[...] | ActiveRecordInjection.rb:52:21:52:43 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:56:21:56:45 | call to [] [element 0] | ActiveRecordInjection.rb:56:21:56:45 | call to [] | provenance | |
| ActiveRecordInjection.rb:56:22:56:44 | "id = '#{...}'" | ActiveRecordInjection.rb:56:21:56:45 | call to [] [element 0] | provenance | |
| ActiveRecordInjection.rb:56:31:56:36 | call to params | ActiveRecordInjection.rb:56:31:56:41 | ...[...] | provenance | |
| ActiveRecordInjection.rb:56:31:56:41 | ...[...] | ActiveRecordInjection.rb:56:22:56:44 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:61:22:61:46 | call to [] [element 0] | ActiveRecordInjection.rb:61:22:61:46 | call to [] | provenance | |
| ActiveRecordInjection.rb:61:23:61:45 | "id = '#{...}'" | ActiveRecordInjection.rb:61:22:61:46 | call to [] [element 0] | provenance | |
| ActiveRecordInjection.rb:61:32:61:37 | call to params | ActiveRecordInjection.rb:61:32:61:42 | ...[...] | provenance | |
| ActiveRecordInjection.rb:61:32:61:42 | ...[...] | ActiveRecordInjection.rb:61:23:61:45 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:66:21:66:26 | call to params | ActiveRecordInjection.rb:66:21:66:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:66:21:66:35 | ...[...] | ActiveRecordInjection.rb:65:16:65:21 | <<-SQL | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:72:34:72:39 | call to params | ActiveRecordInjection.rb:72:34:72:44 | ...[...] | provenance | |
| ActiveRecordInjection.rb:72:34:72:44 | ...[...] | ActiveRecordInjection.rb:72:20:72:47 | "user.id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:74:23:74:28 | call to params | ActiveRecordInjection.rb:74:23:74:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:74:23:74:35 | ...[...] | ActiveRecordInjection.rb:8:25:8:28 | name | provenance | |
| ActiveRecordInjection.rb:74:38:74:43 | call to params | ActiveRecordInjection.rb:74:38:74:50 | ...[...] | provenance | |
| ActiveRecordInjection.rb:74:38:74:50 | ...[...] | ActiveRecordInjection.rb:8:31:8:34 | pass | provenance | |
| ActiveRecordInjection.rb:78:41:78:46 | call to params | ActiveRecordInjection.rb:78:41:78:51 | ...[...] | provenance | |
| ActiveRecordInjection.rb:78:41:78:51 | ...[...] | ActiveRecordInjection.rb:78:32:78:54 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:83:23:83:28 | call to params | ActiveRecordInjection.rb:83:23:83:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:87:17:87:22 | call to params | ActiveRecordInjection.rb:87:17:87:31 | ...[...] | provenance | |
| ActiveRecordInjection.rb:88:19:88:24 | call to params | ActiveRecordInjection.rb:88:19:88:33 | ...[...] | provenance | |
| ActiveRecordInjection.rb:92:18:92:23 | call to params | ActiveRecordInjection.rb:92:18:92:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:96:21:96:26 | call to params | ActiveRecordInjection.rb:96:21:96:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:104:31:104:36 | call to params | ActiveRecordInjection.rb:104:31:104:52 | ...[...] | provenance | |
| ActiveRecordInjection.rb:104:31:104:52 | ...[...] | ActiveRecordInjection.rb:104:20:104:55 | "name = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:108:30:108:35 | call to params | ActiveRecordInjection.rb:108:30:108:51 | ...[...] | provenance | |
| ActiveRecordInjection.rb:108:30:108:51 | ...[...] | ActiveRecordInjection.rb:108:19:108:54 | "name = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:110:18:110:23 | call to params | ActiveRecordInjection.rb:110:18:110:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:112:26:112:31 | call to params | ActiveRecordInjection.rb:112:26:112:40 | ...[...] | provenance | |
| ActiveRecordInjection.rb:113:28:113:33 | call to params | ActiveRecordInjection.rb:113:28:113:42 | ...[...] | provenance | |
| ActiveRecordInjection.rb:114:30:114:35 | call to params | ActiveRecordInjection.rb:114:30:114:47 | ...[...] | provenance | |
| ActiveRecordInjection.rb:114:30:114:47 | ...[...] | ActiveRecordInjection.rb:114:25:114:49 | "b #{...}" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:115:32:115:37 | call to params | ActiveRecordInjection.rb:115:32:115:49 | ...[...] | provenance | |
| ActiveRecordInjection.rb:115:32:115:49 | ...[...] | ActiveRecordInjection.rb:115:27:115:51 | "b #{...}" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:116:21:116:26 | call to params | ActiveRecordInjection.rb:116:21:116:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:117:21:117:26 | call to params | ActiveRecordInjection.rb:117:21:117:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:118:20:118:25 | call to params | ActiveRecordInjection.rb:118:20:118:34 | ...[...] | provenance | |
| ActiveRecordInjection.rb:120:23:120:28 | call to params | ActiveRecordInjection.rb:120:23:120:47 | ...[...] | provenance | |
| ActiveRecordInjection.rb:124:19:124:24 | call to params | ActiveRecordInjection.rb:124:19:124:30 | ...[...] | provenance | |
| ActiveRecordInjection.rb:126:29:126:34 | call to params | ActiveRecordInjection.rb:126:29:126:39 | ...[...] | provenance | |
| ActiveRecordInjection.rb:132:5:132:6 | ps | ActiveRecordInjection.rb:133:11:133:12 | ps | provenance | |
| ActiveRecordInjection.rb:132:10:132:15 | call to params | ActiveRecordInjection.rb:132:5:132:6 | ps | provenance | |
| ActiveRecordInjection.rb:133:5:133:7 | uid | ActiveRecordInjection.rb:134:5:134:9 | uidEq | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:133:11:133:12 | ps | ActiveRecordInjection.rb:133:11:133:17 | ...[...] | provenance | |
| ActiveRecordInjection.rb:133:11:133:17 | ...[...] | ActiveRecordInjection.rb:133:5:133:7 | uid | provenance | |
| ActiveRecordInjection.rb:134:5:134:9 | uidEq | ActiveRecordInjection.rb:138:20:138:32 | ... + ... | provenance | |
| ActiveRecordInjection.rb:134:5:134:9 | uidEq | ActiveRecordInjection.rb:138:28:138:32 | uidEq | provenance | |
| ActiveRecordInjection.rb:138:20:138:32 | ... + ... [element] | ActiveRecordInjection.rb:138:20:138:32 | ... + ... | provenance | |
| ActiveRecordInjection.rb:138:28:138:32 | uidEq | ActiveRecordInjection.rb:138:20:138:32 | ... + ... [element] | provenance | |
| ActiveRecordInjection.rb:171:21:171:26 | call to params | ActiveRecordInjection.rb:171:21:171:44 | ...[...] | provenance | |
| ActiveRecordInjection.rb:171:21:171:26 | call to params | ActiveRecordInjection.rb:171:21:171:44 | ...[...] | provenance | |
| ActiveRecordInjection.rb:171:21:171:44 | ...[...] | ActiveRecordInjection.rb:24:22:24:30 | condition | provenance | |
| ActiveRecordInjection.rb:185:59:185:64 | call to params | ActiveRecordInjection.rb:185:59:185:74 | ...[...] | provenance | |
| ActiveRecordInjection.rb:185:59:185:74 | ...[...] | ActiveRecordInjection.rb:185:27:185:76 | "this is an unsafe annotation:..." | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:196:5:196:13 | my_params | ActiveRecordInjection.rb:197:47:197:55 | my_params | provenance | |
| ActiveRecordInjection.rb:196:17:196:32 | call to permitted_params | ActiveRecordInjection.rb:196:5:196:13 | my_params | provenance | |
| ActiveRecordInjection.rb:197:5:197:9 | query | ActiveRecordInjection.rb:198:37:198:41 | query | provenance | |
| ActiveRecordInjection.rb:197:47:197:55 | my_params | ActiveRecordInjection.rb:197:47:197:65 | ...[...] | provenance | |
| ActiveRecordInjection.rb:197:47:197:65 | ...[...] | ActiveRecordInjection.rb:197:5:197:9 | query | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:203:5:203:10 | call to params | ActiveRecordInjection.rb:203:5:203:27 | call to require | provenance | |
| ActiveRecordInjection.rb:203:5:203:27 | call to require | ActiveRecordInjection.rb:203:5:203:59 | call to permit | provenance | |
| ActiveRecordInjection.rb:203:5:203:59 | call to permit | ActiveRecordInjection.rb:196:17:196:32 | call to permitted_params | provenance | |
| ActiveRecordInjection.rb:203:5:203:59 | call to permit | ActiveRecordInjection.rb:207:77:207:92 | call to permitted_params | provenance | |
| ActiveRecordInjection.rb:203:5:203:59 | call to permit | ActiveRecordInjection.rb:208:69:208:84 | call to permitted_params | provenance | |
| ActiveRecordInjection.rb:207:77:207:92 | call to permitted_params | ActiveRecordInjection.rb:207:77:207:102 | ...[...] | provenance | |
| ActiveRecordInjection.rb:207:77:207:102 | ...[...] | ActiveRecordInjection.rb:207:43:207:104 | "SELECT * FROM users WHERE id ..." | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:208:69:208:84 | call to permitted_params | ActiveRecordInjection.rb:208:69:208:94 | ...[...] | provenance | |
| ActiveRecordInjection.rb:208:69:208:94 | ...[...] | ActiveRecordInjection.rb:208:35:208:96 | "SELECT * FROM users WHERE id ..." | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:213:24:213:27 | role | ActiveRecordInjection.rb:213:38:213:53 | "role = #{...}" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:219:29:219:34 | call to params | ActiveRecordInjection.rb:219:29:219:41 | ...[...] | provenance | |
| ActiveRecordInjection.rb:219:29:219:41 | ...[...] | ActiveRecordInjection.rb:213:24:213:27 | role | provenance | |
| ActiveRecordInjection.rb:27:22:27:30 | condition | ActiveRecordInjection.rb:30:16:30:24 | condition | provenance | |
| ActiveRecordInjection.rb:42:30:42:35 | call to params | ActiveRecordInjection.rb:42:30:42:44 | ...[...] | provenance | |
| ActiveRecordInjection.rb:46:18:46:23 | call to params | ActiveRecordInjection.rb:46:18:46:32 | ...[...] | provenance | |
| ActiveRecordInjection.rb:50:29:50:34 | call to params | ActiveRecordInjection.rb:50:29:50:39 | ...[...] | provenance | |
| ActiveRecordInjection.rb:50:29:50:39 | ...[...] | ActiveRecordInjection.rb:50:20:50:42 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:55:30:55:35 | call to params | ActiveRecordInjection.rb:55:30:55:40 | ...[...] | provenance | |
| ActiveRecordInjection.rb:55:30:55:40 | ...[...] | ActiveRecordInjection.rb:55:21:55:43 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:59:21:59:45 | call to [] [element 0] | ActiveRecordInjection.rb:59:21:59:45 | call to [] | provenance | |
| ActiveRecordInjection.rb:59:22:59:44 | "id = '#{...}'" | ActiveRecordInjection.rb:59:21:59:45 | call to [] [element 0] | provenance | |
| ActiveRecordInjection.rb:59:31:59:36 | call to params | ActiveRecordInjection.rb:59:31:59:41 | ...[...] | provenance | |
| ActiveRecordInjection.rb:59:31:59:41 | ...[...] | ActiveRecordInjection.rb:59:22:59:44 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:64:22:64:46 | call to [] [element 0] | ActiveRecordInjection.rb:64:22:64:46 | call to [] | provenance | |
| ActiveRecordInjection.rb:64:23:64:45 | "id = '#{...}'" | ActiveRecordInjection.rb:64:22:64:46 | call to [] [element 0] | provenance | |
| ActiveRecordInjection.rb:64:32:64:37 | call to params | ActiveRecordInjection.rb:64:32:64:42 | ...[...] | provenance | |
| ActiveRecordInjection.rb:64:32:64:42 | ...[...] | ActiveRecordInjection.rb:64:23:64:45 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:69:21:69:26 | call to params | ActiveRecordInjection.rb:69:21:69:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:69:21:69:35 | ...[...] | ActiveRecordInjection.rb:68:16:68:21 | <<-SQL | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:75:34:75:39 | call to params | ActiveRecordInjection.rb:75:34:75:44 | ...[...] | provenance | |
| ActiveRecordInjection.rb:75:34:75:44 | ...[...] | ActiveRecordInjection.rb:75:20:75:47 | "user.id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:77:23:77:28 | call to params | ActiveRecordInjection.rb:77:23:77:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:77:23:77:35 | ...[...] | ActiveRecordInjection.rb:8:25:8:28 | name | provenance | |
| ActiveRecordInjection.rb:77:38:77:43 | call to params | ActiveRecordInjection.rb:77:38:77:50 | ...[...] | provenance | |
| ActiveRecordInjection.rb:77:38:77:50 | ...[...] | ActiveRecordInjection.rb:8:31:8:34 | pass | provenance | |
| ActiveRecordInjection.rb:81:41:81:46 | call to params | ActiveRecordInjection.rb:81:41:81:51 | ...[...] | provenance | |
| ActiveRecordInjection.rb:81:41:81:51 | ...[...] | ActiveRecordInjection.rb:81:32:81:54 | "id = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:86:23:86:28 | call to params | ActiveRecordInjection.rb:86:23:86:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:90:17:90:22 | call to params | ActiveRecordInjection.rb:90:17:90:31 | ...[...] | provenance | |
| ActiveRecordInjection.rb:91:19:91:24 | call to params | ActiveRecordInjection.rb:91:19:91:33 | ...[...] | provenance | |
| ActiveRecordInjection.rb:95:18:95:23 | call to params | ActiveRecordInjection.rb:95:18:95:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:99:21:99:26 | call to params | ActiveRecordInjection.rb:99:21:99:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:107:31:107:36 | call to params | ActiveRecordInjection.rb:107:31:107:52 | ...[...] | provenance | |
| ActiveRecordInjection.rb:107:31:107:52 | ...[...] | ActiveRecordInjection.rb:107:20:107:55 | "name = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:111:30:111:35 | call to params | ActiveRecordInjection.rb:111:30:111:51 | ...[...] | provenance | |
| ActiveRecordInjection.rb:111:30:111:51 | ...[...] | ActiveRecordInjection.rb:111:19:111:54 | "name = '#{...}'" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:113:18:113:23 | call to params | ActiveRecordInjection.rb:113:18:113:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:115:26:115:31 | call to params | ActiveRecordInjection.rb:115:26:115:40 | ...[...] | provenance | |
| ActiveRecordInjection.rb:116:28:116:33 | call to params | ActiveRecordInjection.rb:116:28:116:42 | ...[...] | provenance | |
| ActiveRecordInjection.rb:117:30:117:35 | call to params | ActiveRecordInjection.rb:117:30:117:47 | ...[...] | provenance | |
| ActiveRecordInjection.rb:117:30:117:47 | ...[...] | ActiveRecordInjection.rb:117:25:117:49 | "b #{...}" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:118:32:118:37 | call to params | ActiveRecordInjection.rb:118:32:118:49 | ...[...] | provenance | |
| ActiveRecordInjection.rb:118:32:118:49 | ...[...] | ActiveRecordInjection.rb:118:27:118:51 | "b #{...}" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:119:21:119:26 | call to params | ActiveRecordInjection.rb:119:21:119:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:120:21:120:26 | call to params | ActiveRecordInjection.rb:120:21:120:35 | ...[...] | provenance | |
| ActiveRecordInjection.rb:121:20:121:25 | call to params | ActiveRecordInjection.rb:121:20:121:34 | ...[...] | provenance | |
| ActiveRecordInjection.rb:123:23:123:28 | call to params | ActiveRecordInjection.rb:123:23:123:47 | ...[...] | provenance | |
| ActiveRecordInjection.rb:127:19:127:24 | call to params | ActiveRecordInjection.rb:127:19:127:30 | ...[...] | provenance | |
| ActiveRecordInjection.rb:129:29:129:34 | call to params | ActiveRecordInjection.rb:129:29:129:39 | ...[...] | provenance | |
| ActiveRecordInjection.rb:135:5:135:6 | ps | ActiveRecordInjection.rb:136:11:136:12 | ps | provenance | |
| ActiveRecordInjection.rb:135:10:135:15 | call to params | ActiveRecordInjection.rb:135:5:135:6 | ps | provenance | |
| ActiveRecordInjection.rb:136:5:136:7 | uid | ActiveRecordInjection.rb:137:5:137:9 | uidEq | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:136:11:136:12 | ps | ActiveRecordInjection.rb:136:11:136:17 | ...[...] | provenance | |
| ActiveRecordInjection.rb:136:11:136:17 | ...[...] | ActiveRecordInjection.rb:136:5:136:7 | uid | provenance | |
| ActiveRecordInjection.rb:137:5:137:9 | uidEq | ActiveRecordInjection.rb:141:20:141:32 | ... + ... | provenance | |
| ActiveRecordInjection.rb:137:5:137:9 | uidEq | ActiveRecordInjection.rb:141:28:141:32 | uidEq | provenance | |
| ActiveRecordInjection.rb:141:20:141:32 | ... + ... [element] | ActiveRecordInjection.rb:141:20:141:32 | ... + ... | provenance | |
| ActiveRecordInjection.rb:141:28:141:32 | uidEq | ActiveRecordInjection.rb:141:20:141:32 | ... + ... [element] | provenance | |
| ActiveRecordInjection.rb:174:21:174:26 | call to params | ActiveRecordInjection.rb:174:21:174:44 | ...[...] | provenance | |
| ActiveRecordInjection.rb:174:21:174:26 | call to params | ActiveRecordInjection.rb:174:21:174:44 | ...[...] | provenance | |
| ActiveRecordInjection.rb:174:21:174:44 | ...[...] | ActiveRecordInjection.rb:27:22:27:30 | condition | provenance | |
| ActiveRecordInjection.rb:188:59:188:64 | call to params | ActiveRecordInjection.rb:188:59:188:74 | ...[...] | provenance | |
| ActiveRecordInjection.rb:188:59:188:74 | ...[...] | ActiveRecordInjection.rb:188:27:188:76 | "this is an unsafe annotation:..." | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:199:5:199:13 | my_params | ActiveRecordInjection.rb:200:47:200:55 | my_params | provenance | |
| ActiveRecordInjection.rb:199:17:199:32 | call to permitted_params | ActiveRecordInjection.rb:199:5:199:13 | my_params | provenance | |
| ActiveRecordInjection.rb:200:5:200:9 | query | ActiveRecordInjection.rb:201:37:201:41 | query | provenance | |
| ActiveRecordInjection.rb:200:47:200:55 | my_params | ActiveRecordInjection.rb:200:47:200:65 | ...[...] | provenance | |
| ActiveRecordInjection.rb:200:47:200:65 | ...[...] | ActiveRecordInjection.rb:200:5:200:9 | query | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:206:5:206:10 | call to params | ActiveRecordInjection.rb:206:5:206:27 | call to require | provenance | |
| ActiveRecordInjection.rb:206:5:206:27 | call to require | ActiveRecordInjection.rb:206:5:206:59 | call to permit | provenance | |
| ActiveRecordInjection.rb:206:5:206:59 | call to permit | ActiveRecordInjection.rb:199:17:199:32 | call to permitted_params | provenance | |
| ActiveRecordInjection.rb:206:5:206:59 | call to permit | ActiveRecordInjection.rb:210:77:210:92 | call to permitted_params | provenance | |
| ActiveRecordInjection.rb:206:5:206:59 | call to permit | ActiveRecordInjection.rb:211:69:211:84 | call to permitted_params | provenance | |
| ActiveRecordInjection.rb:210:77:210:92 | call to permitted_params | ActiveRecordInjection.rb:210:77:210:102 | ...[...] | provenance | |
| ActiveRecordInjection.rb:210:77:210:102 | ...[...] | ActiveRecordInjection.rb:210:43:210:104 | "SELECT * FROM users WHERE id ..." | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:211:69:211:84 | call to permitted_params | ActiveRecordInjection.rb:211:69:211:94 | ...[...] | provenance | |
| ActiveRecordInjection.rb:211:69:211:94 | ...[...] | ActiveRecordInjection.rb:211:35:211:96 | "SELECT * FROM users WHERE id ..." | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:216:24:216:27 | role | ActiveRecordInjection.rb:216:38:216:53 | "role = #{...}" | provenance | AdditionalTaintStep |
| ActiveRecordInjection.rb:222:29:222:34 | call to params | ActiveRecordInjection.rb:222:29:222:41 | ...[...] | provenance | |
| ActiveRecordInjection.rb:222:29:222:41 | ...[...] | ActiveRecordInjection.rb:216:24:216:27 | role | provenance | |
| ArelInjection.rb:4:5:4:8 | name | ArelInjection.rb:6:20:6:61 | "SELECT * FROM users WHERE nam..." | provenance | AdditionalTaintStep |
| ArelInjection.rb:4:5:4:8 | name | ArelInjection.rb:7:39:7:80 | "SELECT * FROM users WHERE nam..." | provenance | AdditionalTaintStep |
| ArelInjection.rb:4:12:4:17 | call to params | ArelInjection.rb:4:12:4:29 | ...[...] | provenance | |
@@ -102,115 +102,115 @@ nodes
| ActiveRecordInjection.rb:8:31:8:34 | pass | semmle.label | pass |
| ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | semmle.label | "name='#{...}' and pass='#{...}'" |
| ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | semmle.label | "name='#{...}' and pass='#{...}'" |
| ActiveRecordInjection.rb:24:22:24:30 | condition | semmle.label | condition |
| ActiveRecordInjection.rb:27:16:27:24 | condition | semmle.label | condition |
| ActiveRecordInjection.rb:39:30:39:35 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:39:30:39:44 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:43:18:43:23 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:43:18:43:32 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:47:20:47:42 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:47:29:47:34 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:47:29:47:39 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:52:21:52:43 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:52:30:52:35 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:52:30:52:40 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:56:21:56:45 | call to [] | semmle.label | call to [] |
| ActiveRecordInjection.rb:56:21:56:45 | call to [] [element 0] | semmle.label | call to [] [element 0] |
| ActiveRecordInjection.rb:56:22:56:44 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:56:31:56:36 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:56:31:56:41 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:61:22:61:46 | call to [] | semmle.label | call to [] |
| ActiveRecordInjection.rb:61:22:61:46 | call to [] [element 0] | semmle.label | call to [] [element 0] |
| ActiveRecordInjection.rb:61:23:61:45 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:61:32:61:37 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:61:32:61:42 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:65:16:65:21 | <<-SQL | semmle.label | <<-SQL |
| ActiveRecordInjection.rb:66:21:66:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:66:21:66:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:72:20:72:47 | "user.id = '#{...}'" | semmle.label | "user.id = '#{...}'" |
| ActiveRecordInjection.rb:72:34:72:39 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:72:34:72:44 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:74:23:74:28 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:74:23:74:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:74:38:74:43 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:74:38:74:50 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:78:32:78:54 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:78:41:78:46 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:78:41:78:51 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:83:23:83:28 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:83:23:83:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:87:17:87:22 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:87:17:87:31 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:88:19:88:24 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:88:19:88:33 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:92:18:92:23 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:92:18:92:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:96:21:96:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:96:21:96:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:104:20:104:55 | "name = '#{...}'" | semmle.label | "name = '#{...}'" |
| ActiveRecordInjection.rb:104:31:104:36 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:104:31:104:52 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:108:19:108:54 | "name = '#{...}'" | semmle.label | "name = '#{...}'" |
| ActiveRecordInjection.rb:108:30:108:35 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:108:30:108:51 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:110:18:110:23 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:110:18:110:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:112:26:112:31 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:112:26:112:40 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:113:28:113:33 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:113:28:113:42 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:114:25:114:49 | "b #{...}" | semmle.label | "b #{...}" |
| ActiveRecordInjection.rb:114:30:114:35 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:114:30:114:47 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:115:27:115:51 | "b #{...}" | semmle.label | "b #{...}" |
| ActiveRecordInjection.rb:115:32:115:37 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:115:32:115:49 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:116:21:116:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:116:21:116:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:117:21:117:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:117:21:117:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:118:20:118:25 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:118:20:118:34 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:120:23:120:28 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:120:23:120:47 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:124:19:124:24 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:124:19:124:30 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:126:29:126:34 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:126:29:126:39 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:132:5:132:6 | ps | semmle.label | ps |
| ActiveRecordInjection.rb:132:10:132:15 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:133:5:133:7 | uid | semmle.label | uid |
| ActiveRecordInjection.rb:133:11:133:12 | ps | semmle.label | ps |
| ActiveRecordInjection.rb:133:11:133:17 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:134:5:134:9 | uidEq | semmle.label | uidEq |
| ActiveRecordInjection.rb:138:20:138:32 | ... + ... | semmle.label | ... + ... |
| ActiveRecordInjection.rb:138:20:138:32 | ... + ... [element] | semmle.label | ... + ... [element] |
| ActiveRecordInjection.rb:138:28:138:32 | uidEq | semmle.label | uidEq |
| ActiveRecordInjection.rb:171:21:171:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:171:21:171:44 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:171:21:171:44 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:185:27:185:76 | "this is an unsafe annotation:..." | semmle.label | "this is an unsafe annotation:..." |
| ActiveRecordInjection.rb:185:59:185:64 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:185:59:185:74 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:196:5:196:13 | my_params | semmle.label | my_params |
| ActiveRecordInjection.rb:196:17:196:32 | call to permitted_params | semmle.label | call to permitted_params |
| ActiveRecordInjection.rb:197:5:197:9 | query | semmle.label | query |
| ActiveRecordInjection.rb:197:47:197:55 | my_params | semmle.label | my_params |
| ActiveRecordInjection.rb:197:47:197:65 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:198:37:198:41 | query | semmle.label | query |
| ActiveRecordInjection.rb:203:5:203:10 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:203:5:203:27 | call to require | semmle.label | call to require |
| ActiveRecordInjection.rb:203:5:203:59 | call to permit | semmle.label | call to permit |
| ActiveRecordInjection.rb:207:43:207:104 | "SELECT * FROM users WHERE id ..." | semmle.label | "SELECT * FROM users WHERE id ..." |
| ActiveRecordInjection.rb:207:77:207:92 | call to permitted_params | semmle.label | call to permitted_params |
| ActiveRecordInjection.rb:207:77:207:102 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:208:35:208:96 | "SELECT * FROM users WHERE id ..." | semmle.label | "SELECT * FROM users WHERE id ..." |
| ActiveRecordInjection.rb:208:69:208:84 | call to permitted_params | semmle.label | call to permitted_params |
| ActiveRecordInjection.rb:208:69:208:94 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:213:24:213:27 | role | semmle.label | role |
| ActiveRecordInjection.rb:213:38:213:53 | "role = #{...}" | semmle.label | "role = #{...}" |
| ActiveRecordInjection.rb:219:29:219:34 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:219:29:219:41 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:27:22:27:30 | condition | semmle.label | condition |
| ActiveRecordInjection.rb:30:16:30:24 | condition | semmle.label | condition |
| ActiveRecordInjection.rb:42:30:42:35 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:42:30:42:44 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:46:18:46:23 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:46:18:46:32 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:50:20:50:42 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:50:29:50:34 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:50:29:50:39 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:55:21:55:43 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:55:30:55:35 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:55:30:55:40 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:59:21:59:45 | call to [] | semmle.label | call to [] |
| ActiveRecordInjection.rb:59:21:59:45 | call to [] [element 0] | semmle.label | call to [] [element 0] |
| ActiveRecordInjection.rb:59:22:59:44 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:59:31:59:36 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:59:31:59:41 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:64:22:64:46 | call to [] | semmle.label | call to [] |
| ActiveRecordInjection.rb:64:22:64:46 | call to [] [element 0] | semmle.label | call to [] [element 0] |
| ActiveRecordInjection.rb:64:23:64:45 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:64:32:64:37 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:64:32:64:42 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:68:16:68:21 | <<-SQL | semmle.label | <<-SQL |
| ActiveRecordInjection.rb:69:21:69:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:69:21:69:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:75:20:75:47 | "user.id = '#{...}'" | semmle.label | "user.id = '#{...}'" |
| ActiveRecordInjection.rb:75:34:75:39 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:75:34:75:44 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:77:23:77:28 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:77:23:77:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:77:38:77:43 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:77:38:77:50 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:81:32:81:54 | "id = '#{...}'" | semmle.label | "id = '#{...}'" |
| ActiveRecordInjection.rb:81:41:81:46 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:81:41:81:51 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:86:23:86:28 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:86:23:86:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:90:17:90:22 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:90:17:90:31 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:91:19:91:24 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:91:19:91:33 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:95:18:95:23 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:95:18:95:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:99:21:99:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:99:21:99:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:107:20:107:55 | "name = '#{...}'" | semmle.label | "name = '#{...}'" |
| ActiveRecordInjection.rb:107:31:107:36 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:107:31:107:52 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:111:19:111:54 | "name = '#{...}'" | semmle.label | "name = '#{...}'" |
| ActiveRecordInjection.rb:111:30:111:35 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:111:30:111:51 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:113:18:113:23 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:113:18:113:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:115:26:115:31 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:115:26:115:40 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:116:28:116:33 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:116:28:116:42 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:117:25:117:49 | "b #{...}" | semmle.label | "b #{...}" |
| ActiveRecordInjection.rb:117:30:117:35 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:117:30:117:47 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:118:27:118:51 | "b #{...}" | semmle.label | "b #{...}" |
| ActiveRecordInjection.rb:118:32:118:37 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:118:32:118:49 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:119:21:119:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:119:21:119:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:120:21:120:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:120:21:120:35 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:121:20:121:25 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:121:20:121:34 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:123:23:123:28 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:123:23:123:47 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:127:19:127:24 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:127:19:127:30 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:129:29:129:34 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:129:29:129:39 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:135:5:135:6 | ps | semmle.label | ps |
| ActiveRecordInjection.rb:135:10:135:15 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:136:5:136:7 | uid | semmle.label | uid |
| ActiveRecordInjection.rb:136:11:136:12 | ps | semmle.label | ps |
| ActiveRecordInjection.rb:136:11:136:17 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:137:5:137:9 | uidEq | semmle.label | uidEq |
| ActiveRecordInjection.rb:141:20:141:32 | ... + ... | semmle.label | ... + ... |
| ActiveRecordInjection.rb:141:20:141:32 | ... + ... [element] | semmle.label | ... + ... [element] |
| ActiveRecordInjection.rb:141:28:141:32 | uidEq | semmle.label | uidEq |
| ActiveRecordInjection.rb:174:21:174:26 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:174:21:174:44 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:174:21:174:44 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:188:27:188:76 | "this is an unsafe annotation:..." | semmle.label | "this is an unsafe annotation:..." |
| ActiveRecordInjection.rb:188:59:188:64 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:188:59:188:74 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:199:5:199:13 | my_params | semmle.label | my_params |
| ActiveRecordInjection.rb:199:17:199:32 | call to permitted_params | semmle.label | call to permitted_params |
| ActiveRecordInjection.rb:200:5:200:9 | query | semmle.label | query |
| ActiveRecordInjection.rb:200:47:200:55 | my_params | semmle.label | my_params |
| ActiveRecordInjection.rb:200:47:200:65 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:201:37:201:41 | query | semmle.label | query |
| ActiveRecordInjection.rb:206:5:206:10 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:206:5:206:27 | call to require | semmle.label | call to require |
| ActiveRecordInjection.rb:206:5:206:59 | call to permit | semmle.label | call to permit |
| ActiveRecordInjection.rb:210:43:210:104 | "SELECT * FROM users WHERE id ..." | semmle.label | "SELECT * FROM users WHERE id ..." |
| ActiveRecordInjection.rb:210:77:210:92 | call to permitted_params | semmle.label | call to permitted_params |
| ActiveRecordInjection.rb:210:77:210:102 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:211:35:211:96 | "SELECT * FROM users WHERE id ..." | semmle.label | "SELECT * FROM users WHERE id ..." |
| ActiveRecordInjection.rb:211:69:211:84 | call to permitted_params | semmle.label | call to permitted_params |
| ActiveRecordInjection.rb:211:69:211:94 | ...[...] | semmle.label | ...[...] |
| ActiveRecordInjection.rb:216:24:216:27 | role | semmle.label | role |
| ActiveRecordInjection.rb:216:38:216:53 | "role = #{...}" | semmle.label | "role = #{...}" |
| ActiveRecordInjection.rb:222:29:222:34 | call to params | semmle.label | call to params |
| ActiveRecordInjection.rb:222:29:222:41 | ...[...] | semmle.label | ...[...] |
| ArelInjection.rb:4:5:4:8 | name | semmle.label | name |
| ArelInjection.rb:4:12:4:17 | call to params | semmle.label | call to params |
| ArelInjection.rb:4:12:4:29 | ...[...] | semmle.label | ...[...] |
@@ -231,45 +231,45 @@ nodes
| PgInjection.rb:44:29:44:32 | qry3 | semmle.label | qry3 |
subpaths
#select
| ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | ActiveRecordInjection.rb:74:23:74:28 | call to params | ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:74:23:74:28 | call to params | user-provided value |
| ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | ActiveRecordInjection.rb:74:38:74:43 | call to params | ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:74:38:74:43 | call to params | user-provided value |
| ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | ActiveRecordInjection.rb:74:23:74:28 | call to params | ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:74:23:74:28 | call to params | user-provided value |
| ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | ActiveRecordInjection.rb:74:38:74:43 | call to params | ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:74:38:74:43 | call to params | user-provided value |
| ActiveRecordInjection.rb:27:16:27:24 | condition | ActiveRecordInjection.rb:171:21:171:26 | call to params | ActiveRecordInjection.rb:27:16:27:24 | condition | This SQL query depends on a $@. | ActiveRecordInjection.rb:171:21:171:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:39:30:39:44 | ...[...] | ActiveRecordInjection.rb:39:30:39:35 | call to params | ActiveRecordInjection.rb:39:30:39:44 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:39:30:39:35 | call to params | user-provided value |
| ActiveRecordInjection.rb:43:18:43:32 | ...[...] | ActiveRecordInjection.rb:43:18:43:23 | call to params | ActiveRecordInjection.rb:43:18:43:32 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:43:18:43:23 | call to params | user-provided value |
| ActiveRecordInjection.rb:47:20:47:42 | "id = '#{...}'" | ActiveRecordInjection.rb:47:29:47:34 | call to params | ActiveRecordInjection.rb:47:20:47:42 | "id = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:47:29:47:34 | call to params | user-provided value |
| ActiveRecordInjection.rb:52:21:52:43 | "id = '#{...}'" | ActiveRecordInjection.rb:52:30:52:35 | call to params | ActiveRecordInjection.rb:52:21:52:43 | "id = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:52:30:52:35 | call to params | user-provided value |
| ActiveRecordInjection.rb:56:21:56:45 | call to [] | ActiveRecordInjection.rb:56:31:56:36 | call to params | ActiveRecordInjection.rb:56:21:56:45 | call to [] | This SQL query depends on a $@. | ActiveRecordInjection.rb:56:31:56:36 | call to params | user-provided value |
| ActiveRecordInjection.rb:61:22:61:46 | call to [] | ActiveRecordInjection.rb:61:32:61:37 | call to params | ActiveRecordInjection.rb:61:22:61:46 | call to [] | This SQL query depends on a $@. | ActiveRecordInjection.rb:61:32:61:37 | call to params | user-provided value |
| ActiveRecordInjection.rb:65:16:65:21 | <<-SQL | ActiveRecordInjection.rb:66:21:66:26 | call to params | ActiveRecordInjection.rb:65:16:65:21 | <<-SQL | This SQL query depends on a $@. | ActiveRecordInjection.rb:66:21:66:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:72:20:72:47 | "user.id = '#{...}'" | ActiveRecordInjection.rb:72:34:72:39 | call to params | ActiveRecordInjection.rb:72:20:72:47 | "user.id = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:72:34:72:39 | call to params | user-provided value |
| ActiveRecordInjection.rb:78:32:78:54 | "id = '#{...}'" | ActiveRecordInjection.rb:78:41:78:46 | call to params | ActiveRecordInjection.rb:78:32:78:54 | "id = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:78:41:78:46 | call to params | user-provided value |
| ActiveRecordInjection.rb:83:23:83:35 | ...[...] | ActiveRecordInjection.rb:83:23:83:28 | call to params | ActiveRecordInjection.rb:83:23:83:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:83:23:83:28 | call to params | user-provided value |
| ActiveRecordInjection.rb:87:17:87:31 | ...[...] | ActiveRecordInjection.rb:87:17:87:22 | call to params | ActiveRecordInjection.rb:87:17:87:31 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:87:17:87:22 | call to params | user-provided value |
| ActiveRecordInjection.rb:88:19:88:33 | ...[...] | ActiveRecordInjection.rb:88:19:88:24 | call to params | ActiveRecordInjection.rb:88:19:88:33 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:88:19:88:24 | call to params | user-provided value |
| ActiveRecordInjection.rb:92:18:92:35 | ...[...] | ActiveRecordInjection.rb:92:18:92:23 | call to params | ActiveRecordInjection.rb:92:18:92:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:92:18:92:23 | call to params | user-provided value |
| ActiveRecordInjection.rb:96:21:96:35 | ...[...] | ActiveRecordInjection.rb:96:21:96:26 | call to params | ActiveRecordInjection.rb:96:21:96:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:96:21:96:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:104:20:104:55 | "name = '#{...}'" | ActiveRecordInjection.rb:104:31:104:36 | call to params | ActiveRecordInjection.rb:104:20:104:55 | "name = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:104:31:104:36 | call to params | user-provided value |
| ActiveRecordInjection.rb:108:19:108:54 | "name = '#{...}'" | ActiveRecordInjection.rb:108:30:108:35 | call to params | ActiveRecordInjection.rb:108:19:108:54 | "name = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:108:30:108:35 | call to params | user-provided value |
| ActiveRecordInjection.rb:110:18:110:35 | ...[...] | ActiveRecordInjection.rb:110:18:110:23 | call to params | ActiveRecordInjection.rb:110:18:110:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:110:18:110:23 | call to params | user-provided value |
| ActiveRecordInjection.rb:112:26:112:40 | ...[...] | ActiveRecordInjection.rb:112:26:112:31 | call to params | ActiveRecordInjection.rb:112:26:112:40 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:112:26:112:31 | call to params | user-provided value |
| ActiveRecordInjection.rb:113:28:113:42 | ...[...] | ActiveRecordInjection.rb:113:28:113:33 | call to params | ActiveRecordInjection.rb:113:28:113:42 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:113:28:113:33 | call to params | user-provided value |
| ActiveRecordInjection.rb:114:25:114:49 | "b #{...}" | ActiveRecordInjection.rb:114:30:114:35 | call to params | ActiveRecordInjection.rb:114:25:114:49 | "b #{...}" | This SQL query depends on a $@. | ActiveRecordInjection.rb:114:30:114:35 | call to params | user-provided value |
| ActiveRecordInjection.rb:115:27:115:51 | "b #{...}" | ActiveRecordInjection.rb:115:32:115:37 | call to params | ActiveRecordInjection.rb:115:27:115:51 | "b #{...}" | This SQL query depends on a $@. | ActiveRecordInjection.rb:115:32:115:37 | call to params | user-provided value |
| ActiveRecordInjection.rb:116:21:116:35 | ...[...] | ActiveRecordInjection.rb:116:21:116:26 | call to params | ActiveRecordInjection.rb:116:21:116:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:116:21:116:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:117:21:117:35 | ...[...] | ActiveRecordInjection.rb:117:21:117:26 | call to params | ActiveRecordInjection.rb:117:21:117:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:117:21:117:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:118:20:118:34 | ...[...] | ActiveRecordInjection.rb:118:20:118:25 | call to params | ActiveRecordInjection.rb:118:20:118:34 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:118:20:118:25 | call to params | user-provided value |
| ActiveRecordInjection.rb:120:23:120:47 | ...[...] | ActiveRecordInjection.rb:120:23:120:28 | call to params | ActiveRecordInjection.rb:120:23:120:47 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:120:23:120:28 | call to params | user-provided value |
| ActiveRecordInjection.rb:124:19:124:30 | ...[...] | ActiveRecordInjection.rb:124:19:124:24 | call to params | ActiveRecordInjection.rb:124:19:124:30 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:124:19:124:24 | call to params | user-provided value |
| ActiveRecordInjection.rb:126:29:126:39 | ...[...] | ActiveRecordInjection.rb:126:29:126:34 | call to params | ActiveRecordInjection.rb:126:29:126:39 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:126:29:126:34 | call to params | user-provided value |
| ActiveRecordInjection.rb:138:20:138:32 | ... + ... | ActiveRecordInjection.rb:132:10:132:15 | call to params | ActiveRecordInjection.rb:138:20:138:32 | ... + ... | This SQL query depends on a $@. | ActiveRecordInjection.rb:132:10:132:15 | call to params | user-provided value |
| ActiveRecordInjection.rb:171:21:171:44 | ...[...] | ActiveRecordInjection.rb:171:21:171:26 | call to params | ActiveRecordInjection.rb:171:21:171:44 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:171:21:171:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:185:27:185:76 | "this is an unsafe annotation:..." | ActiveRecordInjection.rb:185:59:185:64 | call to params | ActiveRecordInjection.rb:185:27:185:76 | "this is an unsafe annotation:..." | This SQL query depends on a $@. | ActiveRecordInjection.rb:185:59:185:64 | call to params | user-provided value |
| ActiveRecordInjection.rb:198:37:198:41 | query | ActiveRecordInjection.rb:203:5:203:10 | call to params | ActiveRecordInjection.rb:198:37:198:41 | query | This SQL query depends on a $@. | ActiveRecordInjection.rb:203:5:203:10 | call to params | user-provided value |
| ActiveRecordInjection.rb:207:43:207:104 | "SELECT * FROM users WHERE id ..." | ActiveRecordInjection.rb:203:5:203:10 | call to params | ActiveRecordInjection.rb:207:43:207:104 | "SELECT * FROM users WHERE id ..." | This SQL query depends on a $@. | ActiveRecordInjection.rb:203:5:203:10 | call to params | user-provided value |
| ActiveRecordInjection.rb:208:35:208:96 | "SELECT * FROM users WHERE id ..." | ActiveRecordInjection.rb:203:5:203:10 | call to params | ActiveRecordInjection.rb:208:35:208:96 | "SELECT * FROM users WHERE id ..." | This SQL query depends on a $@. | ActiveRecordInjection.rb:203:5:203:10 | call to params | user-provided value |
| ActiveRecordInjection.rb:213:38:213:53 | "role = #{...}" | ActiveRecordInjection.rb:219:29:219:34 | call to params | ActiveRecordInjection.rb:213:38:213:53 | "role = #{...}" | This SQL query depends on a $@. | ActiveRecordInjection.rb:219:29:219:34 | call to params | user-provided value |
| ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | ActiveRecordInjection.rb:77:23:77:28 | call to params | ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:77:23:77:28 | call to params | user-provided value |
| ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | ActiveRecordInjection.rb:77:38:77:43 | call to params | ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:77:38:77:43 | call to params | user-provided value |
| ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | ActiveRecordInjection.rb:77:23:77:28 | call to params | ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:77:23:77:28 | call to params | user-provided value |
| ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | ActiveRecordInjection.rb:77:38:77:43 | call to params | ActiveRecordInjection.rb:12:31:12:65 | "name='#{...}' and pass='#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:77:38:77:43 | call to params | user-provided value |
| ActiveRecordInjection.rb:30:16:30:24 | condition | ActiveRecordInjection.rb:174:21:174:26 | call to params | ActiveRecordInjection.rb:30:16:30:24 | condition | This SQL query depends on a $@. | ActiveRecordInjection.rb:174:21:174:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:42:30:42:44 | ...[...] | ActiveRecordInjection.rb:42:30:42:35 | call to params | ActiveRecordInjection.rb:42:30:42:44 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:42:30:42:35 | call to params | user-provided value |
| ActiveRecordInjection.rb:46:18:46:32 | ...[...] | ActiveRecordInjection.rb:46:18:46:23 | call to params | ActiveRecordInjection.rb:46:18:46:32 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:46:18:46:23 | call to params | user-provided value |
| ActiveRecordInjection.rb:50:20:50:42 | "id = '#{...}'" | ActiveRecordInjection.rb:50:29:50:34 | call to params | ActiveRecordInjection.rb:50:20:50:42 | "id = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:50:29:50:34 | call to params | user-provided value |
| ActiveRecordInjection.rb:55:21:55:43 | "id = '#{...}'" | ActiveRecordInjection.rb:55:30:55:35 | call to params | ActiveRecordInjection.rb:55:21:55:43 | "id = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:55:30:55:35 | call to params | user-provided value |
| ActiveRecordInjection.rb:59:21:59:45 | call to [] | ActiveRecordInjection.rb:59:31:59:36 | call to params | ActiveRecordInjection.rb:59:21:59:45 | call to [] | This SQL query depends on a $@. | ActiveRecordInjection.rb:59:31:59:36 | call to params | user-provided value |
| ActiveRecordInjection.rb:64:22:64:46 | call to [] | ActiveRecordInjection.rb:64:32:64:37 | call to params | ActiveRecordInjection.rb:64:22:64:46 | call to [] | This SQL query depends on a $@. | ActiveRecordInjection.rb:64:32:64:37 | call to params | user-provided value |
| ActiveRecordInjection.rb:68:16:68:21 | <<-SQL | ActiveRecordInjection.rb:69:21:69:26 | call to params | ActiveRecordInjection.rb:68:16:68:21 | <<-SQL | This SQL query depends on a $@. | ActiveRecordInjection.rb:69:21:69:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:75:20:75:47 | "user.id = '#{...}'" | ActiveRecordInjection.rb:75:34:75:39 | call to params | ActiveRecordInjection.rb:75:20:75:47 | "user.id = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:75:34:75:39 | call to params | user-provided value |
| ActiveRecordInjection.rb:81:32:81:54 | "id = '#{...}'" | ActiveRecordInjection.rb:81:41:81:46 | call to params | ActiveRecordInjection.rb:81:32:81:54 | "id = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:81:41:81:46 | call to params | user-provided value |
| ActiveRecordInjection.rb:86:23:86:35 | ...[...] | ActiveRecordInjection.rb:86:23:86:28 | call to params | ActiveRecordInjection.rb:86:23:86:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:86:23:86:28 | call to params | user-provided value |
| ActiveRecordInjection.rb:90:17:90:31 | ...[...] | ActiveRecordInjection.rb:90:17:90:22 | call to params | ActiveRecordInjection.rb:90:17:90:31 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:90:17:90:22 | call to params | user-provided value |
| ActiveRecordInjection.rb:91:19:91:33 | ...[...] | ActiveRecordInjection.rb:91:19:91:24 | call to params | ActiveRecordInjection.rb:91:19:91:33 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:91:19:91:24 | call to params | user-provided value |
| ActiveRecordInjection.rb:95:18:95:35 | ...[...] | ActiveRecordInjection.rb:95:18:95:23 | call to params | ActiveRecordInjection.rb:95:18:95:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:95:18:95:23 | call to params | user-provided value |
| ActiveRecordInjection.rb:99:21:99:35 | ...[...] | ActiveRecordInjection.rb:99:21:99:26 | call to params | ActiveRecordInjection.rb:99:21:99:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:99:21:99:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:107:20:107:55 | "name = '#{...}'" | ActiveRecordInjection.rb:107:31:107:36 | call to params | ActiveRecordInjection.rb:107:20:107:55 | "name = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:107:31:107:36 | call to params | user-provided value |
| ActiveRecordInjection.rb:111:19:111:54 | "name = '#{...}'" | ActiveRecordInjection.rb:111:30:111:35 | call to params | ActiveRecordInjection.rb:111:19:111:54 | "name = '#{...}'" | This SQL query depends on a $@. | ActiveRecordInjection.rb:111:30:111:35 | call to params | user-provided value |
| ActiveRecordInjection.rb:113:18:113:35 | ...[...] | ActiveRecordInjection.rb:113:18:113:23 | call to params | ActiveRecordInjection.rb:113:18:113:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:113:18:113:23 | call to params | user-provided value |
| ActiveRecordInjection.rb:115:26:115:40 | ...[...] | ActiveRecordInjection.rb:115:26:115:31 | call to params | ActiveRecordInjection.rb:115:26:115:40 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:115:26:115:31 | call to params | user-provided value |
| ActiveRecordInjection.rb:116:28:116:42 | ...[...] | ActiveRecordInjection.rb:116:28:116:33 | call to params | ActiveRecordInjection.rb:116:28:116:42 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:116:28:116:33 | call to params | user-provided value |
| ActiveRecordInjection.rb:117:25:117:49 | "b #{...}" | ActiveRecordInjection.rb:117:30:117:35 | call to params | ActiveRecordInjection.rb:117:25:117:49 | "b #{...}" | This SQL query depends on a $@. | ActiveRecordInjection.rb:117:30:117:35 | call to params | user-provided value |
| ActiveRecordInjection.rb:118:27:118:51 | "b #{...}" | ActiveRecordInjection.rb:118:32:118:37 | call to params | ActiveRecordInjection.rb:118:27:118:51 | "b #{...}" | This SQL query depends on a $@. | ActiveRecordInjection.rb:118:32:118:37 | call to params | user-provided value |
| ActiveRecordInjection.rb:119:21:119:35 | ...[...] | ActiveRecordInjection.rb:119:21:119:26 | call to params | ActiveRecordInjection.rb:119:21:119:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:119:21:119:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:120:21:120:35 | ...[...] | ActiveRecordInjection.rb:120:21:120:26 | call to params | ActiveRecordInjection.rb:120:21:120:35 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:120:21:120:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:121:20:121:34 | ...[...] | ActiveRecordInjection.rb:121:20:121:25 | call to params | ActiveRecordInjection.rb:121:20:121:34 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:121:20:121:25 | call to params | user-provided value |
| ActiveRecordInjection.rb:123:23:123:47 | ...[...] | ActiveRecordInjection.rb:123:23:123:28 | call to params | ActiveRecordInjection.rb:123:23:123:47 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:123:23:123:28 | call to params | user-provided value |
| ActiveRecordInjection.rb:127:19:127:30 | ...[...] | ActiveRecordInjection.rb:127:19:127:24 | call to params | ActiveRecordInjection.rb:127:19:127:30 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:127:19:127:24 | call to params | user-provided value |
| ActiveRecordInjection.rb:129:29:129:39 | ...[...] | ActiveRecordInjection.rb:129:29:129:34 | call to params | ActiveRecordInjection.rb:129:29:129:39 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:129:29:129:34 | call to params | user-provided value |
| ActiveRecordInjection.rb:141:20:141:32 | ... + ... | ActiveRecordInjection.rb:135:10:135:15 | call to params | ActiveRecordInjection.rb:141:20:141:32 | ... + ... | This SQL query depends on a $@. | ActiveRecordInjection.rb:135:10:135:15 | call to params | user-provided value |
| ActiveRecordInjection.rb:174:21:174:44 | ...[...] | ActiveRecordInjection.rb:174:21:174:26 | call to params | ActiveRecordInjection.rb:174:21:174:44 | ...[...] | This SQL query depends on a $@. | ActiveRecordInjection.rb:174:21:174:26 | call to params | user-provided value |
| ActiveRecordInjection.rb:188:27:188:76 | "this is an unsafe annotation:..." | ActiveRecordInjection.rb:188:59:188:64 | call to params | ActiveRecordInjection.rb:188:27:188:76 | "this is an unsafe annotation:..." | This SQL query depends on a $@. | ActiveRecordInjection.rb:188:59:188:64 | call to params | user-provided value |
| ActiveRecordInjection.rb:201:37:201:41 | query | ActiveRecordInjection.rb:206:5:206:10 | call to params | ActiveRecordInjection.rb:201:37:201:41 | query | This SQL query depends on a $@. | ActiveRecordInjection.rb:206:5:206:10 | call to params | user-provided value |
| ActiveRecordInjection.rb:210:43:210:104 | "SELECT * FROM users WHERE id ..." | ActiveRecordInjection.rb:206:5:206:10 | call to params | ActiveRecordInjection.rb:210:43:210:104 | "SELECT * FROM users WHERE id ..." | This SQL query depends on a $@. | ActiveRecordInjection.rb:206:5:206:10 | call to params | user-provided value |
| ActiveRecordInjection.rb:211:35:211:96 | "SELECT * FROM users WHERE id ..." | ActiveRecordInjection.rb:206:5:206:10 | call to params | ActiveRecordInjection.rb:211:35:211:96 | "SELECT * FROM users WHERE id ..." | This SQL query depends on a $@. | ActiveRecordInjection.rb:206:5:206:10 | call to params | user-provided value |
| ActiveRecordInjection.rb:216:38:216:53 | "role = #{...}" | ActiveRecordInjection.rb:222:29:222:34 | call to params | ActiveRecordInjection.rb:216:38:216:53 | "role = #{...}" | This SQL query depends on a $@. | ActiveRecordInjection.rb:222:29:222:34 | call to params | user-provided value |
| ArelInjection.rb:6:20:6:61 | "SELECT * FROM users WHERE nam..." | ArelInjection.rb:4:12:4:17 | call to params | ArelInjection.rb:6:20:6:61 | "SELECT * FROM users WHERE nam..." | This SQL query depends on a $@. | ArelInjection.rb:4:12:4:17 | call to params | user-provided value |
| ArelInjection.rb:7:39:7:80 | "SELECT * FROM users WHERE nam..." | ArelInjection.rb:4:12:4:17 | call to params | ArelInjection.rb:7:39:7:80 | "SELECT * FROM users WHERE nam..." | This SQL query depends on a $@. | ArelInjection.rb:4:12:4:17 | call to params | user-provided value |
| PgInjection.rb:14:15:14:18 | qry1 | PgInjection.rb:6:12:6:17 | call to params | PgInjection.rb:14:15:14:18 | qry1 | This SQL query depends on a $@. | PgInjection.rb:6:12:6:17 | call to params | user-provided value |