grok_challenge
Adversarially break code to uncover edge cases, race conditions, and security vulnerabilities. Returns severity-ranked issues with reproductions.
Instructions
Ask Grok to adversarially break a piece of code: edge cases, race conditions, security holes, adversarial inputs. Returns severity-ranked issues with reproductions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "grok_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code or design to attack. | |
| context | No | Optional context: language, framework, intended behaviour, constraints. | |
| model | No | ||
| timeout | No | Per-call timeout in seconds. Defaults to 300. Raise for long grok-4 reasoning. |