T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:86- Finding
Mandatory Broad Cloud Reconnaissance Exceeds Task-Scoped Least Privilege
- Content
View full analysis
`, and 30 days of cost grouped by service. Asset Inventory is the one GCP tool with no AWS equivalent worth envying — it answers "what exists here" across every API in one call, including resources whose API you never thought to check. ``` ### Technical Analysis The Skill defines project listing, Cloud Asset Inventory enumeration, configuration inspection, and 30 days of billing analysis as the minimum discovery procedure before providing architecture guidance. This behavior is broader than necessary for many supported tasks, such as comparing two GCP services, reviewing one known resource, or explaining a documented error. The commands use the credentials already available to `gcloud`. They do not independently grant new IAM permissions, but they exercise all relevant read permissions held by the current identity. In particular: - `gcloud projects list` may enumerate every project visible to the authenticated principal. - `gcloud asset search-all-resources` can expose resource types and names across many APIs in the selected project. - Billing analysis exposes financial and usage information unrelated to a narrow technical request. - `gcloud config list` reveals the active account, project, region, and local CLI configuratio ...[truncated 1843 chars]- Remediation
View remediation
