kedder/openvario-shell

View on GitHub
src/ovshell/ovos.py

Summary

Maintainability
A
0 mins
Test Coverage

subprocess call - check for execution of untrusted input.
Open

        subprocess.run(["systemctl", "poweroff"])
Severity: Info
Found in src/ovshell/ovos.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert fname.startswith("/"), "Absolute path is required"
Severity: Info
Found in src/ovshell/ovos.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert proc.stdout is not None
Severity: Info
Found in src/ovshell/ovos.py by bandit

Starting a process with a partial executable path
Open

        subprocess.run(["systemctl", "reboot"])
Severity: Info
Found in src/ovshell/ovos.py by bandit

Consider possible security implications associated with subprocess module.
Open

import subprocess
Severity: Info
Found in src/ovshell/ovos.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert self._process.stderr is not None
Severity: Info
Found in src/ovshell/ovos.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert proc.stderr is not None
Severity: Info
Found in src/ovshell/ovos.py by bandit

Starting a process with a partial executable path
Open

        subprocess.run(["bash", "-l"])
Severity: Info
Found in src/ovshell/ovos.py by bandit

subprocess call - check for execution of untrusted input.
Open

        subprocess.run(["bash", "-l"])
Severity: Info
Found in src/ovshell/ovos.py by bandit

subprocess call - check for execution of untrusted input.
Open

        subprocess.run(["systemctl", "reboot"])
Severity: Info
Found in src/ovshell/ovos.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert fname.startswith("/"), "Absolute path is required"
Severity: Info
Found in src/ovshell/ovos.py by bandit

Starting a process with a partial executable path
Open

        subprocess.run(["clear"])
Severity: Info
Found in src/ovshell/ovos.py by bandit

Starting a process with a partial executable path
Open

        subprocess.run(["systemctl", "poweroff"])
Severity: Info
Found in src/ovshell/ovos.py by bandit

subprocess call - check for execution of untrusted input.
Open

        subprocess.run(["clear"])
Severity: Info
Found in src/ovshell/ovos.py by bandit

There are no issues that match your filters.

Category
Status