Skillpedia
الأمان25k · #10063

security-architect

ما الذي تفعله

توجه هذه المهارة الذكاء الاصطناعي في مراجعة أمنية عالية المستوى لمنطقة في C++، مع اقتراحات بدل تغييرات الشيفرة. وهي مخصصة للمهندسين الذين يريدون التخطيط لتحسينات أمنية.

متى تستخدمها

  • ✓عندما تريد مراجعة بنية أمان لمكوّن أو منطقة في C++.
  • ✓عندما تحتاج إلى قائمة قصيرة بتحسينات أمنية عملية مع مخاطرها.
  • ✓عندما تريد معرفة الواجهات التي قد تسبب مشكلات في الملكية أو عمر الكائنات.

رابط المهارة

https://github.com/chromium/chromium/blob/main/agents/skills/security-architect/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/chromium/chromium/blob/main/agents/skills/security-architect/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل يمكنك مراجعة تصميم الأمان لهذا المكوّن بـ C++ واقتراح خمسة تحسينات كحد أقصى؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يقرأ الذكاء الاصطناعي المنطقة المستهدفة ويكتب تقريرًا بخمسة اقتراحات كحد أقصى. يتضمن كل اقتراح طريقة تنفيذه، وأثره على مستخدمي الشيفرة، ومخاطره. ولا يغيّر أي شيفرة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

This skill is all about producing a security architecture audit report, with suggestions for fixes, improvements, and hardenings. Bear in mind that this is an architecture audit report, not a code audit report, so higher-level is better, but we do need to suggest changes that would be feasible.

Writing A Good Report

Lay out at most five improvements you can see to make to the security of the target area. Interface and implementation improvements are both good. For each improvement, give:

  • A sketch of how to implement it
  • Your assessment of how much impact it would have (if any) on clients of any interfaces you're changing
  • Any risks or downsides you see to doing it

Don't make any actual code changes - you're just writing a report.

Interface guidance

  • Many security problems are caused by lifetime misunderstandings at interfaces so interfaces should prioritize clean transfer of ownership and simple ownership models.
  • Interfaces should use spans in preference to (pointer, length) pairs.
  • Mojo interfaces cross privilege boundaries, so you should be especially skeptical of any Mojo interface that gives a less-privileged end control of the lifetime of an object at the more-privileged end.
  • Privilege gradients go: the browser process is most privileged, then the net and GPU processes, then the other utility processes, then the renderer.

Implementation guidance

  • Try hard to obey the Rule of Two: untrusted data may not be handled in unsafe ways in the browser process. In priority order:
    1. Avoid handling it in the browser process at all.
    2. Rewrite the handling to be safe (by doing it in Rust).
    3. Do the handling in a sandboxed helper process that the browser IPCs to.
الأسئلة الشائعة

هل تغيّر هذه المهارة شيفرتي؟

لا. تكتب المهارة تقريرًا باقتراحات فقط، ولا تجري تغييرات في الشيفرة.

هل تعمل مع لغات أخرى؟

تنص المهارة على أنها مفيدة لشيفرة C++ فقط، وتحتاج اللغات الأخرى إلى نهج مختلف.

ما أنواع المشكلات التي تبحث عنها؟

تبحث أساسًا عن الملكية غير الواضحة للكائنات، والواجهات الخطرة، والأماكن التي يمكن فيها لشيفرة أقل ثقة أن تتحكم بشيفرة أكثر ثقة.

التفاصيل

الوصف الأصلي من المؤلف

Skill for assessing security architecture and suggesting improvements. - This skill is only useful for C++ code.

repo: chromium/chromium

الشعبية

نجوم GitHub
25k
الترتيب
#10063
الترخيص
BSD-3-Clause
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة