|
2 | 2 | "errors": [],
|
3 | 3 | "generated_at": "2020-11-12T15:17:38Z",
|
4 | 4 | "metrics": {
|
5 |
| - ".\\bot.py": { |
| 5 | + "./bot.py": { |
6 | 6 | "CONFIDENCE.HIGH": 1.0,
|
7 | 7 | "CONFIDENCE.LOW": 0.0,
|
8 | 8 | "CONFIDENCE.MEDIUM": 0.0,
|
|
14 | 14 | "loc": 1264,
|
15 | 15 | "nosec": 0
|
16 | 16 | },
|
17 |
| - ".\\cogs\\modmail.py": { |
| 17 | + "./cogs/modmail.py": { |
18 | 18 | "CONFIDENCE.HIGH": 0.0,
|
19 | 19 | "CONFIDENCE.LOW": 0.0,
|
20 | 20 | "CONFIDENCE.MEDIUM": 0.0,
|
|
26 | 26 | "loc": 1280,
|
27 | 27 | "nosec": 0
|
28 | 28 | },
|
29 |
| - ".\\cogs\\plugins.py": { |
| 29 | + "./cogs/plugins.py": { |
30 | 30 | "CONFIDENCE.HIGH": 1.0,
|
31 | 31 | "CONFIDENCE.LOW": 0.0,
|
32 | 32 | "CONFIDENCE.MEDIUM": 0.0,
|
|
38 | 38 | "loc": 572,
|
39 | 39 | "nosec": 0
|
40 | 40 | },
|
41 |
| - ".\\cogs\\utility.py": { |
| 41 | + "./cogs/utility.py": { |
42 | 42 | "CONFIDENCE.HIGH": 2.0,
|
43 | 43 | "CONFIDENCE.LOW": 0.0,
|
44 | 44 | "CONFIDENCE.MEDIUM": 0.0,
|
|
50 | 50 | "loc": 1710,
|
51 | 51 | "nosec": 0
|
52 | 52 | },
|
53 |
| - ".\\core\\_color_data.py": { |
| 53 | + "./core/_color_data.py": { |
54 | 54 | "CONFIDENCE.HIGH": 0.0,
|
55 | 55 | "CONFIDENCE.LOW": 0.0,
|
56 | 56 | "CONFIDENCE.MEDIUM": 0.0,
|
|
62 | 62 | "loc": 1166,
|
63 | 63 | "nosec": 0
|
64 | 64 | },
|
65 |
| - ".\\core\\changelog.py": { |
| 65 | + "./core/changelog.py": { |
66 | 66 | "CONFIDENCE.HIGH": 0.0,
|
67 | 67 | "CONFIDENCE.LOW": 0.0,
|
68 | 68 | "CONFIDENCE.MEDIUM": 0.0,
|
|
74 | 74 | "loc": 145,
|
75 | 75 | "nosec": 0
|
76 | 76 | },
|
77 |
| - ".\\core\\checks.py": { |
| 77 | + "./core/checks.py": { |
78 | 78 | "CONFIDENCE.HIGH": 0.0,
|
79 | 79 | "CONFIDENCE.LOW": 0.0,
|
80 | 80 | "CONFIDENCE.MEDIUM": 0.0,
|
|
86 | 86 | "loc": 89,
|
87 | 87 | "nosec": 0
|
88 | 88 | },
|
89 |
| - ".\\core\\clients.py": { |
| 89 | + "./core/clients.py": { |
90 | 90 | "CONFIDENCE.HIGH": 0.0,
|
91 | 91 | "CONFIDENCE.LOW": 0.0,
|
92 | 92 | "CONFIDENCE.MEDIUM": 1.0,
|
|
98 | 98 | "loc": 585,
|
99 | 99 | "nosec": 0
|
100 | 100 | },
|
101 |
| - ".\\core\\config.py": { |
| 101 | + "./core/config.py": { |
102 | 102 | "CONFIDENCE.HIGH": 0.0,
|
103 | 103 | "CONFIDENCE.LOW": 0.0,
|
104 | 104 | "CONFIDENCE.MEDIUM": 0.0,
|
|
110 | 110 | "loc": 327,
|
111 | 111 | "nosec": 0
|
112 | 112 | },
|
113 |
| - ".\\core\\decorators.py": { |
| 113 | + "./core/decorators.py": { |
114 | 114 | "CONFIDENCE.HIGH": 0.0,
|
115 | 115 | "CONFIDENCE.LOW": 0.0,
|
116 | 116 | "CONFIDENCE.MEDIUM": 0.0,
|
|
122 | 122 | "loc": 9,
|
123 | 123 | "nosec": 0
|
124 | 124 | },
|
125 |
| - ".\\core\\models.py": { |
| 125 | + "./core/models.py": { |
126 | 126 | "CONFIDENCE.HIGH": 0.0,
|
127 | 127 | "CONFIDENCE.LOW": 0.0,
|
128 | 128 | "CONFIDENCE.MEDIUM": 0.0,
|
|
134 | 134 | "loc": 199,
|
135 | 135 | "nosec": 0
|
136 | 136 | },
|
137 |
| - ".\\core\\paginator.py": { |
| 137 | + "./core/paginator.py": { |
138 | 138 | "CONFIDENCE.HIGH": 0.0,
|
139 | 139 | "CONFIDENCE.LOW": 0.0,
|
140 | 140 | "CONFIDENCE.MEDIUM": 0.0,
|
|
146 | 146 | "loc": 209,
|
147 | 147 | "nosec": 0
|
148 | 148 | },
|
149 |
| - ".\\core\\thread.py": { |
| 149 | + "./core/thread.py": { |
150 | 150 | "CONFIDENCE.HIGH": 0.0,
|
151 | 151 | "CONFIDENCE.LOW": 0.0,
|
152 | 152 | "CONFIDENCE.MEDIUM": 0.0,
|
|
158 | 158 | "loc": 993,
|
159 | 159 | "nosec": 0
|
160 | 160 | },
|
161 |
| - ".\\core\\time.py": { |
| 161 | + "./core/time.py": { |
162 | 162 | "CONFIDENCE.HIGH": 0.0,
|
163 | 163 | "CONFIDENCE.LOW": 0.0,
|
164 | 164 | "CONFIDENCE.MEDIUM": 0.0,
|
|
170 | 170 | "loc": 158,
|
171 | 171 | "nosec": 0
|
172 | 172 | },
|
173 |
| - ".\\core\\utils.py": { |
| 173 | + "./core/utils.py": { |
174 | 174 | "CONFIDENCE.HIGH": 0.0,
|
175 | 175 | "CONFIDENCE.LOW": 0.0,
|
176 | 176 | "CONFIDENCE.MEDIUM": 0.0,
|
|
198 | 198 | "results": [
|
199 | 199 | {
|
200 | 200 | "code": "11 from datetime import datetime\n12 from subprocess import PIPE\n13 from types import SimpleNamespace\n",
|
201 |
| - "filename": ".\\bot.py", |
| 201 | + "filename": "./bot.py", |
202 | 202 | "issue_confidence": "HIGH",
|
203 | 203 | "issue_severity": "LOW",
|
204 | 204 | "issue_text": "Consider possible security implications associated with PIPE module.",
|
|
212 | 212 | },
|
213 | 213 | {
|
214 | 214 | "code": "13 from site import USER_SITE\n14 from subprocess import PIPE\n15 \n16 import discord\n",
|
215 |
| - "filename": ".\\cogs\\plugins.py", |
| 215 | + "filename": "./cogs/plugins.py", |
216 | 216 | "issue_confidence": "HIGH",
|
217 | 217 | "issue_severity": "LOW",
|
218 | 218 | "issue_text": "Consider possible security implications associated with PIPE module.",
|
|
227 | 227 | },
|
228 | 228 | {
|
229 | 229 | "code": "12 from json import JSONDecodeError, loads\n13 from subprocess import PIPE\n14 from textwrap import indent\n",
|
230 |
| - "filename": ".\\cogs\\utility.py", |
| 230 | + "filename": "./cogs/utility.py", |
231 | 231 | "issue_confidence": "HIGH",
|
232 | 232 | "issue_severity": "LOW",
|
233 | 233 | "issue_text": "Consider possible security implications associated with PIPE module.",
|
|
241 | 241 | },
|
242 | 242 | {
|
243 | 243 | "code": "1985 try:\n1986 exec(to_compile, env) # pylint: disable=exec-used\n1987 except Exception as exc:\n",
|
244 |
| - "filename": ".\\cogs\\utility.py", |
| 244 | + "filename": "./cogs/utility.py", |
245 | 245 | "issue_confidence": "HIGH",
|
246 | 246 | "issue_severity": "MEDIUM",
|
247 | 247 | "issue_text": "Use of exec detected.",
|
|
255 | 255 | },
|
256 | 256 | {
|
257 | 257 | "code": "68 \n69 def __init__(self, bot, access_token: str = \"\", username: str = \"\", **kwargs):\n70 self.bot = bot\n71 self.session = bot.session\n72 self.headers: dict = None\n73 self.access_token = access_token\n74 self.username = username\n75 self.avatar_url: str = kwargs.pop(\"avatar_url\", \"\")\n76 self.url: str = kwargs.pop(\"url\", \"\")\n77 if self.access_token:\n78 self.headers = {\"Authorization\": \"token \" + str(access_token)}\n79 \n80 async def request(\n",
|
258 |
| - "filename": ".\\core\\clients.py", |
| 258 | + "filename": "./core/clients.py", |
259 | 259 | "issue_confidence": "MEDIUM",
|
260 | 260 | "issue_severity": "LOW",
|
261 | 261 | "issue_text": "Possible hardcoded password: ''",
|
|
0 commit comments