شعار Auditing Cicd Oidc Trust

Auditing Cicd Oidc Trust

مؤسسة
UnboundCompute
auditing-cicd-oidc-trust

دقّق في خطوط التكامل المستمر لتحديد مدى الثقة التي تمنحها لمدخلات غير موثوقة: مثل سير العمل الذي يُشغَّل عند ورود طلبات تغيير من تفرعات المستودع، مع احتفاظه بأسرار المستودع، والخطوات التي تسمح لمحتوى يتحكم فيه المهاجم بالوصول إلى أمر ذي صلاحيات، وشروط الثقة لأدوار السحابة التي تقبل على نطاق واسع أكثر من اللازم رمزًا قصير الأجل تصدره إحدى مراحل خط الأنابيب. يشمل ذلك كشف الأسرار والرموز في عمليات التشغيل التي تُفعّلها تفرعات المستودع، وتنفيذ خط أنابيب مسموم، واتساع نطاق الثقة في مطالبة الهوية التي يقدمها خط الأنابيب لحساب سحابي. استخدم هذه المهارة عند مراجعة إعدادات CI/CD، أو هوية خط الأنابيب، أو الحدود بين عملية البناء والسحابة التي يمكنها الوصول إليها. يُعدّ الرمز أو الأمر القابل للاستغلال والناتج عن مدخل غير موثوق هو موضع الخلل.

نظرة عامة

الناشرUnboundCompute
المستودعsecurity-agent-skills
اسم المهارةauditing-cicd-oidc-trust
النجوم
27
التفريعات
8
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها UnboundCompute على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Auditing Cicd Oidc Trust في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-cicd-oidc-trust
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-cicd-oidc-trust .claude/skills/auditing-cicd-oidc-trust
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Auditing Cicd Oidc Trust في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Auditing Cicd Oidc Trust تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Auditing Cicd Oidc Trust بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Auditing CI/CD OIDC trust: the pipeline is an identity, treat its inputs as hostile

A modern pipeline is a privileged identity. It holds secrets, and it presents a short-lived token that a cloud account trusts and exchanges for real credentials. The danger is that the same pipeline also runs code and content that outsiders can influence: a change request from a fork, a dependency, a script in the repository. When untrusted input reaches a privileged step, or when the cloud trusts the pipeline's token too broadly, an outsider borrows the pipeline's identity. The audit is about where untrusted input meets pipeline privilege.

When to use

  • You are reviewing CI/CD workflows, their triggers, and their secret and token access.
  • A pipeline exchanges a short-lived identity token for cloud credentials.
  • Any workflow runs on input from forks or external contributors.

Scope check

Review pipeline configuration in repositories and accounts you own or are authorized to test. If you can't name the authorization, stop.

The loop

  1. Inventory triggers and what each run can reach. For every workflow, record what event starts it, whether that event can be caused by an outside contributor, and what the run holds: repository secrets, an identity token, write permission to the repository or a registry. A run that both accepts outside input and holds privilege is the shape to chase.

  2. Find fork-triggered runs that keep secrets. A workflow that runs on an incoming change from a fork and still receives repository secrets or a privileged token hands those to code the outsider proposed. Confirm which triggers expose secrets on untrusted content, rather than assuming the default is safe.

  3. Trace untrusted input to a privileged step. Follow attacker-influenced content, a change-request title, a branch name, a file in the fork, a dependency script, into any step that runs a command, publishes an artifact, or requests cloud credentials. Content that reaches a shell or a publish step is poisoned-pipeline execution.

  4. Read the cloud trust condition on the pipeline token. For each role the pipeline can assume, read the condition on the token it presents. Confirm the condition pins the specific repository and branch or environment, and the expected token audience. A condition that accepts any repository in the organization, any branch, or omits the audience trusts too much.

  5. Check what the borrowed identity can do. If untrusted input can reach the token, or the trust is too broad, determine what the exchanged cloud credentials grant. A tightly scoped deployment role limits the damage; a broad role turns a pipeline foothold into account access. This links straight to identity-graph escalation.

  6. Confirm and record. Confirm by driving untrusted input through the path in an authorized repository and observing a secret read, a credential minted, or a command run; or by showing the trust condition accepts a token it should not. Kill the lead if fork runs carry no secrets, untrusted input never reaches a privileged step, and every trust condition pins repository, branch, and audience. Record the trigger, the path, and the privilege reached.

Where pipeline trust leaks

  • Fork-triggered runs with secrets are the classic exposure. Untrusted content should never run in a context that holds the pipeline's privilege.
  • Content is code. A title, a branch name, or a filename that reaches a shell is an execution path, not just data.
  • The trust condition is the real access-control. A token is only as safe as the condition that decides which token a cloud account will exchange.
  • A pipeline foothold is worth what its role grants. Scope the assumed role, or a build compromise becomes an account compromise.

Worked example (a confirm and a kill)

Confirm. A workflow runs on incoming change requests from forks so it can post a preview, and that trigger receives repository secrets. A contributor opens a change whose build script reads the secrets and sends them to an external address. The run executes the fork's script with secrets present. Confirmed secret exfil on fork-triggered run, critical, remediation = run untrusted changes in a trigger that carries no secrets, and move any privileged step to a separate run gated on a trusted review.

Kill. Fork changes run only in a trigger with no secrets and no token, the privileged deploy runs on a trusted branch push, untrusted input is never interpolated into a shell, and the deploy role's trust condition pins the exact repository, branch, and token audience. Every attempt to reach a secret or mint a credential from a fork dead-ends. Killed, kill_reason = "no secrets on untrusted trigger, no untrusted input reaches a privileged step, trust condition pins repository, branch, and audience."

Rationalizations to reject

  • "Only maintainers can merge." → Exposure is at run time, not merge time. A fork-triggered run executes before anyone merges.
  • "It is just a preview build." → A preview build that holds secrets or a token is a privileged build. What it holds is what leaks.
  • "The token is short-lived." → Lifetime does not scope power. A broad trust condition exchanges that short-lived token for real credentials on demand.
  • "We pin the repository in the trust." → And the branch and the audience? A condition missing either accepts a token from a context you did not intend.

Executing this in practice

You need every workflow definition, its trigger semantics and secret and token access, the data flow from untrusted input to privileged steps, and the cloud trust conditions on each assumable role. A view that connects a trigger to the secrets it exposes and traces untrusted content to a command or credential request is ideal; driving the input through an authorized pipeline is the confirmation.

Related

  • hunting-iam-privilege-escalation-paths - what the borrowed pipeline identity can reach once its token is exchanged for cloud credentials.
  • hunting-supply-chain-risks - poisoned dependencies and pipeline execution as a broader class; this is the identity and trust-boundary slice.
  • finding-fail-open-flaws - a trust condition that accepts too much is the fail-open shape applied to pipeline identity.
  • FINDING-SCHEMA.md - source = untrusted input to the pipeline or a token the trust wrongly accepts, sink = the secret, credential, or command it reaches.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Auditing Cicd Oidc Trust؟

دقّق في خطوط التكامل المستمر لتحديد مدى الثقة التي تمنحها لمدخلات غير موثوقة: مثل سير العمل الذي يُشغَّل عند ورود طلبات تغيير من تفرعات المستودع، مع احتفاظه بأسرار المستودع، والخطوات التي تسمح لمحتوى يتحكم فيه المهاجم بالوصول إلى أمر ذي صلاحيات، وشروط الثقة لأدوار السحابة التي تقبل على نطاق واسع أكثر من اللازم رمزًا قصير الأجل تصدره إحدى مراحل خط الأنابيب. يشمل ذلك كشف الأسرار والرموز في عمليات التشغيل التي تُفعّلها تفرعات المستودع، وتنفيذ خط أنابيب مسموم، واتساع نطاق الثقة في مطالبة الهوية التي يقدمها خط الأنابيب لحساب سحابي. استخدم هذه المهارة عند مراجعة إعدادات CI/CD، أو هوية خط الأنابيب...

لماذا تستخدم Auditing Cicd Oidc Trust على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Auditing Cicd Oidc Trust عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Auditing Cicd Oidc Trust في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-cicd-oidc-trust. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Auditing Cicd Oidc Trust؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Auditing Cicd Oidc Trust؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Auditing Cicd Oidc Trust معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Auditing Cicd Oidc Trust مجانية؟

نعم. نشرها UnboundCompute على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇