Logo von Auditing Init And Sidecar Injection Trust

Auditing Init And Sidecar Injection Trust

Organisation
UnboundCompute
auditing-init-and-sidecar-injection-trust

Prüfen Sie Init- und Sidecar-Container eines Workloads – einschließlich solcher, die von einem mutierenden Admission-Webhook injiziert werden – auf Vertrauensrechte, die der Hauptcontainer nie eingeräumt hat. Dazu zählen ein injizierter Sidecar mit umfassenderen Berechtigungen, Hostzugriff oder Zugangsdaten als der Workload, ein Init-Container, der vor dem Start der Anwendung Inhalte aus dem Internet abruft und ausführt, ein gemeinsam genutztes Volume oder ein gemeinsamer Prozess-Namespace, über den ein Sidecar die Geheimnisse des Hauptcontainers lesen kann, sowie eine Injektion, deren Image und Konfiguration aus einer Quelle stammen, die der Workload-Besitzer nicht kontrolliert. Abgedeckt werden Kubernetes-Pods, in denen deklarierte oder per Webhook injizierte Init- und Sidecar-Container gemeinsam mit der Anwendung ausgeführt werden. Verwenden Sie diesen Skill, wenn Pods Init- oder Sidecar-Container ausführen, insbesondere injizierte. Der injizierte oder zusätzliche Container ist die Quelle, die Pod-Ressource oder Zugangsdaten, auf die er zugreift, sind das Ziel. Der Fehler besteht in weiterreichenden Berechtigungen, als der Hauptcontainer besitzt.

Übersicht

HerausgeberUnboundCompute
Repositorysecurity-agent-skills
Skill-Nameauditing-init-and-sidecar-injection-trust
Sterne
27
Forks
8
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von UnboundCompute auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Auditing Init And Sidecar Injection Trust in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-init-and-sidecar-injection-trust
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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-init-and-sidecar-injection-trust .claude/skills/auditing-init-and-sidecar-injection-trust
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Auditing Init And Sidecar Injection Trust in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Auditing Init And Sidecar Injection Trust automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Auditing Init And Sidecar Injection Trust nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Auditing init and sidecar injection trust: the containers you did not write share your pod

A pod is not just its application container. Init containers run first, sidecars run alongside, and many are injected automatically by a mutating admission webhook that the workload owner never sees in their manifest. All of them share the pod: the same network namespace, often shared volumes, sometimes the process namespace, and they can be granted their own security context and credentials. That makes every init and sidecar container a trust question the main container did not ask. An injected sidecar may run privileged or with host access the app never needed; an init container may fetch and execute remote content before the app starts; a shared secret volume or process namespace lets a sidecar read the application's secrets; and the injected image and its configuration may come from a source outside the workload owner's control. The pod looks like one workload but is a collection of containers with different privileges and origins. You audit this by enumerating every init and sidecar container, declared and injected, and checking what trust each holds.

When to use

  • Pods run init or sidecar containers, especially ones injected by a mutating admission webhook.
  • An injected or auxiliary container may run with broader privilege, host access, or credentials than the app.
  • Init containers fetch or execute content, or sidecars share volumes or namespaces with the main container.

Scope check

Audit init and sidecar trust only on clusters and workloads you own or are authorized to assess, on non-production pods. Confirming a sidecar can read the app's secrets or that an init container executes remote content touches real workloads, so use non-production pods and do not exfiltrate anything you surface. If you can't name the authorization, stop.

The loop

  1. Establish the workload's intended trust first. Name what the application container is supposed to run with: its privilege level, its credentials, its host access. This is the false-positive killer: a pod whose init and sidecar containers run at or below the app's privilege, from controlled images, sharing nothing sensitive, is fine. Name the intended trust, then check each auxiliary container against it.

  2. Enumerate every init and sidecar container, including injected ones. List the containers actually in the pod at runtime, not just those in the authored manifest, since a mutating webhook may add sidecars. For each, note its image source, security context, credentials, and mounts. An injected container the owner did not declare is the one most likely to hold unexpected trust.

  3. Compare each auxiliary container's privilege to the app. For each init and sidecar container, check whether it runs privileged, adds capabilities, shares a host namespace, or mounts host paths that the main container does not. A sidecar with broader privilege than the app raises the pod's whole blast radius to that sidecar's level.

  4. Check init containers that fetch or execute content. For each init container, determine whether it downloads and runs remote content, applies configuration from an external source, or executes a script before the app starts. An init container that pulls and executes untrusted content runs attacker-influencable code in the pod before the application even begins.

  5. Check shared volumes and namespaces for secret reach. Determine which volumes and namespaces the auxiliary containers share with the main container. A sidecar that mounts the app's secret volume or shares its process namespace can read the application's secrets and memory. Confirm sensitive mounts and namespaces are not shared with a less-trusted sidecar.

  6. Confirm and record. Confirm by showing an init or sidecar container holds trust the app did not grant: a sidecar reading the app's secret, an injected container running privileged, or an init container executing remote content, on non-production pods and without exfiltrating. Kill the lead if every init and sidecar container, declared and injected, runs at or below the app's privilege from a controlled image, shares no sensitive volume or namespace, and executes no untrusted content. Record the auxiliary container source, the pod resource or credential sink, and the trust it held beyond the main container.

Where init and sidecar trust leaks

  • Injected sidecars are invisible in the manifest. A mutating webhook adds containers the owner never declared, so the authored spec understates the pod's trust.
  • A sidecar can out-privilege the app. A sidecar running privileged or with host access raises the pod's blast radius above the application's own security context.
  • Init containers can fetch and execute. An init container that pulls and runs remote content executes attacker-influencable code before the app starts.
  • Shared volumes and namespaces expose secrets. A sidecar that mounts the app's secret volume or shares its process namespace reads the application's secrets and memory.
  • Injected images come from elsewhere. The injected image and its configuration may originate from a source the workload owner does not control or verify.

Worked example (a confirm and a kill)

Confirm. A mutating webhook injects a sidecar into every pod in a namespace. The injected sidecar runs privileged and mounts the application's secret volume, and its image comes from a registry the workload owner does not control. From the sidecar, a process reads the application's database credential the app never shared with it. Confirmed injected-sidecar trust beyond the workload, high, remediation = scope the injected sidecar to the minimum privilege it needs, stop it from mounting the app's secret volume, and pin and verify the injected image from a controlled source.

Kill. Every init and sidecar container in the pod, including the webhook-injected ones, runs unprivileged at or below the app's security context from pinned, verified images the owner controls, none mounts the application's secret volume or shares its process namespace, and no init container fetches or executes remote content. No auxiliary container holds trust the app did not grant. Killed, kill_reason = "all init and sidecar containers run at or below app privilege from controlled images with no shared secret volume or namespace and no remote execution; no injected container exceeds the workload's trust."

Rationalizations to reject

  • "The manifest only has one container." → A mutating webhook may inject more at runtime; enumerate the containers actually in the pod, not just the authored spec.
  • "The sidecar is from the platform team." → Confirm its privilege, image source, and mounts; a trusted team's sidecar can still out-privilege the app or read its secrets.
  • "Init containers just set things up." → If an init container fetches and runs remote content, it executes code in the pod before the app; check what it pulls and runs.
  • "They are in the same pod, sharing is fine." → Sharing a secret volume or process namespace lets a less-trusted sidecar read the app's secrets; scope what is shared.
  • "The injected image is standard." → Confirm it is pinned and from a source you verify; an injected image from elsewhere runs in your pod with whatever trust it is granted.

Executing this in practice

You need the full runtime list of init and sidecar containers including injected ones, each container's image source, security context, credentials, and mounts, whether any init container fetches or executes content, and the shared volumes and namespaces. For each auxiliary container, compare its trust to the application's. Reading the runtime pod spec and the mutating webhook configuration shows the granted trust; showing a sidecar reach the app's secret or an init container execute remote content shows whether the boundary holds.

Related

  • hunting-container-escape-surface - the privilege and host-access settings this skill checks on auxiliary containers are the same escape surface, viewed per injected container.
  • auditing-admission-control-policy-gaps - the mutating webhook that injects sidecars is admission machinery; a gap there is how an untrusted injection gets in.
  • auditing-workload-secret-exposure-surface - the shared-volume secret reach a sidecar exploits is that skill's subject, here caused by an injected neighbor.
  • auditing-container-image-provenance - the injected sidecar's image provenance question; an unverified injected image runs in your pod.
  • FINDING-SCHEMA.md - source = the injected or auxiliary container, sink = the pod resource or credential it reaches, evidence = the trust it held beyond the main container.

Häufig gestellte Fragen

Was macht der KI-Skill Auditing Init And Sidecar Injection Trust?

Prüfen Sie Init- und Sidecar-Container eines Workloads – einschließlich solcher, die von einem mutierenden Admission-Webhook injiziert werden – auf Vertrauensrechte, die der Hauptcontainer nie eingeräumt hat. Dazu zählen ein injizierter Sidecar mit umfassenderen Berechtigungen, Hostzugriff oder Zugangsdaten als der Workload, ein Init-Container, der vor dem Start der Anwendung Inhalte aus dem Internet abruft und ausführt, ein gemeinsam genutztes Volume oder ein gemeinsamer Prozess-Namespace, über den ein Sidecar die Geheimnisse des Hauptcontainers lesen kann, sowie eine Injektion, deren Imag...

Warum Auditing Init And Sidecar Injection Trust in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Auditing Init And Sidecar Injection Trust besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Auditing Init And Sidecar Injection Trust in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-init-and-sidecar-injection-trust ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Auditing Init And Sidecar Injection Trust nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Auditing Init And Sidecar Injection Trust verwenden?

So viele Sie möchten. In TypingMind können Sie Auditing Init And Sidecar Injection Trust mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Auditing Init And Sidecar Injection Trust kostenlos?

Ja. Der Skill wird von UnboundCompute auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇