3 ms·
Starting in Claude bypass mode does not give me confidence: WARNING: Claude Code running in Bypass Permissions mode
by vincnetas 1y ago
Starting in Claude bypass mode does not give me confidence:
WARNING: Claude Code running in Bypass Permissions mode │
│ │
│ In Bypass Permissions mode, Claude Code will not ask for your approval before running potentially dangerous commands. │
│ This mode should only be used in a sandboxed container/VM that has restricted internet access and can easily be restored if damaged.
- nine_k 1y agoThe Readme clearly states: Caution This project is a research demonstrator. It is in early development and may change significantly. Using permissive AI tools in your repository requires careful attention to security considerations and careful human supervision, and even then things can still go wrong. Use it with caution, and at your own risk.
- vincnetas 1y agoClaude Code will not ask for your approval before running potentially dangerous commands. and requires careful attention to security considerations and careful human supervision is a bit orthogonal no?
- otterley 1y agoIt’s not orthogonal at all. On the contrary, it’s directly related: “Using permissive AI tools [that is, ones that do not ask for your approval] in your repository requires careful attention to security considerations and careful human supervision”. Supervision isn’t necessarily approving every action: it might be as simple as inspecting the work after it’s done. And security considerations might mean to perform the work in a sandbox where it can’t impact anything of value.
- nine_k 1y agoAs a token of careful attention, run this in a clean VM, properly firewalled not to access the host, your internal network, GitHub or wherever your valuable code lives, and ideally anything but the relevant Anthropic and Microsoft API endpoints.
- thethimble 1y agoAnd even then if you give it Internet access you're at risk of code exfiltration attacks.
- nine_k 1y agoDefinitely do not give it access to code you are afraid of leaking. Take an open-source code base you're familiar with, and experiment on that.
- cyral 1y agoIf they didn't have this warning you'd see comments on how irresponsible they are being
- nicwolff 1y agoI assumed, especially with the VS Code recommendation, that this would automatically use devcontainers...