Logo van Auditing Cicd Oidc Trust

Auditing Cicd Oidc Trust

Organisatie
UnboundCompute
auditing-cicd-oidc-trust

Controleer continuous-integrationpipelines op het vertrouwen dat ze stellen in niet-vertrouwde invoer: workflows die draaien op binnenkomende wijzigingsverzoeken vanuit forks terwijl ze toegang hebben tot repositorygeheimen, stappen waardoor door een aanvaller gecontroleerde inhoud bij een bevoorrecht commando terechtkomt, en cloudrolvoorwaarden die het kort geldige token van een pipeline te ruim accepteren. Dit omvat blootstelling van geheimen en tokens tijdens runs die door forks worden gestart, uitvoering van vergiftigde pipelines en te ruim vertrouwen op de identiteitsclaim waarmee een pipeline zich bij een cloudaccount identificeert. Gebruik dit bij het beoordelen van CI/CD-configuratie, pipeline-identiteit of de grens tussen een build en de cloud die deze kan bereiken. Een token of commando dat via niet-vertrouwde invoer kan worden misbruikt, is de bevinding.

Overzicht

UitgeverUnboundCompute
Repositorysecurity-agent-skills
Skillnaamauditing-cicd-oidc-trust
Sterren
27
Forks
8
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door UnboundCompute op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Auditing Cicd Oidc Trust in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-cicd-oidc-trust
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Auditing Cicd Oidc Trust in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Auditing Cicd Oidc Trust automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Auditing Cicd Oidc Trust niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill Auditing Cicd Oidc Trust?

Controleer continuous-integrationpipelines op het vertrouwen dat ze stellen in niet-vertrouwde invoer: workflows die draaien op binnenkomende wijzigingsverzoeken vanuit forks terwijl ze toegang hebben tot repositorygeheimen, stappen waardoor door een aanvaller gecontroleerde inhoud bij een bevoorrecht commando terechtkomt, en cloudrolvoorwaarden die het kort geldige token van een pipeline te ruim accepteren. Dit omvat blootstelling van geheimen en tokens tijdens runs die door forks worden gestart, uitvoering van vergiftigde pipelines en te ruim vertrouwen op de identiteitsclaim waarmee een...

Waarom Auditing Cicd Oidc Trust gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Auditing Cicd Oidc Trust bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Auditing Cicd Oidc Trust in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-cicd-oidc-trust. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Auditing Cicd Oidc Trust gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Auditing Cicd Oidc Trust gebruiken?

Zoveel als je wilt. Je kunt Auditing Cicd Oidc Trust gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Auditing Cicd Oidc Trust gratis?

Ja. Deze skill is door UnboundCompute op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇