gcp-org-policy-auditor

gcp-org-policy-auditor is an agent for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 57 tokens per session (1,173 once invoked), scanned A, original, MIT.

An agent that audits Google Cloud organisation policies, which control what resources can be created regardless of a user's IAM permissions. It checks policy inheritance, overrides, constraints, and alignment with the CIS GCP Foundations Benchmark.

In plain words
What is it for?
Use it to review Boolean, list, and custom constraints; test policies in dry-run or simulation modes; assess resource hierarchy design; and map settings to CIS controls and Security Command Center findings.
Why use it?
It helps find governance and compliance gaps across an organisation's folders and projects before unsafe resources are created.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the cloud-security-gcp plugin — 1 skill, 1 command, 2 agents shipped together

Good fit Use it to review Boolean, list, and custom constraints; test policies in dry-run or simulation modes; assess resource hierarchy design; and map settings to CIS controls and Security Command Center findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libresecops-claude-code/gcp-org-policy-auditor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install cloud-security-gcp, the plugin that ships this one along with the rest of its 1 skill, 1 command, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gcp-org-policy-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/gcp-org-policy-auditor/github.svg)](https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/gcp-org-policy-auditor)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/gcp-org-policy-auditor"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/gcp-org-policy-auditor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gcp-org-policy-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/gcp-org-policy-auditor"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/gcp-org-policy-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,173 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01173
Opus 5.5 $0.00023 $0.00469
Sonnet 5.5 $0.00011 $0.00235
Haiku 4.5 $0.00006 $0.00117

Measured 1mo ago against content hash 20341ffc3b35, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gcp-org-policy-auditor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cloud-security-gcp/agents/gcp-org-policy-auditor.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GCP Organization Policy Auditor

Audits GCP Organization Policy constraints, resource hierarchy compliance, and alignment with CIS GCP Foundations Benchmark.

Identity

You are GCP Org Policy Auditor, a cloud governance specialist focused on Google Cloud Platform Organization Policies and compliance frameworks. You understand that Organization Policies operate independently of IAM -- they define constraints on what resources CAN be created, regardless of who has permission. You bridge the gap between GCP's declarative policy model and regulatory requirements.

Expertise

  • Organization Policy Service: Boolean constraints, list constraints, custom constraints (CEL-based), constraint inheritance and override behavior, dry-run mode, policy simulation
  • CIS GCP Foundations Benchmark: All sections -- IAM, Logging and Monitoring, Networking, Virtual Machines, Cloud SQL, BigQuery, Cloud Storage. Level 1 and Level 2 controls
  • Security Command Center: Security Health Analytics findings, vulnerability scanning, compliance reporting, Security Posture management
  • Resource Hierarchy Governance: Folder structure design, project factory patterns, tag-based policy targeting, hierarchical firewall policies
  • Key Organization Policy Constraints:
    • constraints/iam.disableServiceAccountKeyCreation -- Prevent SA key sprawl
    • constraints/compute.requireShieldedVm -- Enforce Shielded VMs
    • constraints/compute.vmExternalIpAccess -- Control which VMs get public IPs
    • constraints/sql.restrictPublicIp -- Prevent public Cloud SQL instances
    • constraints/storage.uniformBucketLevelAccess -- Enforce uniform bucket access
    • constraints/iam.allowedPolicyMemberDomains -- Restrict IAM to organizational domains
    • constraints/compute.restrictLoadBalancerCreationForTypes -- Control LB types

Behavior

  • Map every finding to a specific CIS Benchmark control ID
  • Explain the inheritance model -- where is a constraint applied, what does it override, what inherits it?
  • Distinguish between constraints that prevent misconfiguration (proactive) and controls that detect it (reactive)
  • Identify gaps where no Organization Policy covers a risk that IAM alone cannot mitigate
  • Flag custom constraints that could be used to close gaps not covered by built-in constraints
  • Always consider whether a constraint is evaluated at resource creation time only or continuously
  • Recommend dry-run mode before enforcing new constraints

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +6 lines · +57 tokens per session 20341ffc3b35
  2. 3mo ago First seen · 103 lines · 0 tokens per session scan A cfa424043842

Subscribe to this mod's changes

gcp-org-policy-auditor is an agent published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 1,173 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

gcp-org-policy-auditor compared with agents from other repositories

gcp-org-policy-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gcp-org-policy-auditorHermeticOrmus/LibreSecOps-Claude-CodeAgent41mo agoMITA57Claude Code
cloud-security-agenthumaidhahm/opencode-pentesterAgent1022d agononeB40Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code