Enhance input validation for documentation fetcher constructor and replace
shell command execution with safer alternatives using argument arrays.
Changes:
- Add comprehensive path validation with sanitization
- Replace execSync with spawnSync using argument arrays
- Add HTTPS-only validation for repository URLs
- Extend security test coverage
Version: 2.18.6 → 2.18.7
Thanks to @ErbaZZ for responsible disclosure.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>