Skip to content
AI

Why do the secrets scattered across my project end up inside my coding agent's prompt?

86

فرصت

AI coding agents read entire project directories before generating or editing code. That context routinely includes .env files, config YAML, shell history, and CI secrets, all of which get packed into the prompt sent to an external LLM API. On the code-generation side, agents write code that hardcodes the credentials they saw in context. GitGuardian's 2026 State of Secrets Sprawl report found 28.65 million new hardcoded secrets pushed to public GitHub in 2025, up 34% year over year, with AI-assisted commits leaking secrets at roughly twice the rate of human-written commits, and 24,008 unique secrets found sitting in public MCP configuration files. No coding agent today ships a secrets-aware context filter that strips or vaults sensitive values before they enter the prompt.

چرا اهمیت دارد

A secrets-aware context layer built into the agent toolchain is the only fix that scales as AI-generated code becomes the default.

نحوه امتیازدهی به فرصت

امتیاز فرصت برداشت شخصی من است، نه یک سنجش دقیق: چقدر درد ایجاد می‌کند، چند بار گریبان می‌گیرد، و چقدر راه‌حل کمی برای آن وجود دارد. امتیاز بالاتر یعنی فکر می‌کنم ساختنش بیشتر ارزش دارد.

شدت9/10

چقدر وقتی ظاهر می‌شود دردسر ایجاد می‌کند.

تکرار9/10

چند بار مردم واقعاً با آن مواجه می‌شوند.

فضای خالی7/10

چقدر ابزار مناسب برای آن امروز کمیاب است.

مشکلات بیشتری که ارزش حل کردن دارند