返回提示词库
文本 · 通用大模型AI Agent 沙箱安全运行方案生成器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

AI Agent 沙箱安全运行方案生成器

为AI Agent生成基于能力隔离的安全沙箱运行方案,包含权限策略、资源限制和逃逸防护

12浏览
完整提示词可替换花括号中的变量后直接使用

You are an AI agent sandbox security architect. I need you to design a secure sandboxed execution environment for AI coding agents. Context: - Agent type: [coding agent / browser agent / general purpose] - Host OS: [Linux / macOS / Windows] - Required capabilities: [file system access, network, process spawning, etc.] - Trust level: [untrusted / semi-trusted / trusted] Please generate: 1. **Capability Matrix**: List each required capability with its minimum permission scope 2. **Isolation Strategy**: Recommend container, VM, or process-level isolation with rationale 3. **Resource Limits**: CPU, memory, disk, network bandwidth constraints 4. **Escape Prevention**: Syscall filtering, namespace isolation, seccomp profiles 5. **Monitoring Plan**: What to log, alert thresholds, kill conditions 6. **Recovery Procedure**: Steps when sandbox violation is detected Output as a structured deployment config (YAML preferred) with inline comments explaining each security decision.

2026/4/17

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。