Logotipo de Auditing Container Image Provenance

Auditing Container Image Provenance

Organización
UnboundCompute
auditing-container-image-provenance

Audit how a cluster decides which container images to trust and run: an image referenced by a mutable tag rather than a content digest, a workload pulling from a registry that admits unsigned or unverified images, a signature or attestation policy that is configured but not enforced at admission, and a base image or layer whose origin the pipeline never verified. Covers Kubernetes and container platforms where the image a workload runs is the code that runs, and where tag mutability, signing, and provenance decide whether it is the intended artifact. Use when workloads pull images whose signing and provenance are not enforced end to end. The unverified image reference is the source, the running container is the sink, and the code that runs without proven provenance is the bug.

Descripción general

EditorUnboundCompute
Repositoriosecurity-agent-skills
Nombre de la habilidadauditing-container-image-provenance
Estrellas
27
Forks
8
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por UnboundCompute en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Auditing Container Image Provenance en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-container-image-provenance
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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-container-image-provenance .claude/skills/auditing-container-image-provenance
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Auditing Container Image Provenance en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Auditing Container Image Provenance automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Auditing Container Image Provenance no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Auditing container image provenance: when the tag is not the artifact

The image a workload runs is the code it runs, and a container reference is only a promise about which bytes those are. A mutable tag can point at different content over time, so a workload pinned to a tag runs whatever that tag resolves to at pull time, not the artifact that was reviewed. Signing and provenance attestation exist to close that gap, but only if they are enforced at admission rather than merely produced in the pipeline: a signature nobody verifies is decoration, and an attestation the cluster does not require proves nothing to the cluster. The failure is quiet because the workload starts and runs; the question is whether what it runs is provably the artifact you intended. You audit this by tracing each workload's image reference back to a verified digest and confirming the cluster refuses anything unproven.

When to use

  • Workloads reference images by mutable tags rather than immutable content digests.
  • Image signing or provenance attestation is produced but may not be enforced at admission.
  • Images are pulled from registries or base images whose origin the pipeline does not verify.

Scope check

Audit image provenance only for clusters, registries, and pipelines you own or are authorized to assess. A confirming test may push a benign image or retag one in a registry you control, so stay inside the authorized registry and remove any test artifact. If you can't name the authorization, stop.

The loop

  1. Establish the intended artifact and its proof first. Name, for each workload, exactly which image it is supposed to run and how that is proven: a content digest, a signature by a trusted key, a provenance attestation. This is the false-positive killer: a workload pinned to a digest whose signature and provenance the cluster verifies at admission is running a proven artifact. Name the intended proof, then check whether the reference and enforcement provide it.

  2. Check tag versus digest references. For each workload, determine whether the image is referenced by a mutable tag or an immutable digest. A tag can be repointed, so a tag reference runs whatever content the tag resolves to at pull time. A digest reference fixes the content; a tag reference does not, and is the first provenance gap.

  3. Confirm signing enforcement at admission. Determine whether the cluster requires a valid signature from a trusted key before running an image, or merely that signatures are produced somewhere. Enforcement lives at admission: if unsigned or unknown-key images are admitted, signing is not a control. Confirm the trusted keys and that verification is mandatory, not advisory.

  4. Check provenance attestation and its enforcement. Where build provenance or an SBOM attestation is expected, confirm the cluster requires it and validates it against policy (the expected builder, source, and materials), not just that an attestation exists. An attestation nobody checks does not constrain what runs.

  5. Trace base images and registry trust. Follow where images and their base layers come from. A workload pulling from a registry that admits unsigned images, or built on a base image whose origin was never verified, inherits that registry's or base's trust. Confirm the registries in use enforce provenance and that base images are pinned and verified.

  6. Confirm and record. Confirm by running, or getting admitted, an image the policy should reject, an unsigned image, an image at a repointed tag, or one lacking required provenance, in a non-production namespace against a registry you control, and removing it after. Kill the lead if every workload pins a digest, the cluster enforces trusted-key signatures and required provenance at admission, and base images and registries are verified. Record the unverified reference, the running-container sink, and the missing proof of provenance.

Where image provenance leaks

  • A mutable tag is not the artifact. A tag can be repointed after review, so a tag-referenced workload runs whatever the tag resolves to at pull time.
  • Signatures without enforcement prove nothing. A signature produced in the pipeline but not verified at admission does not stop an unsigned or wrong-key image from running.
  • Attestations nobody requires are decoration. Build provenance the cluster does not validate against policy places no constraint on what runs.
  • A permissive registry admits anything. Pulling from a registry that does not enforce provenance inherits its lack of trust.
  • Unverified base images poison the top layer. A trusted application layer on an unverified base still runs the base's code.

Worked example (a confirm and a kill)

Confirm. Workloads reference images by a moving tag, and admission control checks image names but does not verify signatures. Repointing the tag in a registry the tester controls to a benign but different image, then triggering a redeploy, runs the new content with no signature check. Confirmed unverified image provenance to running container, high, remediation = pin workloads to content digests, enforce trusted-key signature verification and required build provenance at admission, and pull only from registries that enforce provenance.

Kill. Every workload pins an image by content digest, admission requires a valid signature from a trusted key and a build-provenance attestation validated against the expected builder and source, base images are pinned and verified, and the registries in use reject unsigned images. An image at a repointed tag or without a required signature is refused at admission. Killed, kill_reason = "workloads pinned to verified digests with trusted-key signing and provenance enforced at admission and verified base images; no unproven image reaches a running container."

Rationalizations to reject

  • "We use a specific tag." → A tag is mutable; it can be repointed after review. Pin the content digest, or the reference proves nothing about the bytes.
  • "Our images are signed." → Signed is not verified; confirm the cluster rejects unsigned and wrong-key images at admission, or the signature is decoration.
  • "We generate SBOMs and provenance." → Producing an attestation is not requiring one; confirm the cluster validates it against policy before running.
  • "It is from our registry." → Confirm the registry enforces provenance and the base image origin is verified; a private registry can still hold an unverified image.
  • "The image ran fine." → Running proves it started, not that it is the intended artifact; provenance is about which bytes ran, not whether they ran.

Executing this in practice

You need each workload's image reference (tag or digest), the admission enforcement for signatures and provenance with the trusted keys and expected builder, the registries in use and their provenance posture, and the base-image origins. For each workload, trace the reference back to a verified digest and confirm the cluster refuses anything unproven. Reading the workload specs and admission policy shows the intended trust; getting an unproven image admitted against a controlled registry shows whether it holds.

Related

  • auditing-admission-control-policy-gaps - the enforcement mechanism this skill relies on; a provenance policy is only as strong as the admission gate that applies it.
  • hunting-supply-chain-risks - the broader artifact-provenance discipline; container images are one credential-bearing, directly-executed case of it.
  • auditing-container-image-build-hardening - the build side: how the image is produced and what it embeds, the upstream half of proving what a workload runs.
  • auditing-iac-module-and-provider-supply-chain - the same pin-and-verify discipline for infrastructure code that this skill applies to images.
  • FINDING-SCHEMA.md - source = the unverified image reference, sink = the running container, evidence = the missing proof of provenance.

Preguntas frecuentes

¿Qué hace la habilidad de IA Auditing Container Image Provenance?

Audit how a cluster decides which container images to trust and run: an image referenced by a mutable tag rather than a content digest, a workload pulling from a registry that admits unsigned or unverified images, a signature or attestation policy that is configured but not enforced at admission, and a base image or layer whose origin the pipeline never verified. Covers Kubernetes and container platforms where the image a workload runs is the code that runs, and where tag mutability, signing, and provenance decide whether it is the intended artifact. Use when workloads pull images whose sig...

¿Por qué usar Auditing Container Image Provenance en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Auditing Container Image Provenance está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Auditing Container Image Provenance en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-container-image-provenance. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Auditing Container Image Provenance?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Auditing Container Image Provenance?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Auditing Container Image Provenance con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Auditing Container Image Provenance?

Sí. UnboundCompute la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇