Skip to content
lac.co.jp·Indexed by this site · Originally published· Tools →· Its place in the scan record →

Japanese LAC engineer discloses five layers of leak-prevention measures for Claude Code in a real project

AI summary

Japanese LAC engineer Urakawa Tatsuhiro wrote an article introducing the five layers of leak-prevention guardrails he set up when introducing Claude Code into a real contract development project with delivery deadlines and members from partner companies. The team used the CLI version of Claude Code under the Claude Team plan and identified four categories of risk: confidential information being read by the agent, personal information leaking through prompts, unintended file operations or external sending, and third-party copyrighted code being mixed in. The five countermeasures, in order, are: copying the repository into an agent workspace after removing sensitive files, using settings.json to prohibit execution of externally connecting commands and references to files that may contain secrets, detecting with gitleaks, Presidio and ScanCode at initial scans and daily commits, verifying exclusion configurations with the SessionStart hook, and blocking prompts containing confidential or personal information with the UserPromptSubmit hook.

Read originallac.co.jp