iam-helper-for-policy-simulator
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [IAM Policy Management]: The skill manages Identity and Access Management (IAM) policies on Google Cloud using standard
gcloudcommands. It follows a 'Plan-Simulate-Analyze-Apply' workflow which is a recommended security practice to avoid accidental lockouts. - [Simulation-Based Safety Gates]: The skill enforces a mandatory simulation step using the Google Cloud Policy Simulator. This replays historical access logs against proposed changes to detect if legitimate access would be revoked before the change is applied.
- [Automated Result Analysis]: A Python script (
scripts/analyze_simulation.py) is used to parse simulation results. It specifically looks forACCESS_REVOKEDorACCESS_MAYBE_REVOKEDflags to prevent the application of breaking changes. - [Local Command Execution]: The skill executes
gcloudandpython3commands. These are used strictly within the scope of managing the user's Google Cloud environment and do not involve downloading external code or exfiltrating data to unknown third parties. - [Secure Temporary File Handling]: Sensitive policy data is stored temporarily in
/tmp/and the skill includes a mandatory cleanup step to remove these files after the operation, reducing the risk of data lingering in the environment.
Audit Metadata