انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهARC-046-L05

عرض عملي: نمذجة تهديدات مساعد Larkspur

  • الدرس 5 من 5
  • Architect
في هذا الدرس 3 موضوعات

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

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

في هذا الدرس

threat-model the Larkspur assistant and turn findings into design controls. This prepares ARC-046-LAB1.

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

خطوة بخطوة

  1. Draw the data flow: customer or staff user, assistant service, retrieval over product, order, and policy content, model provider, tool gateway to order and refund services, logs.
  2. Mark trust boundaries: user to service, service to provider, tool gateway to internal systems.
  3. Planned mistake: rely on the system prompt ("never reveal card numbers"). A tester pastes a card number into chat and an injected instruction in a product review makes the assistant echo it. Fix: mask card patterns at the input filter and never log them, filter outputs, and keep card data out of retrieved content.
  4. List threats per boundary (injection, cross-customer leakage, over-powered refund tool, provider retention, log exposure) with a control and owner for each.
  5. Add residual risks and test cases to the assurance plan, and record the decisions.
  6. Review with the role-played security and privacy officer and confirm no payment card data can reach the model.

اختبر فهمك

What was the planned mistake?

أظهر الإجابة

Relying on the prompt as the control instead of enforcing masking and filtering in the architecture.

التطبيق

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

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

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

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