Skip to main content

What it flags

Request data passed to a deserializer that rebuilds functions from its input: unserialize from node-serialize, deserialize from serialize-to-js, or deepDeserialize from funcster. A crafted payload runs code while it is parsed (CWE-502), for example node-serialize’s _$$ND_FUNC$$_ marker with a trailing (). Parse the input as data with JSON.parse and validate it with a schema instead.

Configuration

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