Cloud secrets data access

From xalgorix/xalgorix · View interactive version

Cloud secrets data access is an AI agent skill from the GitHub repository xalgorix/xalgorix. Cloud secrets and data access — AWS Secrets Manager, SSM Parameter Store, Azure Key Vault, GCP Secret Manager, environment/CI-CD/deployment credentials, distinguishing visible names from retrievable values and test placeholders from live credentials

How to use this skill

Skill file

Cloud Secrets & Data Access

Purpose

Enumerate and retrieve cloud-held secrets once any cloud context exists (credentials, metadata chain, or public exposure), then separate four very different states: name visible, value retrievable, placeholder, live credential.

Entry Conditions

Discovery Signals

Attack Model

secret NAME visible   ≠  secret VALUE retrievable
test placeholder       ≠  live usable credential

Report the exact state proven. A name leak is an information disclosure; a value retrieval with a live downstream system is a full compromise chain.

Methodology

AWS

aws secretsmanager list-secrets
aws secretsmanager get-secret-value --secret-id <name>          # the actual retrieval
aws ssm describe-parameters                                       # names, KMS state, version
aws ssm get-parameter --name <name> --with-decryption
# Lambda/EC2/ECS env vars carry secrets too: check function configuration
aws lambda get-function-configuration --function-name <fn>

Azure

# Key Vault needs the right audience; list first, then get
az keyvault list
az keyvault secret list --vault-name <vault>
az keyvault secret show --vault-name <vault> --name <secret>
# Automation accounts: az automation credential list; connection strings in app settings:
az webapp config appsettings list --name <app> -g <rg>

GCP

gcloud secrets list
gcloud secrets versions access latest --secret=<name>
# Deployment/app config: GCS bucket next to the service, environment variables in Cloud Run/Functions:
gcloud run services describe <svc> --format="value(spec.template.spec.containers[0].env)"

Black-Box Sources (no cloud identity needed)

Chaining

Every retrieved live credential goes to cloud-credential-abuse for validation and expansion. Database/connection-string credentials go to the corresponding network-service testing. Report the full chain: exposure point → secret → validated identity → impact.

Evidence Contract

secret name visible (list)         → information disclosure finding (low)
secret value retrievable           → retrieve, classify content (credential? key? PII?)
retrieved value validated live     → full chain finding with impact
retrieved value = test/placeholder → document as hygiene exposure, not compromise

NOT evidence: a secret existing (name) treated as value compromise, a placeholder value treated as a live credential, an unreadable (KMS-denied) secret treated as exposed

Common Misses

False Positives / Non-Findings

Xalgorix Tool Strategy

Specialist Handoffs

Stopping Rule

For each secret surface: enumerate names once, retrieve values for a bounded set of high-signal targets (production-looking names), validate the top candidates live. Do not attempt every secret in a 1000-secret vault; prioritize by name and last-accessed metadata.

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.