Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions jit_code_vulnerability_test_file.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import subprocess

Check notice on line 1 in jit_code_vulnerability_test_file.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

jit_code_vulnerability_test_file.py#L1

Consider possible security implications associated with the subprocess module.

Check warning on line 1 in jit_code_vulnerability_test_file.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

jit_code_vulnerability_test_file.py#L1

Consider possible security implications associated with the subprocess module. (B404)
call_process = subprocess.Popen(['ls', '-l'], shell=True)

Check failure on line 2 in jit_code_vulnerability_test_file.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

jit_code_vulnerability_test_file.py#L2

Found 'subprocess' function 'Popen' with 'shell=True'. This is dangerous because this call will spawn the command using a shell process.

Check warning on line 2 in jit_code_vulnerability_test_file.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

jit_code_vulnerability_test_file.py#L2

Found `subprocess` function `Popen` with `shell=True`. This is dangerous because this call will spawn the command using a shell process.

Check warning on line 2 in jit_code_vulnerability_test_file.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

jit_code_vulnerability_test_file.py#L2

Starting a process with a partial executable path

Check warning on line 2 in jit_code_vulnerability_test_file.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

jit_code_vulnerability_test_file.py#L2

Starting a process with a partial executable path (B607)

Check warning on line 2 in jit_code_vulnerability_test_file.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

jit_code_vulnerability_test_file.py#L2

subprocess call with shell=True identified, security issue.

Check warning on line 2 in jit_code_vulnerability_test_file.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

jit_code_vulnerability_test_file.py#L2

subprocess call with shell=True identified, security issue. (B602)