Project Boundary
Plugin Verified ActiveBlocks destructive commands outside the project directory. Allows file operations within the project (refactoring, cleanup) but prevents accidental damage outside it.
To provide a robust safety net for AI agents by preventing accidental damage to the user's filesystem outside the project scope, even when permissions are bypassed.
Features
- Blocks destructive commands outside project directory
- Allows file operations within the project
- Validates paths against $CLAUDE_PROJECT_DIR
- Handles symlinks, path traversal, and `~` expansion
- Supports configurable path allowlist
Use Cases
- Protecting sensitive system files when using AI agents in `--dangerously-skip-permissions` mode
- Ensuring refactoring or cleanup operations stay within the intended project scope
- Preventing accidental deletion or modification of files outside the current working directory
- Safely using AI agents for code modification without fear of external data loss
Non-Goals
- Allowing destructive operations outside the project directory
- Permitting execution of uninspectable code like `bash -c` or command substitution
- Blocking all file operations (allows operations within the project)
- Replacing the need for user discretion when executing commands
Installation
First, add the marketplace
/plugin marketplace add davepoon/buildwithclaude/plugin install project-boundary@buildwithclaudeQuality Score
VerifiedSimilar Extensions
Dotforge
100Node.js 20+ with Express/Fastify, TypeScript, and ESM module rules for Claude Code.
Shell Scripting Plugins
99Production-grade Bash scripting with defensive programming, POSIX compliance, and comprehensive testing
Claude Recap
99Topic-based automatic memory for Claude Code — never lose context across sessions or compactions.
Hooks Safety
99Essential safety hooks to prevent destructive operations in Claude Code. From cc-safe-setup (655+ hooks).