Commit 91b8d87
Fix code review issues: file perms, key rotate .mcp.json, deactivate match
- atomicWriteJson: write tmp file with mode 0o600 (was world-readable)
- key rotate: also update .mcp.json Authorization header (was left stale)
- key deactivate: use includes() not startsWith() for key_prefix match
(key_prefix is 8 hex chars from the secret, not a prefix of fullKey)
- Warn when hooks/ not found in package during init
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2ac00d4 commit 91b8d87
2 files changed
+27
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
350 | 370 | | |
351 | 371 | | |
352 | 372 | | |
| |||
676 | 696 | | |
677 | 697 | | |
678 | 698 | | |
679 | | - | |
| 699 | + | |
680 | 700 | | |
681 | 701 | | |
682 | 702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
0 commit comments