> ## 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-insecure-deserialization

> pickle or marshal deserialization of untrusted data can execute arbitrary code.

## What it flags

`pickle` or `marshal` deserializes data that may be untrusted.

## How to review or fix

Use `json` or a schema-validated format.

## Configuration

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

```json theme={null}
{
  "rules": { "python-insecure-deserialization": "off" }
}
```


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