fobi28/Secure-Agent-Launcher
Block AI agent access to sensitive macOS paths and log all actions to protect private data during command execution.
What's novel
Block AI agent access to sensitive macOS paths and log all actions to protect private data during command execution.
Code Analysis
12 files read · 4 roundsA macOS CLI wrapper that statically analyzes command-line arguments for paths matching a user-defined deny list and refuses to execute the command if any match, with audit logging and a Tkinter GUI for managing the deny list.
Strengths
Clean, well-tested code with zero external dependencies, proper dependency injection for testability, file locking for concurrent audit log writes, and a polished bilingual GUI with sensible defaults for sensitive paths.
Weaknesses
The 'blocking' mechanism is purely static argv parsing — it cannot detect sensitive file access via scripts, environment variables, or internal tool logic, making it a thin convenience wrapper rather than a real security boundary. The README overstates the security guarantees ('keeps your personal secrets safe') while the actual mechanism is easily bypassed.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
9
Contributors
2
Files
29
Active weeks
3
Repository
Language
Python
Stars
1
Forks
0
License
MIT