Skip to content

Commit d727f32

Browse files
committed
fix(docs): address additional security review findings
- Quote $SESSION variable in multi-turn session example (exec-mode.md) - Add security note about reviewing installation scripts (user-guide.md)
1 parent a0d26a5 commit d727f32

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

docs/exec-mode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ cortex exec -o json "list TODO comments" | jq '.tool_calls | length'
372372
# Start a session
373373
SESSION=$(cortex exec -o json "analyze codebase" | jq -r '.session_id')
374374

375-
# Continue the session
376-
cortex exec -s $SESSION "now focus on the auth module"
375+
# Continue the session (quote variable to handle edge cases)
376+
cortex exec -s "$SESSION" "now focus on the auth module"
377377
```
378378

379379
### Context Inclusion

docs/user-guide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Cortex provides:
1616

1717
### Linux and macOS
1818

19+
> **Security Note:** Before running any installation script, you can review it first:
20+
> ```bash
21+
> curl -fsSL https://software.cortex.foundation/install.sh | less
22+
> ```
23+
1924
```bash
2025
curl -fsSL https://software.cortex.foundation/install.sh | sh
2126
```

0 commit comments

Comments
 (0)