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.
میں موقع کا اسکور کیسے لگاتا ہوں
Opportunity Score میرا اپنا اندازہ ہے، کوئی پیمائش نہیں: یہ کتنا تکلیف دہ ہے، کتنی بار کاٹتا ہے، اور آج اسے حل کرنے کے لیے کتنا کم موجود ہے۔ زیادہ اسکور کا مطلب ہے کہ میرے خیال میں یہ بنانے کے زیادہ قابل ہے۔
جب یہ ظاہر ہوتا ہے تو کتنی تکلیف دیتا ہے۔
لوگ اصل میں اس سے کتنی بار واسطہ پاتے ہیں۔
آج اس کے لیے کتنے کم اچھے ٹولز موجود ہیں۔
حل کرنے کے قابل مزید مسائل
ہر AI ایپ ٹیب بند ہوتے ہی مجھے کیوں بھول جاتی ہے؟
AIکسی نئے شعبے کو سیکھنا ابھی تک یہ جاننے سے مشروط کیوں ہے کہ کیا پوچھنا ہے؟
AIایک غیر ماہر اس بات کی تصدیق کیوں نہیں کر سکتا جو AI نے ابھی بتائی؟
AIہم ماڈلز کو بینچ مارکس پر کیوں جانچتے ہیں لیکن انہیں محض اندازوں پر لانچ کرتے ہیں؟
AIAI ایجنٹوں کو اپنی غلطیوں کی یاد کیوں نہیں رہتی؟
AIمیں یہ آڈٹ کیوں نہیں کر سکتا کہ ماڈل کو دراصل کس چیز پر تربیت دی گئی؟