Build: #10 failed

Job: Bandit CASA6 CasaTasks failed

Test results

  • 228 tests in total
  • 228 tests failed
  • 228 failures are new
  • < 1 second taken in total.

Build 10 has the following 228 errors: 228 new failure(s) occurred since the previous build.

New test failures 228
Status Test Duration
Collapse Failed py B310 - blacklist
< 1 sec
MEDIUM: Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
Test ID: B310
Severity: MEDIUM
Confidence: HIGH
CWE: 22 (https://cwe.mitre.org/data/definitions/22.html)
Location: /wheeldirectory/casa6/casatasks/setup.py:421
Code: 421
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
(1 more lines...)
Collapse Failed py B403 - blacklist
< 1 sec
LOW: Consider possible security implications associated with pickle module.
Test ID: B403
Severity: LOW
Confidence: HIGH
CWE: 502 (https://cwe.mitre.org/data/definitions/502.html)
Location: /wheeldirectory/casa6/casatasks/setup.py:82
Code: 82
Consider possible security implications associated with pickle module.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/setup.py:75
Code: 75
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B603 - subprocess_without_shell_equals_true
< 1 sec
LOW: subprocess call - check for execution of untrusted input.
Test ID: B603
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/setup.py:121
Code: 121
subprocess call - check for execution of untrusted input.
(1 more lines...)
Collapse Failed py B102 - exec_used
< 1 sec
MEDIUM: Use of exec detected.
Test ID: B102
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/callibrary.py:303
Code: 303
Use of exec detected.
(1 more lines...)
Collapse Failed py B102 - exec_used
< 1 sec
MEDIUM: Use of exec detected.
Test ID: B102
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/casaxmlutil.py:158
Code: 158
Use of exec detected.
(1 more lines...)
Collapse Failed py B318 - blacklist
< 1 sec
MEDIUM: Using xml.dom.minidom.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.dom.minidom.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
Test ID: B318
Severity: MEDIUM
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/src/private/casaxmlutil.py:182
Code: 182
Using xml.dom.minidom.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.dom.minidom.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
(1 more lines...)
Collapse Failed py B408 - blacklist
< 1 sec
LOW: Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
Test ID: B408
Severity: LOW
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/src/private/casaxmlutil.py:4
Code: 4
Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/cleanhelper.py:295
Code: 295
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/cleanhelper.py:11
Code: 11
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/cleanhelper.py:479
Code: 479
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/concatephem.py:123
Code: 123
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/convertephem.py:141
Code: 141
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B310 - blacklist
< 1 sec
MEDIUM: Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
Test ID: B310
Severity: MEDIUM
Confidence: HIGH
CWE: 22 (https://cwe.mitre.org/data/definitions/22.html)
Location: /wheeldirectory/casa6/casatasks/src/private/correct_ant_posns_evla.py:97
Code: 97
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
(1 more lines...)
Collapse Failed py B307 - blacklist
< 1 sec
MEDIUM: Use of possibly insecure function - consider using safer ast.literal_eval.
Test ID: B307
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/flaghelper.py:982
Code: 982
Use of possibly insecure function - consider using safer ast.literal_eval.
(1 more lines...)
Collapse Failed py B318 - blacklist
< 1 sec
MEDIUM: Using xml.dom.minidom.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.dom.minidom.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
Test ID: B318
Severity: MEDIUM
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/src/private/flaghelper.py:1986
Code: 1986
Using xml.dom.minidom.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.dom.minidom.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
(1 more lines...)
Collapse Failed py B408 - blacklist
< 1 sec
LOW: Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
Test ID: B408
Severity: LOW
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/src/private/flaghelper.py:1962
Code: 1962
Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/flaghelper.py:1038
Code: 1038
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/ialib.py:44
Code: 44
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/imagerhelpers/_gclean.py:2164
Code: 2164
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/imagerhelpers/_gclean.py:47
Code: 47
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/imagerhelpers/imager_parallel_cube.py:333
Code: 333
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B307 - blacklist
< 1 sec
MEDIUM: Use of possibly insecure function - consider using safer ast.literal_eval.
Test ID: B307
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/imagerhelpers/input_parameters.py:922
Code: 922
Use of possibly insecure function - consider using safer ast.literal_eval.
(1 more lines...)
Collapse Failed py B310 - blacklist
< 1 sec
MEDIUM: Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
Test ID: B310
Severity: MEDIUM
Confidence: HIGH
CWE: 22 (https://cwe.mitre.org/data/definitions/22.html)
Location: /wheeldirectory/casa6/casatasks/src/private/jplhorizons_query.py:185
Code: 185
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/jyperk.py:49
Code: 49
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B310 - blacklist
< 1 sec
MEDIUM: Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
Test ID: B310
Severity: MEDIUM
Confidence: HIGH
CWE: 22 (https://cwe.mitre.org/data/definitions/22.html)
Location: /wheeldirectory/casa6/casatasks/src/private/jyperk.py:507
Code: 507
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/mslisthelper.py:7
Code: 7
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/mstools.py:59
Code: 59
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/parallel/parallel_data_helper.py:1618
Code: 1618
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/parallel/parallel_data_helper.py:8
Code: 8
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B603 - subprocess_without_shell_equals_true
< 1 sec
LOW: subprocess call - check for execution of untrusted input.
Test ID: B603
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/parallel/parallel_data_helper.py:1611
Code: 1611
subprocess call - check for execution of untrusted input.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/parallel/parallel_data_helper.py:597
Code: 597
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/parallel/parallel_data_helper.py:1611
Code: 1611
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B102 - exec_used
< 1 sec
MEDIUM: Use of exec detected.
Test ID: B102
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/parallel/parallel_task_helper.py:248
Code: 248
Use of exec detected.
(1 more lines...)
Collapse Failed py B307 - blacklist
< 1 sec
MEDIUM: Use of possibly insecure function - consider using safer ast.literal_eval.
Test ID: B307
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/parallel/parallel_task_helper.py:657
Code: 657
Use of possibly insecure function - consider using safer ast.literal_eval.
(1 more lines...)
Collapse Failed py B108 - hardcoded_tmp_directory
< 1 sec
MEDIUM: Probable insecure usage of temp file/directory.
Test ID: B108
Severity: MEDIUM
Confidence: MEDIUM
CWE: 377 (https://cwe.mitre.org/data/definitions/377.html)
Location: /wheeldirectory/casa6/casatasks/src/private/partitionhelper.py:36
Code: 36
Probable insecure usage of temp file/directory.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/partitionhelper.py:13
Code: 13
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B602 - subprocess_popen_with_shell_equals_true
< 1 sec
HIGH: subprocess call with shell=True identified, security issue.
Test ID: B602
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/partitionhelper.py:699
Code: 699
subprocess call with shell=True identified, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/partitionhelper.py:125
Code: 125
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B311 - blacklist
< 1 sec
LOW: Standard pseudo-random generators are not suitable for security/cryptographic purposes.
Test ID: B311
Severity: LOW
Confidence: HIGH
CWE: 330 (https://cwe.mitre.org/data/definitions/330.html)
Location: /wheeldirectory/casa6/casatasks/src/private/sdint_helper.py:19
Code: 19
Standard pseudo-random generators are not suitable for security/cryptographic purposes.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/sdint_helper.py:38
Code: 38
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B108 - hardcoded_tmp_directory
< 1 sec
MEDIUM: Probable insecure usage of temp file/directory.
Test ID: B108
Severity: MEDIUM
Confidence: MEDIUM
CWE: 377 (https://cwe.mitre.org/data/definitions/377.html)
Location: /wheeldirectory/casa6/casatasks/src/private/setjy_helper.py:515
Code: 515
Probable insecure usage of temp file/directory.
(1 more lines...)
Collapse Failed py B112 - try_except_continue
< 1 sec
LOW: Try, Except, Continue detected.
Test ID: B112
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/setjy_helper.py:126
Code: 126
Try, Except, Continue detected.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/simutil.py:3311
Code: 3311
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_apparentsens.py:29
Code: 29
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_concat.py:274
Code: 274
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_conjugatevis.py:62
Code: 62
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_cvel.py:193
Code: 193
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_cvel2.py:45
Code: 45
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_exportasdm.py:80
Code: 80
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B408 - blacklist
< 1 sec
LOW: Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
Test ID: B408
Severity: LOW
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_flagcmd.py:38
Code: 38
Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
(1 more lines...)
Collapse Failed py B310 - blacklist
< 1 sec
MEDIUM: Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
Test ID: B310
Severity: MEDIUM
Confidence: HIGH
CWE: 22 (https://cwe.mitre.org/data/definitions/22.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_getantposalma.py:23
Code: 23
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
(1 more lines...)
Collapse Failed py B310 - blacklist
< 1 sec
MEDIUM: Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
Test ID: B310
Severity: MEDIUM
Confidence: HIGH
CWE: 22 (https://cwe.mitre.org/data/definitions/22.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_getcalmodvla.py:24
Code: 24
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_importasap.py:45
Code: 45
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_importasdm.py:220
Code: 220
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_importfits.py:54
Code: 54
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B307 - blacklist
< 1 sec
MEDIUM: Use of possibly insecure function - consider using safer ast.literal_eval.
Test ID: B307
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_imsmooth.py:209
Code: 209
Use of possibly insecure function - consider using safer ast.literal_eval.
(1 more lines...)
Collapse Failed py B318 - blacklist
< 1 sec
MEDIUM: Using xml.dom.minidom.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.dom.minidom.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
Test ID: B318
Severity: MEDIUM
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_listsdm.py:26
Code: 26
Using xml.dom.minidom.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.dom.minidom.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
(1 more lines...)
Collapse Failed py B408 - blacklist
< 1 sec
LOW: Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
Test ID: B408
Severity: LOW
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_listsdm.py:12
Code: 12
Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_makemask.py:1073
Code: 1073
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_makemask.py:66
Code: 66
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_plotbandpass.py:2945
Code: 2945
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_plotbandpass.py:156
Code: 156
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B108 - hardcoded_tmp_directory
< 1 sec
MEDIUM: Probable insecure usage of temp file/directory.
Test ID: B108
Severity: MEDIUM
Confidence: MEDIUM
CWE: 377 (https://cwe.mitre.org/data/definitions/377.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_predictcomp.py:110
Code: 110
Probable insecure usage of temp file/directory.
(1 more lines...)
Collapse Failed py B307 - blacklist
< 1 sec
MEDIUM: Use of possibly insecure function - consider using safer ast.literal_eval.
Test ID: B307
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_rmfit.py:40
Code: 40
Use of possibly insecure function - consider using safer ast.literal_eval.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_sdfit.py:102
Code: 102
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_sdfit.py:28
Code: 28
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_sdgaincal.py:13
Code: 13
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_sdintimaging.py:630
Code: 630
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_setjy.py:641
Code: 641
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_setjy.py:428
Code: 428
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_tsdimaging.py:728
Code: 728
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_uvcontsub_old.py:74
Code: 74
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_virtualconcat.py:228
Code: 228
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_widebandpbcor.py:165
Code: 165
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/task_wvrgcal.py:270
Code: 270
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B106 - hardcoded_password_funcarg
< 1 sec
LOW: Possible hardcoded password: 'casa-feedback@nrao.edu'
Test ID: B106
Severity: LOW
Confidence: MEDIUM
CWE: 259 (https://cwe.mitre.org/data/definitions/259.html)
Location: /wheeldirectory/casa6/casatasks/src/private/tec_maps.py:506
Code: 506
Possible hardcoded password: 'casa-feedback@nrao.edu'
(1 more lines...)
Collapse Failed py B402 - blacklist
< 1 sec
HIGH: A FTP-related module is being imported.  FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
Test ID: B402
Severity: HIGH
Confidence: HIGH
CWE: 319 (https://cwe.mitre.org/data/definitions/319.html)
Location: /wheeldirectory/casa6/casatasks/src/private/tec_maps.py:159
Code: 159
A FTP-related module is being imported.  FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/src/private/tec_maps.py:369
Code: 369
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/run.py:11
Code: 11
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B406 - blacklist
< 1 sec
LOW: Using escape to parse untrusted XML data is known to be vulnerable to XML attacks. Replace escape with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
Test ID: B406
Severity: LOW
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/tests/run.py:14
Code: 14
Using escape to parse untrusted XML data is known to be vulnerable to XML attacks. Replace escape with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
(1 more lines...)
Collapse Failed py B603 - subprocess_without_shell_equals_true
< 1 sec
LOW: subprocess call - check for execution of untrusted input.
Test ID: B603
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/run.py:95
Code: 95
subprocess call - check for execution of untrusted input.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/scripts/test_casaxmlutil.py:42
Code: 42
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/scripts/test_flaghelper.py:36
Code: 36
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/scripts/test_flaghelper.py:54
Code: 54
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/scripts/test_flaghelper.py:86
Code: 86
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/scripts/test_imagerhelpers_gclean.py:75
Code: 75
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/scripts/test_jyperk.py:113
Code: 113
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/listing.py:49
Code: 49
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
HIGH: Chmod setting a permissive mask 0o777 on file (path).
Test ID: B103
Severity: HIGH
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_applycal.py:95
Code: 95
Chmod setting a permissive mask 0o777 on file (path).
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_applycal.py:190
Code: 190
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B608 - hardcoded_sql_expressions
< 1 sec
MEDIUM: Possible SQL injection vector through string-based query construction.
Test ID: B608
Severity: MEDIUM
Confidence: LOW
CWE: 89 (https://cwe.mitre.org/data/definitions/89.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_applycal.py:959
Code: 959
Possible SQL injection vector through string-based query construction.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_bandpass.py:57
Code: 57
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_bandpass.py:102
Code: 102
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
MEDIUM: Chmod setting a permissive mask 0o755 on file (clearMS).
Test ID: B103
Severity: MEDIUM
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_clearcal.py:62
Code: 62
Chmod setting a permissive mask 0o755 on file (clearMS).
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_clearstat.py:70
Code: 70
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_concat.py:143
Code: 143
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_cvel.py:57
Code: 57
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_cvel.py:110
Code: 110
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_cvel2.py:69
Code: 69
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_cvel2.py:95
Code: 95
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_deconvolve.py:730
Code: 730
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_deconvolve.py:871
Code: 871
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
MEDIUM: Chmod setting a permissive mask 0o755 on file (msfile).
Test ID: B103
Severity: MEDIUM
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_delmod.py:62
Code: 62
Chmod setting a permissive mask 0o755 on file (msfile).
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_exportasdm.py:54
Code: 54
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_exportasdm.py:77
Code: 77
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_feather.py:235
Code: 235
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_fixplanets.py:112
Code: 112
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_fixplanets.py:335
Code: 335
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
LOW: Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
Test ID: B605
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_fixvis.py:64
Code: 64
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_fixvis.py:64
Code: 64
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_flagcmd.py:44
Code: 44
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_flagcmd.py:61
Code: 61
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_flagcmd.py:631
Code: 631
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_flagdata.py:47
Code: 47
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_flagdata.py:60
Code: 60
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_flagdata.py:526
Code: 526
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_flagmanager.py:61
Code: 61
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_flagmanager.py:87
Code: 87
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
LOW: Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
Test ID: B605
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_fluxscale.py:106
Code: 106
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_fluxscale.py:106
Code: 106
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
HIGH: Chmod setting a permissive mask 0o777 on file (path).
Test ID: B103
Severity: HIGH
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_gaincal.py:149
Code: 149
Chmod setting a permissive mask 0o777 on file (path).
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_gencal.py:500
Code: 500
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B310 - blacklist
< 1 sec
MEDIUM: Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
Test ID: B310
Severity: MEDIUM
Confidence: HIGH
CWE: 22 (https://cwe.mitre.org/data/definitions/22.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_gencal.py:142
Code: 142
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
(1 more lines...)
Collapse Failed py B310 - blacklist
< 1 sec
MEDIUM: Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
Test ID: B310
Severity: MEDIUM
Confidence: HIGH
CWE: 22 (https://cwe.mitre.org/data/definitions/22.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_getephemtable.py:56
Code: 56
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_hanningsmooth.py:80
Code: 80
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imcontsub.py:71
Code: 71
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imcontsub.py:80
Code: 80
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imfit.py:132
Code: 132
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
MEDIUM: Chmod setting a permissive mask 0o755 on file (datacopy).
Test ID: B103
Severity: MEDIUM
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imhead.py:72
Code: 72
Chmod setting a permissive mask 0o755 on file (datacopy).
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imhead.py:263
Code: 263
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
HIGH: Chmod setting a permissive mask 0o777 on file (path).
Test ID: B103
Severity: HIGH
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imhistory.py:40
Code: 40
Chmod setting a permissive mask 0o777 on file (path).
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_immath.py:188
Code: 188
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_immath.py:162
Code: 162
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_immath.py:170
Code: 170
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B311 - blacklist
< 1 sec
LOW: Standard pseudo-random generators are not suitable for security/cryptographic purposes.
Test ID: B311
Severity: LOW
Confidence: HIGH
CWE: 330 (https://cwe.mitre.org/data/definitions/330.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_immoments.py:523
Code: 523
Standard pseudo-random generators are not suitable for security/cryptographic purposes.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_immoments.py:160
Code: 160
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_immoments.py:169
Code: 169
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
LOW: Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
Test ID: B605
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_impbcor.py:73
Code: 73
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_impbcor.py:73
Code: 73
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importasap.py:62
Code: 62
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B318 - blacklist
< 1 sec
MEDIUM: Using xml.dom.minidom.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.dom.minidom.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
Test ID: B318
Severity: MEDIUM
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importasdm.py:3825
Code: 3825
Using xml.dom.minidom.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.dom.minidom.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
(1 more lines...)
Collapse Failed py B408 - blacklist
< 1 sec
LOW: Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
Test ID: B408
Severity: LOW
Confidence: HIGH
CWE: 20 (https://cwe.mitre.org/data/definitions/20.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importasdm.py:3813
Code: 3813
Using minidom to parse untrusted XML data is known to be vulnerable to XML attacks. Replace minidom with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importasdm.py:157
Code: 157
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importasdm.py:393
Code: 393
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B608 - hardcoded_sql_expressions
< 1 sec
MEDIUM: Possible SQL injection vector through string-based query construction.
Test ID: B608
Severity: MEDIUM
Confidence: LOW
CWE: 89 (https://cwe.mitre.org/data/definitions/89.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importasdm.py:1853
Code: 1853
Possible SQL injection vector through string-based query construction.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importasdm_mms.py:151
Code: 151
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B608 - hardcoded_sql_expressions
< 1 sec
MEDIUM: Possible SQL injection vector through string-based query construction.
Test ID: B608
Severity: MEDIUM
Confidence: LOW
CWE: 89 (https://cwe.mitre.org/data/definitions/89.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importasdm_mms.py:327
Code: 327
Possible SQL injection vector through string-based query construction.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importfitsidi.py:152
Code: 152
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_importnro.py:110
Code: 110
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
LOW: Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
Test ID: B605
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_impv.py:114
Code: 114
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_impv.py:114
Code: 114
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
MEDIUM: Chmod setting a permissive mask 0o755 on file (imcopy).
Test ID: B103
Severity: MEDIUM
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imreframe.py:64
Code: 64
Chmod setting a permissive mask 0o755 on file (imcopy).
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imregrid.py:884
Code: 884
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imsmooth.py:208
Code: 208
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B311 - blacklist
< 1 sec
LOW: Standard pseudo-random generators are not suitable for security/cryptographic purposes.
Test ID: B311
Severity: LOW
Confidence: HIGH
CWE: 330 (https://cwe.mitre.org/data/definitions/330.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imsmooth.py:438
Code: 438
Standard pseudo-random generators are not suitable for security/cryptographic purposes.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imsmooth.py:86
Code: 86
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
LOW: Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
Test ID: B605
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imstat.py:108
Code: 108
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imstat.py:108
Code: 108
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
LOW: Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
Test ID: B605
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imtrans.py:51
Code: 51
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imtrans.py:51
Code: 51
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B110 - try_except_pass
< 1 sec
LOW: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_imval.py:79
Code: 79
Try, Except, Pass detected.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listfits.py:39
Code: 39
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listhistory.py:26
Code: 26
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listhistory.py:107
Code: 107
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B324 - hashlib
< 1 sec
HIGH: Use of weak SHA1 hash for security. Consider usedforsecurity=False
Test ID: B324
Severity: HIGH
Confidence: HIGH
CWE: 327 (https://cwe.mitre.org/data/definitions/327.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listobs.py:108
Code: 108
Use of weak SHA1 hash for security. Consider usedforsecurity=False
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listobs.py:53
Code: 53
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listobs.py:185
Code: 185
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listobs.py:186
Code: 186
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listpartition.py:54
Code: 54
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listpartition.py:89
Code: 89
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_listvis.py:88
Code: 88
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_makemask.py:338
Code: 338
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_mstransform.py:210
Code: 210
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_mstransform.py:375
Code: 375
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B609 - linux_commands_wildcard_injection
< 1 sec
HIGH: Possible wildcard injection in call: os.system
Test ID: B609
Severity: HIGH
Confidence: MEDIUM
CWE: 155 (https://cwe.mitre.org/data/definitions/155.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_mstransform.py:5914
Code: 5914
Possible wildcard injection in call: os.system
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_mstransform_mms.py:61
Code: 61
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_mstransform_mms.py:146
Code: 146
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_nrobeamaverage.py:62
Code: 62
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_partition.py:107
Code: 107
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_partition.py:138
Code: 138
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
HIGH: Chmod setting a permissive mask 0o777 on file (path).
Test ID: B103
Severity: HIGH
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_phaseshift.py:60
Code: 60
Chmod setting a permissive mask 0o777 on file (path).
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_phaseshift.py:394
Code: 394
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_phaseshift.py:404
Code: 404
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_plotants.py:51
Code: 51
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_plotprofilemap.py:25
Code: 25
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_plotprofilemap.py:294
Code: 294
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B108 - hardcoded_tmp_directory
< 1 sec
MEDIUM: Probable insecure usage of temp file/directory.
Test ID: B108
Severity: MEDIUM
Confidence: MEDIUM
CWE: 377 (https://cwe.mitre.org/data/definitions/377.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_plotweather.py:64
Code: 64
Probable insecure usage of temp file/directory.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
LOW: Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
Test ID: B605
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_predictcomp.py:46
Code: 46
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_predictcomp.py:46
Code: 46
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdatmcor.py:61
Code: 61
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B307 - blacklist
< 1 sec
MEDIUM: Use of possibly insecure function - consider using safer ast.literal_eval.
Test ID: B307
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdatmcor.py:257
Code: 257
Use of possibly insecure function - consider using safer ast.literal_eval.
(1 more lines...)
Collapse Failed py B608 - hardcoded_sql_expressions
< 1 sec
MEDIUM: Possible SQL injection vector through string-based query construction.
Test ID: B608
Severity: MEDIUM
Confidence: LOW
CWE: 89 (https://cwe.mitre.org/data/definitions/89.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdatmcor.py:780
Code: 780
Possible SQL injection vector through string-based query construction.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdbaseline.py:252
Code: 252
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B307 - blacklist
< 1 sec
MEDIUM: Use of possibly insecure function - consider using safer ast.literal_eval.
Test ID: B307
Severity: MEDIUM
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdbaseline.py:213
Code: 213
Use of possibly insecure function - consider using safer ast.literal_eval.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdbaseline.py:2432
Code: 2432
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdcal.py:1157
Code: 1157
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdcal.py:45
Code: 45
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B608 - hardcoded_sql_expressions
< 1 sec
MEDIUM: Possible SQL injection vector through string-based query construction.
Test ID: B608
Severity: MEDIUM
Confidence: LOW
CWE: 89 (https://cwe.mitre.org/data/definitions/89.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdcal.py:819
Code: 819
Possible SQL injection vector through string-based query construction.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdfit.py:194
Code: 194
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdfit.py:642
Code: 642
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdfixscan.py:162
Code: 162
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdintimaging.py:167
Code: 167
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdpolaverage.py:80
Code: 80
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdsmooth.py:447
Code: 447
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_sdtimeaverage.py:151
Code: 151
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_setjy.py:86
Code: 86
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_simanalyze.py:65
Code: 65
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_simanalyze.py:66
Code: 66
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_simobserve.py:1755
Code: 1755
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_smoothcal.py:73
Code: 73
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_split.py:311
Code: 311
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_split.py:2008
Code: 2008
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_split.py:2212
Code: 2212
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B404 - blacklist
< 1 sec
LOW: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_tclean.py:120
Code: 120
Consider possible security implications associated with the subprocess module.
(1 more lines...)
Collapse Failed py B603 - subprocess_without_shell_equals_true
< 1 sec
LOW: subprocess call - check for execution of untrusted input.
Test ID: B603
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_tclean.py:295
Code: 295
subprocess call - check for execution of untrusted input.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_tclean.py:172
Code: 172
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_tclean.py:295
Code: 295
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_tsdimaging.py:4450
Code: 4450
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
MEDIUM: Chmod setting a permissive mask 0o755 on file (datacopy).
Test ID: B103
Severity: MEDIUM
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_uvmodelfit.py:46
Code: 46
Chmod setting a permissive mask 0o755 on file (datacopy).
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_virtualconcat.py:536
Code: 536
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_virtualconcat.py:748
Code: 748
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B103 - set_bad_file_permissions
< 1 sec
HIGH: Chmod setting a permissive mask 0o777 on file (ngc5921.ms).
Test ID: B103
Severity: HIGH
Confidence: HIGH
CWE: 732 (https://cwe.mitre.org/data/definitions/732.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_vishead.py:186
Code: 186
Chmod setting a permissive mask 0o777 on file (ngc5921.ms).
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_vishead.py:127
Code: 127
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_wvrgcal.py:209
Code: 209
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)
Collapse Failed py B607 - start_process_with_partial_path
< 1 sec
LOW: Starting a process with a partial executable path
Test ID: B607
Severity: LOW
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/tasks/test_task_wvrgcal.py:407
Code: 407
Starting a process with a partial executable path
(1 more lines...)
Collapse Failed py B101 - assert_used
< 1 sec
LOW: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: 703 (https://cwe.mitre.org/data/definitions/703.html)
Location: /wheeldirectory/casa6/casatasks/tests/test_casatasks.py:128
Code: 128
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
(1 more lines...)
Collapse Failed py B605 - start_process_with_a_shell
< 1 sec
HIGH: Starting a process with a shell, possible injection detected, security issue.
Test ID: B605
Severity: HIGH
Confidence: HIGH
CWE: 78 (https://cwe.mitre.org/data/definitions/78.html)
Location: /wheeldirectory/casa6/casatasks/tests/test_casatasks.py:88
Code: 88
Starting a process with a shell, possible injection detected, security issue.
(1 more lines...)