Multi-Agent Research System
Your multi-agent research system uses a code-analysis subagent to scan internal repositories and extract architectural patterns for research reports. The agent runs in a Docker container with the repository mounted via docker run -v /path/to/repo:/workspace:ro. Three weeks after deployment, a security audit flags that the agent's tool outputs occasionally include database connection strings and AWS access keys, which then appear verbatim in research report drafts. The :ro flag is confirmed to be set correctly. What is the most likely root cause and the appropriate fix?