Repository navigation
v3.1.1 - Security Fixes + Hook Bugs + Version Sync
Comprehensive Fix Release
After a 4-agent parallel review (Explore, security-reviewer, code-reviewer, janitor) found ~90 issues, this release addresses all P0 (release blockers) and P1 (correctness) findings.
Security HIGH
- H1 Path traversal in palace hooks: Added `sanitizeProjectName()` and `getSafeProjectName()` to shared utilities. All palace hooks now verify resolved paths stay within PALACE_DIR.
- H2 Path traversal in model-router: Added whitelist regex for agent names.
Hook Bugs
- 4 hooks wrong output format: `result: 'approve'` -> proper hookSpecificOutput
- 2 hooks silent SessionStart fail: Added `event.source` field support (was reading legacy `event.type`)
- 7 hooks non-portable stdin: `/dev/stdin` -> FD 0 (Windows portability)
- 4 hooks duplicate project detection: Now use shared `getSafeProjectName()`
- bin/cli.mjs --profile flag was cosmetic: Now actually computes disabled agent/skill sets
Version/Count Consistency
- plugin.json 3.0.0 -> 3.1.1 with updated description
- package.json 3.1.0 -> 3.1.1, removed missing CLAUDE.md/hooks.json refs
- README badges/diagram/tables corrected
- vibecosystem-welcome.md v2.3 -> v3.1
CI Hardening
- claude-fix.yml: `contains()` -> exact match (prevents substring bypass)
- validate.yml: action-shellcheck@master -> @2.0.0 (no floating refs)
See CHANGELOG.md