CCA Prep Q53 / 60 Tool Design & MCP Integration
2:00:00
Code Generation with Claude Code

Your team has deployed a Claude Code agent to perform automated code reviews in a CI pipeline. The agent runs in Docker and mounts the repository read-only (-v /workspace/repo:/workspace:ro) so it can analyze code without modifying it. A security audit flags that secrets were exposed to the agent process — specifically, AWS credentials and a Kubernetes config file present in the developer's home directory, which was bind-mounted as part of the repository path. The code review capability itself is working correctly. What is the most effective fix for this exposure?