此内容尚未提供您的语言版本,正在以英文显示。
Project Boundary
插件 已验证 活跃Blocks 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.
功能
- 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
使用场景
- 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
非目标
- 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
安装
请先添加 Marketplace
/plugin marketplace add davepoon/buildwithclaude/plugin install project-boundary@buildwithclaude质量评分
已验证98 /100
1 day ago 分析
类似扩展
Dotforge
100Node.js 20+ with Express/Fastify, TypeScript, and ESM module rules for Claude Code.
插件
luiseiman
Shell Scripting Plugins
99Production-grade Bash scripting with defensive programming, POSIX compliance, and comprehensive testing
插件
wshobson
Claude Recap
99为 Claude Code 提供基于主题的自动记忆——跨会话或压缩时绝不会丢失上下文。
插件
hatawong
Hooks Safety
99Essential safety hooks to prevent destructive operations in Claude Code. From cc-safe-setup (655+ hooks).
插件
davepoon