5 ms·
Run Claude Code in a locked down container or VM that has no access to sensitive data, and review all of the code it commits?
by christophilus 1y ago
Run Claude Code in a locked down container or VM that has no access to sensitive data, and review all of the code it commits?
- myaccountonhn 1y agoAs a separate locked-down user would probably also work.
- spacebanana7 1y agoConceivably couldn’t a post install script be used for the malicious dependency to install its own instance of Claude code (or similar tool)? In which case you couldn’t really separate your dev environment from a hostile LLM.
- anon7000 1y agoYes, though the attackers would have to pay for an account. In this case, it’s using a pre-installed, pre-authorized tool, using your own credits to hack you
- christophilus 1y agoI run npm in the container, too, along with my dev tooling. They’d have to break out of the container, which I’m sure is possible, but is a good bit harder than just running an arbitrary nom script.