Why does my AI write code that is correct in isolation but insecure in my system?
فرصت
AI coding assistants generate code that is syntactically valid and functionally correct at the function level but have no model of the security invariants of the surrounding system: the trust boundaries, IAM policies, data classification, and threat model that make a pattern safe or dangerous in a specific codebase. The result is structurally valid code that exposes tokens in logs, omits row-level access checks, or misconfigures permissions in ways an engineer familiar with the system would catch immediately. CVE-2025-48757 is a concrete case where an AI tool generated database schemas without row-level security, silently exposing 170 production applications. Research shows AI-assisted commits leak secrets at more than twice the rate of human-only commits. No current assistant ingests or reasons about a codebase's existing security model before generating code.
چرا اهمیت دارد
Security context unawareness produces a class of vulnerabilities that pass every syntax check and unit test but are trivially exploitable once deployed.
نحوه امتیازدهی به فرصت
امتیاز فرصت برداشت شخصی من است، نه یک سنجش دقیق: چقدر درد ایجاد میکند، چند بار گریبان میگیرد، و چقدر راهحل کمی برای آن وجود دارد. امتیاز بالاتر یعنی فکر میکنم ساختنش بیشتر ارزش دارد.
چقدر وقتی ظاهر میشود دردسر ایجاد میکند.
چند بار مردم واقعاً با آن مواجه میشوند.
چقدر ابزار مناسب برای آن امروز کمیاب است.
مشکلات بیشتری که ارزش حل کردن دارند
چرا هر اپلیکیشن هوش مصنوعی لحظهای که تب را میبندم مرا فراموش میکند؟
AIچرا یادگیری یک حوزه جدید هنوز به دانستن اینکه چه بپرسی وابسته است؟
AIچرا یک غیرمتخصص نمیتواند آنچه هوش مصنوعی به تازگی به او گفته را تأیید کند؟
AIچرا مدلها را روی معیارهای استاندارد آزمایش میکنیم اما بر اساس حدس و احساس راهی تولید میکنیم؟
AIچرا عاملهای هوش مصنوعی هیچ خاطرهای از اشتباهات خودشان ندارند؟
AIچرا نمیتوانم آنچه را که مدل واقعاً روی آن آموزش دیده بررسی کنم؟