os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
def _open_in_editor(path: Path): editor = os.environ.get("EDITOR", "nano") os.system(f'{editor} "{path}"') # ── Commands ─────────────────────────────────────────────────────────────────- Confidence
- 98% confidence
- Finding
- os.system(f'{editor} "{path}"')
