mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-04-19 13:35:51 +00:00
Addresses critical edge case where malformed app targets with multiple leading colons (e.g., "::::::::::::::::Finder") created empty app names that would match ALL system processes. This could potentially expose sensitive information or cause unintended system-wide captures. Key improvements: - Enhanced app target parsing to validate non-empty app names - Added fallback logic to extract valid app names from malformed inputs - Default to screen mode when all parts are empty (security-first approach) - Comprehensive test coverage for edge cases - Improved backward compatibility with hidden path parameters 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ApplicationFinder.swift | ||
| FileNameGenerator.swift | ||
| ImageCommand.swift | ||
| ImageSaver.swift | ||
| JSONOutput.swift | ||
| ListCommand.swift | ||
| Logger.swift | ||
| main.swift | ||
| Models.swift | ||
| OutputPathResolver.swift | ||
| PermissionErrorDetector.swift | ||
| PermissionsChecker.swift | ||
| ScreenCapture.swift | ||
| Version.swift | ||
| WindowManager.swift | ||