The problem
Cloud IAM starts clean. Someone writes a tight policy, least privilege, everything documented. Then a ticket needs a quick fix, a role gets an extra permission 'just for now,' a new service inherits a broad policy, and nobody removes any of it.
Months later, nobody can say what a role is actually allowed to do, or why. That drift is quiet, and it is exactly what attackers look for: an over-permissioned role, a forgotten admin, a service account with far more access than its job needs. Least privilege is easy to declare and hard to maintain without a regular check.
PrivilegeDiff is that check. It finds drift in cloud IAM permissions against a least-privilege baseline.
How it works
PrivilegeDiff is an instruction/workflow skill — a structured SKILL.md workflow you run inside your AI agent. It is free, script-first, and practical. You supply your current IAM policies and your least-privilege baseline, and it works through them in a fixed order:
Compare current permissions to the baseline.…