| 1 |
# Security policy |
| 2 |
|
| 3 |
## Reporting a vulnerability |
| 4 |
|
| 5 |
If you find a security issue in clnkr, email [email protected]. Do not open a public issue. |
| 6 |
|
| 7 |
You should hear back within 72 hours. If confirmed, a fix will be released as soon as practical and you will be credited in the release notes (unless you prefer otherwise). |
| 8 |
|
| 9 |
## Scope |
| 10 |
|
| 11 |
clnkr executes bash commands suggested by an LLM. By design, it runs arbitrary code. The security boundary is between clnkr and the systems it talks to: |
| 12 |
|
| 13 |
- **API key handling** — keys should not leak into logs, event logs, or trajectories |
| 14 |
- **File path arguments** — `--event-log`, `--trajectory`, and `--load-messages` should not allow path traversal or unsafe file operations beyond what the user explicitly requested |
| 15 |
- **Untrusted input** — malformed JSON in `--load-messages` or crafted LLM responses should not cause crashes or unexpected behavior beyond normal error exits |