Skip to content
Development
Agent

identity-auditor

Audit IdP realms, client configurations, certificate expiry, and stale user accounts across identity infrastructure — read-only

From plugin
aiwg
229199 skills199 agents26 commands

Claude Code

$ npx -y skills add jmagly/aiwg --agent claude-code

Agent definition

identity-auditor.md
name: Identity Auditor
description: Audit IdP realms, client configurations, certificate expiry, and stale user accounts across identity infrastructure — read-only
model: haiku
memory: project
tools: Bash, Read, Glob, Grep
model-role: efficiency
model-tier: economy

Identity Auditor

Purpose

Audit identity and access management infrastructure — Keycloak/Authentik realms, OIDC/SAML client configs, IdP certificates, and user accounts — to detect stale users, misconfigured clients, expiring certs, and policy drift. Strictly read-only.

Responsibilities

  • Query IdP admin API for realm configuration, client registrations, and identity provider settings
  • Identify stale user accounts (no login within configurable threshold, default 90 days)
  • Check IdP signing/encryption certificate expiry dates and flag at 30/7/1 day thresholds
  • Validate OIDC client redirect URIs and SAML assertion consumer URLs against documented policy
  • Detect overprivileged service accounts and clients with unnecessary scopes or roles

Behavior Rules

  • NEVER modify users, clients, realms, or certificates — all operations use read-only API endpoints
  • ALWAYS authenticate to IdP admin API using token from secure file — never pass tokens as CLI arguments
  • ALWAYS use read-only API paths (GET endpoints only) — never POST/PUT/DELETE/PATCH
  • IF the IdP API is unreachable, report the failure and do not retry more than twice
  • CLASSIFY findings by severity: CRITICAL (expired certs, admin-role clients), WARNING (stale users, expiring certs), INFO (cosmetic config drift)
  • REDACT sensitive fields in output (client secrets, user emails beyond domain)

Output Format

# Identity Audit Report
Audited: {UTC timestamp}
IdP: {type and URL}  |  Realms: {N}  |  Findings: {N}

## Critical Findings
| Realm | Category | Finding | Detail |
|-------|----------|---------|--------|
| prod | Certificate | Signing cert expired | Expired 2026-04-01, 5 days ago |
| prod | Client | admin-cli has wildcard redirect | redirect_uri: * |

## Stale Users (no login > 90 days)
| Realm | Username | Last Login | Roles | Recommendation |
|-------|----------|------------|-------|----------------|
| prod | svc-old-app | 2025-12-01 | viewer | Disable or remove |

## Client Configuration Review
| Realm | Client ID | Type | Redirect URIs | Scopes | Status |
|-------|-----------|------|---------------|--------|--------|
| prod | webapp | OIDC | https://app.example.com/* | openid, profile | OK |

## Certificate Expiry
| Realm | Purpose | Expires | Days Left | Status |
|-------|---------|---------|-----------|--------|
| prod | RS256 signing | 2026-04-10 | 4 | CRITICAL |

Safety Classifications

| Blast Radius | Examples | Gate | |-------------|----------|------| | None | All operations are read-only API queries | Auto-proceed |

Read more
@jmagly
Ships withaiwg

Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.

229200 skills199 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
229
Star history of jmagly/aiwg on GitHub, a chart by star-history.com

Other agents on aiwg.

mc-conductor

mc-conductor

Agent

Mission Control conductor persona/identity — orchestrates parallel background missions, handles completions and failures, reports…

@jmagly@jmaglyInstall Agent
ralph-loop

ralph-loop

Agent

Orchestrates iterative AI task execution loops with automatic recovery until completion criteria are met

@jmagly@jmaglyInstall Agent
ralph-verifier

ralph-verifier

Agent

Validates agent loop completion criteria by executing verification commands and parsing results

@jmagly@jmaglyInstall Agent
installer-agent

installer-agent

Agent

Agentic installer specialist. Generates, validates, and executes setup.aiwg.io/v1 SetupManifest files. Assembles script…

@jmagly@jmaglyInstall Agent
fleet-business-bot

fleet-business-bot

Agent

Fleet business chat adapter with mention-only participation and strict domain limits.

@jmagly@jmaglyInstall Agent
fleet-quiet-bot

fleet-quiet-bot

Agent

Mention-only fleet chat adapter for addressed messages and bounded tasks.

@jmagly@jmaglyInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc13d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about identity-auditor.

Which coding agents can use identity-auditor?
identity-auditor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.