-
-
Notifications
You must be signed in to change notification settings - Fork 316
Expand file tree
/
Copy pathtest.json
More file actions
127 lines (127 loc) · 4.27 KB
/
Copy pathtest.json
File metadata and controls
127 lines (127 loc) · 4.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"abcdefg": {
"extension": 18,
"file": 132,
"framework": "Unknown Framework",
"language": "python",
"push_rules": 43,
"target_directory": "/tmp/core/git/shadowsocks/shadowsocks/",
"trigger_rules": 1,
"vulnerabilities": [
{
"code_content": " assert '127.0.1.1' not in ip_network",
"commit_author": "Sunny",
"commit_time": "2015-01-31 19:50:10",
"file_path": "shadowsocks/common.py",
"id": "130005",
"language": "*",
"level": "4",
"line_number": "294",
"match_result": null,
"rule_name": "硬编码IP",
"solution": "## 安全风险\n 硬编码IP\n\n ## 修复方案\n 移到配置文件中",
"severity": "unknown",
"relative_file": "shadowsocks/common.py",
"location": "shadowsocks/common.py:294",
"is_unconfirm": false
},
{
"code_content": " assert '192.168.1.2' not in ip_network",
"commit_author": "Sunny",
"commit_time": "2015-01-31 19:50:10",
"file_path": "shadowsocks/common.py",
"id": "130005",
"language": "*",
"level": "4",
"line_number": "300",
"match_result": null,
"rule_name": "硬编码IP",
"solution": "## 安全风险\n 硬编码IP\n\n ## 修复方案\n 移到配置文件中",
"severity": "unknown",
"relative_file": "shadowsocks/common.py",
"location": "shadowsocks/common.py:300",
"is_unconfirm": false
},
{
"code_content": " assert '192.0.2.1' in ip_network",
"commit_author": "Sunny",
"commit_time": "2015-02-01 00:17:03",
"file_path": "shadowsocks/common.py",
"id": "130005",
"language": "*",
"level": "4",
"line_number": "301",
"match_result": null,
"rule_name": "硬编码IP",
"solution": "## 安全风险\n 硬编码IP\n\n ## 修复方案\n 移到配置文件中",
"severity": "unknown",
"relative_file": "shadowsocks/common.py",
"location": "shadowsocks/common.py:301",
"is_unconfirm": false
},
{
"code_content": " assert '192.0.3.1' in ip_network # 192.0.2.0 is treated as 192.0.2.0/23",
"commit_author": "Sunny",
"commit_time": "2015-02-01 00:17:03",
"file_path": "shadowsocks/common.py",
"id": "130005",
"language": "*",
"level": "4",
"line_number": "302",
"match_result": null,
"rule_name": "硬编码IP",
"solution": "## 安全风险\n 硬编码IP\n\n ## 修复方案\n 移到配置文件中",
"severity": "unknown",
"relative_file": "shadowsocks/common.py",
"location": "shadowsocks/common.py:302",
"is_unconfirm": false
},
{
"code_content": " IPNetwork(config.get('forbidden_ip', '127.0.0.0/8,::1/128'))",
"commit_author": "loggerhead",
"commit_time": "2016-11-20 14:59:32",
"file_path": "shadowsocks/shell.py",
"id": "130005",
"language": "*",
"level": "4",
"line_number": "146",
"match_result": null,
"rule_name": "硬编码IP",
"solution": "## 安全风险\n 硬编码IP\n\n ## 修复方案\n 移到配置文件中",
"severity": "unknown",
"relative_file": "shadowsocks/shell.py",
"location": "shadowsocks/shell.py:146",
"is_unconfirm": false
}
],
"target": "https://github.com/test/test.git",
"meta": {
"target": "https://github.com/test/test.git",
"sid": "abcdefg",
"exported_at": "2026-06-05T09:37:07Z",
"schema_version": "1.0",
"generator": "Kunlun-M CLI Exporter",
"target_directory": "/tmp/core/git/shadowsocks/shadowsocks/",
"language": "python",
"framework": "Unknown Framework",
"extension": 18,
"file": 132,
"push_rules": 43,
"trigger_rules": 1
},
"summary": {
"total_vulns": 5,
"files_affected": 2,
"unconfirmed_total": 0,
"by_severity": {
"unknown": 5
},
"by_language": {
"*": 5
},
"by_rule": {
"硬编码IP": 5
}
}
}
}