# Code Review Prompt

Review the following code for:

## Correctness
- Logic bugs, off-by-one errors, null/undefined handling
- Edge cases that are not covered
- Incorrect assumptions about input or state

## Security
- Input validation gaps (SQL injection, XSS, command injection)
- Exposed secrets or credentials
- Insecure defaults or overly permissive configurations

## Performance
- Unnecessary re-renders or re-computations
- N+1 query patterns
- Memory leaks or unbounded data structures

## Maintainability
- Dead code, unused imports, or variables
- Functions that do too much (SRP violations)
- Missing or misleading names

## Output Format

List findings as:
```
[SEVERITY: critical|high|medium|low] File:line — Issue description. Suggested fix.
```

---

**Code to review:**

```
[PASTE CODE HERE]
```
