> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# python-subprocess-shell-true

> subprocess with shell=True or os.system passes input through a shell, risking command injection.

## What it flags

`subprocess` with `shell=True` or `os.system` passes input through a shell.

## How to review or fix

Pass an argument list with `shell=False`.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "python-subprocess-shell-true": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.