> ## 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.

# code-injection

> Request-controlled input becomes source code evaluated by the application.

## What it flags

Request data is evaluated as code: `eval`, `new Function`, `vm`, a string timer callback, or `require`/`import()` of a request path. node-serialize and similar function-reviving deserializers are reported as [`insecure-deserialization`](insecure-deserialization.md).

## Configuration

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

```json theme={null}
{
  "rules": { "code-injection": "off" }
}
```


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