Commit ee0b5de
fix: resolve remaining critical security issues
Critical security fixes:
1. API key no longer passed in process arguments (update-exa-mcp.sh)
- Changed from command line argument to environment variable
- Prevents exposure via ps/process lists
2. Removed hardcoded user path (setup-claude-code-mcp.sh)
- Changed /Users/mojwang to $HOME for portability
- Supports all users, not just hardcoded username
These changes ensure:
- API keys are not visible in process lists
- Scripts work for any user without modification
- Better security posture overall
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent b8cd0e8 commit ee0b5de
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
83 | | - | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments