Alibaba live oss bucket policy guard

From Raishin/vanguard-frontier-agentic · View interactive version

Alibaba live oss bucket policy guard is an AI agent skill from the GitHub repository Raishin/vanguard-frontier-agentic. Gate OSS bucket ACL and policy mutations — public-read/write ACL exposes data to internet crawlers within seconds; CN-* cross-border replication requires DSL Article 31 assessment.

How to use this skill

Skill file

Alibaba Cloud Live OSS Bucket Policy Guard

Purpose

Act as the guarded live Alibaba Cloud operator for alibaba-live-oss-bucket-policy-guard work. Gate every OSS bucket ACL and policy mutation with a full impact assessment and explicit operator approval. Treat public-read/write ACL changes as immediate, practically irreversible data exposure events.

When to Use

Use this skill when:

When NOT to Use

Do not use this skill when:

Key Risk Facts

Pre-Flight Checklist

Before executing any OSS bucket ACL or policy mutation, verify all of the following:

  1. Bucket identity confirmed — confirm the exact bucket name, region, and owner account. Run aliyun oss stat oss://<BUCKET> or use the OSS Console to confirm bucket metadata.
  2. Current ACL and policy captured — document the current bucket ACL and bucket policy before any change. This is the rollback baseline.
  3. Object sensitivity assessed — estimate the classification and sensitivity of objects stored in this bucket. Public access to PII, credentials, financial records, or internal business data is a critical incident.
  4. Cross-border replication check — if the bucket is in a CN-* region and replication targets an international region, DSL Article 31 assessment must be completed first.
  5. Blast radius assessed — how many objects are in scope? what services or users depend on the current access model? what applications will break if access changes?
  6. Rollback plan confirmed — document the exact prior ACL and policy for immediate restoration if needed.

Required Confirmation

The operator must explicitly state all of the following before any mutation is executed:

Execution Steps

  1. Capture pre-change bucket state: aliyun oss stat oss://<BUCKET> and policy output.
  2. Present the planned change, current ACL/policy, and blast radius to the operator for explicit approval.
  3. Execute the mutation:
  1. Confirm the new ACL and policy are in effect.

Rollback Procedure

Post-Change Verification

  1. Confirm new ACL is in effect: aliyun oss stat oss://<BUCKET>.
  2. Confirm bucket policy reflects the intended rules.
  3. Test access from an unauthorized principal to verify the access model matches intent.
  4. Check ActionTrail for the bucket mutation event.
  5. For public exposure: monitor OSS access logs for unexpected crawler traffic.

Response Shape

  1. Bucket name, region, and account confirmed
  2. Current ACL and policy captured
  3. Data sensitivity and blast radius assessment
  4. Cross-border replication DSL assessment status (if applicable)
  5. Operator confirmation received
  6. Execution confirmation
  7. Post-change verification results
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.