Security & PrivacyHard
Preventing Private Code Leakage in Coding Agents
Your coding agent has access to proprietary code. How do you stop it leaking in suggestions, tool calls and pull requests?
SecurityAgentsCode GenerationGuardrails
05
Code Leakage
Decide who may read the output, scope the weights and retrieval to that reader, and filter what crosses to a weaker one.
Key idea
Private code leaves a coding agent through the weights, through the completion, and through whatever the agent writes or fetches. Scope the weights and retrieval to the readers you have, filter what crosses to a weaker reader, and measure the rate.
Two tracks: scope before the weights, filter before the reader
Blue input, amber model, teal the gates, green released, red blocked, purple logged. Pans sideways on a phone.