Logo von Auditing S3 Object Ownership Trust

Auditing S3 Object Ownership Trust

Organisation
UnboundCompute
auditing-s3-object-ownership-trust

Prüfen Sie den Besitz von Objekten und den Zugriff auf einzelne Objekte im Object Storage auf Vertrauenslücken, die durch die Bucket-Richtlinie nicht abgedeckt sind: etwa ein Objekt, das von einem anderen Konto hochgeladen wurde und dessen Eigentum sowie ACL weiterhin diesem Konto gehören; ein Bucket, in dem Objekt-ACLs trotz restriktiver Bucket-Richtlinie weiterhin Zugriff gewähren; einen kontenübergreifenden Schreibvorgang, durch den ein Objekt entsteht, das der Bucket-Eigentümer nicht lesen kann oder das öffentlich freigegeben ist; sowie eine Richtlinie, die den Zugriff auf ein Präfix beschränkt, während eine ACL des Objekts diese Beschränkung außer Kraft setzt. Behandelt S3 und kompatible Speicher, bei denen Objektbesitz, Objekt-ACLs und Bucket-Richtlinien gemeinsam darüber entscheiden, wer die einzelnen Objekte lesen und kontrollieren kann. Verwenden Sie diesen Skill, wenn ein Bucket Objekte von mehreren Identitäten erhält und der Zugriff zentral geregelt werden soll. Die kontoübergreifende oder durch eine ACL berechtigte Identität ist die Quelle; das Lesen oder Kontrollieren des Objekts ist das Ziel. Der Fehler besteht in einem Zugriff, den die Bucket-Richtlinie nicht vorsieht.

Übersicht

HerausgeberUnboundCompute
Repositorysecurity-agent-skills
Skill-Nameauditing-s3-object-ownership-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 S3 Object Ownership 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-s3-object-ownership-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-s3-object-ownership-trust .claude/skills/auditing-s3-object-ownership-trust
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Auditing S3 Object Ownership 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 S3 Object Ownership 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 S3 Object Ownership 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 S3 object-ownership trust: when the object, not the bucket, decides access

Object stores let access be decided in more than one place, and that is where ownership trust breaks. A bucket policy is the central control most teams reason about, but each object also has an owner and, unless disabled, its own ACL, and a cross-account upload can land an object owned by the uploader rather than the bucket owner. The result is objects the bucket owner cannot fully control, ACLs that grant access the bucket policy meant to deny, and public grants riding on individual objects under a bucket that looks private. When a bucket receives objects from more than one principal, central governance is an assumption, not a fact. You audit these by checking who owns each object, whether object ACLs are still in force, and whether any object grants access the bucket policy did not intend.

When to use

  • A bucket receives objects from more than one principal, including cross-account or third-party writers.
  • Access is meant to be governed centrally by the bucket policy, but object ACLs may still be enabled.
  • Cross-account writes may land objects the bucket owner does not own or cannot fully read or control.

Scope check

Audit object ownership only in buckets and accounts you own or are authorized to assess, on non-production data. Confirming access reads or controls real objects, so stay inside the authorized bucket and treat any object contents as sensitive within scope. If you can't name the authorization, stop.

The loop

  1. Establish the intended access model first. Name who should read and control the objects in this bucket and how it is meant to be enforced: central bucket policy, single owner. This is the false-positive killer: a bucket with ownership enforced to the bucket owner and object ACLs disabled, governed only by the bucket policy, is correct. Name the intended model, then check whether ownership and ACLs match it.

  2. Determine object ownership across writers. For objects written by more than one principal, confirm who owns each. A cross-account upload can retain the uploader's ownership, leaving objects the bucket owner cannot fully control. Check whether bucket-owner-enforced ownership is set so every object is owned centrally, or whether uploader ownership persists.

  3. Check whether object ACLs are in force. If object ACLs are enabled, each object can grant access independently of the bucket policy. Determine whether ACLs are disabled (so the bucket policy is the sole control) or still active, and if active, whether any object ACL grants read or control to a principal, or to the public, that the bucket policy would deny.

  4. Reconcile the bucket policy with the per-object grants. A restrictive bucket policy does not override an object ACL that grants access; the two combine. Compare the effective access on individual objects to what the bucket policy intends, looking for objects reachable by a principal the policy excludes because an ACL admits them.

  5. Check cross-account write consequences. A cross-account writer can land an object the bucket owner cannot read, or attach a public-read grant, or create objects under a prefix the owner's policy assumed it controlled. Confirm that cross-account writes are constrained to grant ownership to the bucket owner and cannot carry an ACL that widens access.

  6. Confirm and record. Confirm by reading or controlling an object as a principal the bucket policy excludes but an ACL or ownership admits, or by showing a cross-account write lands an owner-unreadable or publicly-granted object, within scope and without exfiltrating data. Kill the lead if ownership is bucket-owner-enforced, object ACLs are disabled so the bucket policy is the sole control, and cross-account writes cannot widen access. Record the admitted principal, the object read or control sink, and the access the bucket policy did not intend.

Where object-ownership trust leaks

  • Object ownership can escape the bucket owner. A cross-account upload may keep uploader ownership, leaving objects the bucket owner cannot fully control.
  • Object ACLs override a restrictive bucket policy. If ACLs are enabled, an object grant admits access the bucket policy meant to deny; the two combine, not override.
  • A public object hides under a private bucket. An ACL public grant on one object exposes it even when the bucket looks locked down centrally.
  • Cross-account writes can be unreadable to the owner. An object the bucket owner does not own may be outside their read and lifecycle control.
  • Central governance is an assumption with multiple writers. The moment more than one principal writes, who owns and who can grant per object must be verified, not assumed.

Worked example (a confirm and a kill)

Confirm. A shared ingest bucket receives uploads from a partner account, object ACLs are enabled, and the partner's objects retain partner ownership with an ACL that grants read to a broad group. An object the bucket policy meant to keep internal is readable by a principal the policy excludes, via the object ACL. Confirmed object-ACL access beyond the bucket policy, high, remediation = enable bucket-owner-enforced ownership to disable object ACLs and centralize control, and require cross-account writes to grant ownership to the bucket owner without an access-widening ACL.

Kill. The bucket enforces bucket-owner ownership on every object, object ACLs are disabled so the bucket policy is the sole access control, and cross-account writers must grant full ownership to the bucket owner on upload. No object grants access the bucket policy excludes, and every object is owned and controlled centrally. Killed, kill_reason = "ownership bucket-owner-enforced with object ACLs disabled and cross-account writes ceding ownership; the bucket policy is the sole control and no object widens access."

Rationalizations to reject

  • "The bucket policy is restrictive." → An enabled object ACL combines with the policy and can grant access it denies; disable ACLs or reconcile every object.
  • "It is our bucket." → A cross-account upload can land an object you do not own and cannot fully control; confirm ownership per object.
  • "Nothing is public." → Check per-object ACLs; a public grant on a single object hides under a private-looking bucket.
  • "Only our partner writes to it." → A partner is a separate principal; their objects' ownership and ACLs decide access unless you enforce bucket-owner ownership.
  • "We set the policy centrally." → Central policy is not central control while object ACLs are enabled and cross-account ownership persists; verify both.

Executing this in practice

You need the intended access model, the object ownership across writers, whether object ACLs are enabled, the per-object grants reconciled against the bucket policy, and the cross-account write constraints. For the bucket, confirm ownership is enforced and ACLs disabled, or reconcile every object's effective access. Reading the ownership and ACL settings shows the intended control; reading an object as a policy-excluded principal shows whether it holds.

Related

  • auditing-presigned-url-scope-abuse - the signed-access companion; presigned URLs and object ACLs are two ways access escapes the bucket policy on individual objects.
  • auditing-infrastructure-as-code-exposures - the declared-configuration side; ownership enforcement and ACL disabling are settings that skill checks in the resource definitions.
  • auditing-multi-tenant-isolation - a shared bucket across tenants is an isolation boundary; object ownership is how that boundary is enforced or broken per object.
  • mapping-attack-surface - use it to find buckets that receive cross-account or third-party writes before auditing any one bucket's ownership.
  • FINDING-SCHEMA.md - source = the cross-account or ACL-granted principal, sink = the object read or control, evidence = the access the bucket policy did not intend.

Häufig gestellte Fragen

Was macht der KI-Skill Auditing S3 Object Ownership Trust?

Prüfen Sie den Besitz von Objekten und den Zugriff auf einzelne Objekte im Object Storage auf Vertrauenslücken, die durch die Bucket-Richtlinie nicht abgedeckt sind: etwa ein Objekt, das von einem anderen Konto hochgeladen wurde und dessen Eigentum sowie ACL weiterhin diesem Konto gehören; ein Bucket, in dem Objekt-ACLs trotz restriktiver Bucket-Richtlinie weiterhin Zugriff gewähren; einen kontenübergreifenden Schreibvorgang, durch den ein Objekt entsteht, das der Bucket-Eigentümer nicht lesen kann oder das öffentlich freigegeben ist; sowie eine Richtlinie, die den Zugriff auf ein Präfix be...

Warum Auditing S3 Object Ownership Trust in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Auditing S3 Object Ownership 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 S3 Object Ownership 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-s3-object-ownership-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 S3 Object Ownership 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 S3 Object Ownership Trust verwenden?

So viele Sie möchten. In TypingMind können Sie Auditing S3 Object Ownership 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 S3 Object Ownership 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 👇