Logo di Auditing Iac Module And Provider Supply Chain

Auditing Iac Module And Provider Supply Chain

Organizzazione
UnboundCompute
auditing-iac-module-and-provider-supply-chain

Verifica la catena di fornitura dei moduli e dei provider Infrastructure as Code, individuando i componenti eseguiti durante plan o apply: un modulo ottenuto da una posizione non bloccata a una versione specifica o influenzabile da un attaccante, un provider o plugin scaricato da un registry senza verifica dell'integrità, un modulo che esegue comandi locali o recupera contenuti remoti durante la pianificazione e un lockfile mancante, ignorato o non applicato in CI. La skill riguarda Terraform e strumenti dichiarativi simili, in cui moduli o provider vengono eseguiti con le credenziali di chi applica la configurazione. Usala quando l'infrastruttura viene creata a partire da moduli e provider di terze parti o condivisi e l'identità usata per l'apply ha privilegi elevati. La sorgente del modulo o del provider non attendibile è la sorgente, l'esecuzione di plan o apply è la destinazione e il bug consiste nell'eseguire codice con le credenziali di chi applica la configurazione senza verificarne l'integrità.

Panoramica

Pubblicato daUnboundCompute
Repositorysecurity-agent-skills
Nome della skillauditing-iac-module-and-provider-supply-chain
Stelle
27
Fork
8
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da UnboundCompute su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Auditing Iac Module And Provider Supply Chain in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-iac-module-and-provider-supply-chain
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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-iac-module-and-provider-supply-chain .claude/skills/auditing-iac-module-and-provider-supply-chain
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Auditing Iac Module And Provider Supply Chain in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Auditing Iac Module And Provider Supply Chain non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Auditing Iac Module And Provider Supply Chain non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Auditing IaC module and provider supply chain: when planning runs someone else's code

Infrastructure-as-code feels declarative, but modules and providers are code, and they run with the credentials of whoever plans or applies them, which in a pipeline is usually a highly privileged identity. That makes the module and provider supply chain a direct path to those credentials. A module sourced from an unpinned reference can change under you between runs; a provider or plugin pulled without integrity verification can be swapped at the registry; a module that shells out or fetches remote content during planning executes on the runner before anyone reviews an apply; and a lockfile that is absent or not enforced lets the resolved versions drift. The declarative surface hides that a plan is an execution. You audit this by finding where module and provider code enters and whether its source and integrity are pinned.

When to use

  • Infrastructure is built from third-party or shared modules and from providers pulled at init time.
  • Module sources or provider versions are unpinned, or a dependency lockfile is missing or unenforced.
  • Plan or apply runs in CI with a privileged identity, so executing module code reaches real credentials.

Scope check

Audit IaC supply chain only for infrastructure and pipelines you own or are authorized to assess, on non-production state. Confirming that a module executes at plan time runs code on the runner, so keep any proof benign and inside the authorized pipeline. If you can't name the authorization, stop.

The loop

  1. Establish the apply identity and its power first. Name the credentials that plan and apply run under and what they can do in the environment. This is the false-positive killer that sets severity: an unpinned module matters far more when apply holds broad cloud permissions than when it is tightly scoped. Name the identity, then trace what code runs under it.

  2. Inventory every module and provider source. List where each module comes from (a registry, a version- control reference, a local path) and every provider or plugin the configuration pulls. Each external source is code that will run under the apply identity. Distinguish first-party internal modules from third-party ones, since the trust question differs.

  3. Check source and version pinning. For each module, confirm the source is pinned to an immutable reference (a specific version or a commit digest), not a mutable branch or a bare registry name that can resolve to a new release. For each provider, confirm the version is pinned and the dependency lockfile records and enforces the exact provider hashes. An unpinned source can change between runs without review.

  4. Find code that executes during plan. Some module constructs run at planning time: local command execution, data sources that shell out, and provisioners or external programs that fetch or run content. These execute before an apply is even approved, so a malicious or compromised module reaches the runner's credentials during a plan. Locate every such construct and whether it takes untrusted input.

  5. Check lockfile enforcement in CI. A lockfile only helps if CI initializes against it and fails when the resolved hashes do not match, rather than regenerating it silently. Confirm the pipeline enforces the lockfile, verifies provider integrity, and does not auto-upgrade. An ignored lockfile is no lockfile.

  6. Confirm and record. Confirm by showing an unpinned module reference resolves to changeable content, or that a plan executes a benign marker command from a module under the apply identity, within the authorized pipeline and without a destructive payload. Kill the lead if every module and provider source is pinned to an immutable reference, the lockfile is enforced with integrity verification in CI, and no plan-time construct runs untrusted code. Record the source, the plan or apply sink, and the unpinned or executing dependency.

Where IaC supply chain leaks

  • A plan is an execution. Modules and providers run with the applier's credentials, so planning is not a safe read-only step when the source is untrusted.
  • An unpinned source changes under you. A mutable branch or a bare registry reference can resolve to new content between runs with no review.
  • Plan-time command execution reaches the runner early. A module that shells out during planning runs before any apply approval gate.
  • A provider is code with credentials. An unpinned or unverified provider plugin executes at init and apply with the same power as the configuration.
  • An unenforced lockfile is decoration. If CI regenerates or ignores it, the pinned versions drift and the integrity guarantee is lost.

Worked example (a confirm and a kill)

Confirm. A pipeline consumes a shared module referenced by a mutable branch, and the module includes a data source that executes a local command during plan. The plan runs in CI under a privileged apply role. Pointing the branch at updated content runs a benign marker command under the apply role at plan time, before any approval. Confirmed IaC supply-chain execution under the apply identity, high, remediation = pin the module to an immutable commit digest, remove or sandbox the plan-time command execution, and gate the apply role behind approval that the plan cannot bypass.

Kill. Every module is pinned to a commit digest and every provider to a version recorded in an enforced lockfile with hash verification in CI, no module runs commands or fetches remote content at plan time, and the apply identity is scoped to the resources the configuration manages. A changed upstream cannot alter a run without a reviewed pin bump. Killed, kill_reason = "modules and providers pinned to immutable references with an enforced lockfile, no plan-time code execution, and a scoped apply identity; no untrusted code runs under the applier's credentials."

Rationalizations to reject

  • "Terraform is declarative, plan is read-only." → Plan runs module code, data sources, and providers; a plan-time command executes on the runner under the apply identity.
  • "The module is from our registry." → Confirm it is pinned to an immutable version; a bare registry name can resolve to a new, unreviewed release.
  • "We have a lockfile." → Confirm CI enforces it with integrity verification and does not regenerate it; an ignored lockfile pins nothing.
  • "Providers come from the official registry." → Official does not mean integrity-pinned for your run; pin the version and verify the hash in the lockfile.
  • "Apply is gated by approval." → Check that plan-time execution cannot reach credentials before the gate; the gate protects apply, not planning.

Executing this in practice

You need the plan and apply identity and its power, every module and provider source, the pinning of each, the plan-time execution constructs, and the lockfile enforcement in CI. For each dependency, ask whether its source and integrity are pinned and whether it runs code before an apply gate. Reading the sources and the lockfile shows the intended trust; showing an unpinned reference resolve to changed content, or a plan-time marker command run, shows whether the boundary holds.

Related

  • hunting-supply-chain-risks - the general dependency-trust discipline; IaC modules and providers are a specific, credential-bearing case of it.
  • auditing-cicd-oidc-trust - the pipeline identity that plan and apply run under is often a federated cloud role; scope it there and here together.
  • hunting-cicd-workflow-injection - attacker-controlled repository data reaching a privileged run step is the same runner-credential threat from the workflow side.
  • auditing-infrastructure-as-code-exposures - the effective-config side: what the resources declare, once the module and provider supply chain is trusted.
  • FINDING-SCHEMA.md - source = the untrusted module or provider source, sink = the plan or apply execution, evidence = the unpinned or plan-time-executing dependency under the apply identity.

Domande frequenti

Cosa fa la skill IA Auditing Iac Module And Provider Supply Chain?

Verifica la catena di fornitura dei moduli e dei provider Infrastructure as Code, individuando i componenti eseguiti durante plan o apply: un modulo ottenuto da una posizione non bloccata a una versione specifica o influenzabile da un attaccante, un provider o plugin scaricato da un registry senza verifica dell'integrità, un modulo che esegue comandi locali o recupera contenuti remoti durante la pianificazione e un lockfile mancante, ignorato o non applicato in CI. La skill riguarda Terraform e strumenti dichiarativi simili, in cui moduli o provider vengono eseguiti con le credenziali di ch...

Perché usare Auditing Iac Module And Provider Supply Chain su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Auditing Iac Module And Provider Supply Chain è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Auditing Iac Module And Provider Supply Chain in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-iac-module-and-provider-supply-chain. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Auditing Iac Module And Provider Supply Chain?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Auditing Iac Module And Provider Supply Chain?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Auditing Iac Module And Provider Supply Chain: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Auditing Iac Module And Provider Supply Chain è gratuita?

Sì. È pubblicata su GitHub da UnboundCompute con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇