File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
{
4
4
"warning_type": "Command Injection",
5
5
"warning_code": 14,
6
- "fingerprint": "7297db165692a1744273cd4c5f755daee483c999bf28b7cce39ff84ca9c3a64f ",
6
+ "fingerprint": "2b810f11e65f8681ae0111adffe00fbda55ea1728a4208f26bc0947109335b20 ",
7
7
"check_name": "Execute",
8
8
"message": "Possible command injection",
9
9
"file": "app/models/examples/app_file.rb",
10
- "line": 40 ,
10
+ "line": 81 ,
11
11
"link": "https://brakemanscanner.org/docs/warning_types/command_injection/",
12
12
"code": "`git show #{@revision}:#{@path}`",
13
13
"render_path": null,
14
14
"location": {
15
15
"type": "method",
16
16
"class": "Examples::AppFile",
17
- "method": "read "
17
+ "method": "git_read "
18
18
},
19
19
"user_input": "@revision",
20
20
"confidence": "Medium",
21
21
"cwe_id": [
22
22
77
23
23
],
24
- "note": "We mark this warning as ignored since we expect to only run this code on app files and not on user-generated content. "
24
+ "note": ""
25
25
}
26
26
],
27
- "updated": "2024-05-09 20:09:09 -0400",
27
+ "updated": "2024-07-14 21:34:23 -0400",
28
28
"brakeman_version": "6.1.2"
29
29
}
You can’t perform that action at this time.
0 commit comments