security_audit
security_auditAudit code for exploitable security issues: injection, auth gaps, secrets, SSRF, path traversal, races, client input trust. Use on auth, payments, user input, file paths, shell commands. Read-only.
Instructions
Exploitable issues: injection, authorization gaps, secrets, SSRF, path traversal, races, trust of client input. Use on auth, payments, user input, file paths, shell commands. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | Unified diff, when the question is about a change. | |
| tier | No | light: fast, cheap model for small ordinary questions. standard: normal reviews. deep: flagship models, for security, money, concurrency, production or a hard bug. auto: decided from the size and subject of the packet. Pick the cheapest tier that can do the job. | |
| model | No | Pin a model for the first attempt. Usually leave unset and pick a tier. | |
| paths | No | Project-relative files to include. Keep the list short. | |
| checks | No | Specific checks, e.g. "does the retry loop stop on a 429". | |
| effort | No | Codex reasoning effort override. Usually leave unset. | |
| noCache | No | Skip the result cache. | |
| workdir | Yes | Absolute path of the project. The specialist reads nothing above it and writes nothing at all. | |
| objective | Yes | What you want decided or found, in one or two sentences. This is the whole task the specialist sees. | |
| timeoutMs | No | Time budget per attempt. | |
| constraints | No | Rules or context to respect: framework version, invariants, what is out of scope. |