Claude Code Hardening Cheatsheet
This repository provides a practical cheatsheet and configuration samples for securely running Claude Code, focusing on sandbox settings, permission policies, and custom hooks. It is designed for progressive adoption, offering safe defaults for beginners and advanced fine-tuning options for experienced users. The included files feature a detailed cheatsheet in both Japanese and English, along with a commented settings.json template with allow, ask, and deny rule examples. The guidance covers the sandbox, least privilege principles, and defense in depth, while noting that platform-specific rules are primarily tested on macOS. The project references OWASP GenAI security resources and is available under a CC BY-SA 4.0 license.
https://github.com/okdt/claude-code-hardening-cheatsheet/blob/main/README.en.md
Comments
Post a Comment