You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/examples/codeauditchecks.html
+22-4Lines changed: 22 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -252,10 +252,28 @@
252
252
<td>Assertions are for debugging and development. Assertions can be disabled during runtime. Use in production can introduce vulnerabilities.</td>
253
253
</tr>
254
254
<tr>
255
-
<td>Base64 Encoding</td>
256
-
<td>base64</td>
255
+
<td>Base64 Decoding</td>
256
+
<td>base64.b64decode</td>
257
+
<td>Medium</td>
258
+
<td>Base64 encoding/decoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.</td>
259
+
</tr>
260
+
<tr>
261
+
<td>Base64 Decoding</td>
262
+
<td>base64.b64encode</td>
257
263
<td>Low</td>
258
-
<td>Base64 encoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.</td>
264
+
<td>Base64 encoding/decoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.</td>
265
+
</tr>
266
+
<tr>
267
+
<td>Base64 Decoding</td>
268
+
<td>base64.b85encode</td>
269
+
<td>Low</td>
270
+
<td>Base64 encoding/decoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.</td>
271
+
</tr>
272
+
<tr>
273
+
<td>Base64 Decoding</td>
274
+
<td>base64.z85decode</td>
275
+
<td>Medium</td>
276
+
<td>Base64 encoding/decoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.</td>
259
277
</tr>
260
278
<tr>
261
279
<td>BZ2 File Handling</td>
@@ -744,4 +762,4 @@
744
762
<td>Vulnerable to path traversal attacks if used with untrusted archives.</td>
745
763
</tr>
746
764
</tbody>
747
-
</table><br><p>Number of implemented security validations:<b>84</b></p><p>Version of codeaudit: <b>1.6.5</b><p>Because Python and cybersecurity are constantly changing, issue reports <b>SHOULD</b> specify the codeaudit version used.</p><p><b>Disclaimer:</b><i>This SAST tool <ahref="https://github.com/nocomplexity/codeaudit" target="_blank"><b>Python Code Audit</b></a> provides a powerful, automatic security analysis for Python source code. However, it's not a substitute for human review in combination with business knowledge. Undetected vulnerabilities may still exist.</i></p><p>This Python security report was created on: <b>2026-05-11 16:42</b> with <ahref="https://github.com/nocomplexity/codeaudit" target="_blank"><b>Python Code Audit</b></a> version <b>1.6.5</b></p><hr><footer><divclass="footer-links">Check the <ahref="https://nocomplexity.com/documents/codeaudit/intro.html" target="_blank">documentation</a> for help on found issues.<br>Codeaudit is made with <spanclass="heart">❤</span> by cyber security professionals who advocate for <ahref="https://nocomplexity.com/simplify-security/" target="_blank">open simple security solutions</a>.<br><ahref="https://nocomplexity.com/documents/codeaudit/CONTRIBUTE.html" target="_blank">Join the community</a> and contribute to make this tool better!</div></footer></div></body></html>
765
+
</table><br><p>Number of implemented security validations:<b>87</b></p><p>Version of codeaudit: <b>1.6.6</b><p>Because Python and cybersecurity are constantly changing, issue reports <b>SHOULD</b> specify the codeaudit version used.</p><p><b>Disclaimer:</b><i>This SAST tool <ahref="https://github.com/nocomplexity/codeaudit" target="_blank"><b>Python Code Audit</b></a> provides a powerful, automatic security analysis for Python source code. However, it's not a substitute for human review in combination with business knowledge. Undetected vulnerabilities may still exist.</i></p><p>This Python security report was created on: <b>2026-05-19 16:06</b> with <ahref="https://github.com/nocomplexity/codeaudit" target="_blank"><b>Python Code Audit</b></a> version <b>1.6.6</b></p><hr><footer><divclass="footer-links">Check the <ahref="https://nocomplexity.com/documents/codeaudit/intro.html" target="_blank">documentation</a> for help on found issues.<br>Codeaudit is made with <spanclass="heart">❤</span> by cyber security professionals who advocate for <ahref="https://nocomplexity.com/simplify-security/" target="_blank">open simple security solutions</a>.<br><ahref="https://nocomplexity.com/documents/codeaudit/CONTRIBUTE.html" target="_blank">Join the community</a> and contribute to make this tool better!</div></footer></div></body></html>
"info": "Base64 encoding/decoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.",
220
+
"code": "<pre><code class='language-python'>import base64\nencoded = base64.b64encode(b'data to be encoded')\ndata = base64.b64decode(encoded)</code></pre>"
221
+
},
222
+
"239": {
223
+
"line": 239,
224
+
"validation": "base64.b64decode",
225
+
"severity": "Medium",
226
+
"info": "Base64 encoding/decoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.",
227
+
"code": "<pre><code class='language-python'>encoded = base64.b64encode(b'data to be encoded')\ndata = base64.b64decode(encoded)</code></pre>"
"info": "Base64 encoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.",
467
-
"code": "<pre><code class='language-python'>import base64\nencoded = base64.b64encode(b'data to be encoded')\ndata = base64.b64decode(encoded)</code></pre>"
468
-
},
469
-
"239": {
470
-
"line": 239,
471
-
"validation": "base64",
472
-
"severity": "Low",
473
-
"info": "Base64 encoding is not for security. It only visually hides data and provides no confidentiality. Often used to obfuscate malware in code.",
474
-
"code": "<pre><code class='language-python'>encoded = base64.b64encode(b'data to be encoded')\ndata = base64.b64decode(encoded)</code></pre>"
0 commit comments