انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهSRC-022-L07

عرض عملي: حادثة كشف فيها المساعد طلب عميل آخر

  • الدرس 7 من 7
  • Senior C
في هذا الدرس 3 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

run the incident end to end on the order-support assistant; prepares SRC-022-LAB1.

تفاصيل المخطط المبدئي

خطوة بخطوة

  1. A customer reports seeing someone else's order details; declare the incident and a commander.
  2. Trigger the kill switch; time it and confirm the feature is off.
  3. Use logged config IDs and retrieved document IDs to find the cause: retrieval searched all orders and relied on the prompt to filter by customer.
  4. Planned mistake: fix it by adding "never reveal other customers' data" to the prompt. Fix: enforce authorization in the retrieval and tool layer by the caller's identity.
  5. Assess affected users from logs, involve security and privacy, and prepare notifications.
  6. Re-enable behind a canary after an evaluation gate with cross-customer test cases; write the postmortem.

اختبر فهمك

Where should access control for customer data live?

أظهر الإجابة

In deterministic code on the data path, not in the prompt.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.