/sota-skills:sota-identity-accessfrom SOTA Engineering Skills
Builds and audits identity infrastructure: federation protocols, IdPs, authorization models (RBAC/ABAC/ReBAC), joiner-mover-leaver lifecycle, privileged access, workload identity, MFA/passkeys, and assurance levels. Covers OIDC, OAuth 2.1, SAML, SCIM, Zanzibar, OPA, Keycloak, Entra, Okta, and Active Directory.
Ships in SOTA Engineering Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Own the identity infrastructure and access-management design of a system: the federation protocols themselves, the IdP that issues and validates tokens, the authorization model that decides who may do what, the lifecycle that creates and destroys access, privileged access, and machine identity. Two modes. In BUILD mode you stand up or configure this infrastructure correctly by default. In AUDIT mode you assess an existing identity estate against the same rules and report severity-rated findings. The rules files are the single source of truth for both.
Boundary discipline — this skill does not re-teach what siblings own:
kid rotation as a
credential operation: **sota-secrets-management** rules/01 and rules/05.Concurrent siblings to invoke alongside: sota-network-security (mTLS, ZTNA, identity-aware proxy), sota-kubernetes (K8s RBAC, OIDC to the API server, SA tokens), sota-detection-engineering (identity-based detections, impossible-travel, auth anomaly), sota-privacy-compliance (consent, DSAR, audit evidence).
The hierarchy of preference, always: (1) no standing credential — short-lived, federated, sender-constrained tokens; (2) standing identity with strong phishing-resistant authentication and just-in-time elevation; (3) long-lived secret-authenticated client with rotation and audit; (4) anything static and broadly-scoped is a defect to be justified or removed.
Use when standing up or configuring any identity component.
private_key_jwt/mTLS, or workload identity federation. High
assurance → FAPI 2.0. Legacy SAML only where a relying party requires it. Read
rules/01-federation-protocols.md before configuring any client.rules/02-idp-operations.md.rules/03-authorization-models.md.rules/04-lifecycle-provisioning.md.rules/05-privileged-workload.md.rules/06-mfa-federation-assurance.md.Coverage: every rules/ file's Audit checklist applies in AUDIT mode. Mark one not applicable only with its reason in the report — never skip a file because the thing it checks for is absent, since that absence may be the finding.
Use when assessing an existing identity estate.
krbtgt age, delegation, templates).* — confirm each against the live config/logs before
reporting. Never authenticate as a discovered account or trigger break-glass
without explicit permission.| Severity | Definition | Examples |
|---|---|---|
| Critical | Identity-layer flaw enabling full account/tenant takeover or auth bypass for many principals | Wildcard/loose redirect_uri enabling token theft; IdP accepts unsigned SAML assertions or alg:none; standing super-admin with no MFA; signing key never rotated and leaked; OIDC issued to an open-redirect client |
| High | Compromise of a single privileged identity, or systemic over-grant | Orphaned admin account still active post-termination; break-glass account with a static shared password and no alerting; role granting estate-wide *; long-lived non-rotating refresh tokens; SSO with no Single Logout on credential change |
| Medium | Weak lifecycle/assurance on a contained scope | No access reviews/recertification; dormant non-priv accounts; phishable MFA (SMS/TOTP) where phishing-resistant is feasible; client_secret_basic where private_key_jwt/mTLS is supported; missing SoD on sensitive role pairs |
| Low | Hygiene and defense-in-depth gaps | No idle session timeout; consent screen not informative; no dormant-account detection job; PAR/DPoP available but unused for a low-risk client; missing azp validation on a single-audience token |
| Info | Observations and accepted risk | Legacy SAML RP documented and owner-acknowledged; planned migration off SMS MFA tracked |
Report every finding as one line, ordered Critical → Info:
file:line | rule | severity | effort (trivial/small/medium/large) | fix
Where file:line anchors to the offending config (e.g. keycloak/realm.json:412,
policies/rbac.rego:88, or idp://clients/web-app#redirect_uris for live config with
no file). rule is the rules-file section (e.g. 01 §redirect-uri). Group repeated
instances of one weakness into a single finding listing all locations. End the audit
with: counts per severity, the orphaned/dormant account tally, and the top 3 systemic
fixes (almost always: deprovisioning automation, MFA hardening, least-privilege roles).
| File | Read this when... |
|---|---|
| rules/01-federation-protocols.md | Configuring or auditing OIDC/OAuth flows, choosing a grant type, validating tokens at the RP, PKCE/PAR/RAR/JAR/DPoP, OAuth 2.1 & FAPI 2.0, SAML and its attack classes (XSW, comment injection, unsigned assertions), SAML signing/encryption certificates and metadata exchange, assertion minimisation, SCIM as a protocol, legacy protocols (WS-Fed, OpenID 2.0, non-MFA sign-in paths, protocol-translation gateways), redirect-URI matching, token-validation pitfalls |
| rules/02-idp-operations.md | Running a self-hosted IdP (Kanidm/Keycloak/Authentik/Zitadel), client/RP registration discipline, client-auth ladder, token lifetimes + refresh rotation + reuse detection, signing-key (kid) rotation, revoking signed tokens (Token Status List, online checks, revoked-token reuse), session management + Single Logout + logout-token validation, consent, adopted SaaS tenants, multi-IdP brokering, IdP as tier-0 (HA/backup, trust-domain separation, hosted IdP/MFA as a supplier) |
| rules/03-authorization-models.md | Choosing/designing RBAC vs ABAC vs ReBAC, role modeling and role explosion, the group→role mapping discipline, least privilege + segregation of duties, policy-as-code engines (OPA/Rego, Cedar, OpenFGA, SpiceDB), policy testing, birthright vs requested access |
| rules/04-lifecycle-provisioning.md | Designing or auditing joiner-mover-leaver, SCIM-driven provisioning/deprovisioning, the orphaned-account problem, access reviews/recertification, just-in-time provisioning, dormant-account detection, self-registration and service-account login, AI-agent inventory and non-human decommissioning |
| rules/05-privileged-workload.md | Admin-account separation, break-glass design (logged/time-bound/alerted, the Kanidm recover-account pattern), JIT/just-enough elevation, session recording, vaulting; machine/workload identity (SPIFFE/SPIRE, workload identity federation, mTLS identity, short-lived over static) |
| rules/06-mfa-federation-assurance.md | Phishing-resistant MFA (FIDO2/passkeys/WebAuthn at the IdP), step-up/adaptive/conditional access, CAEP/SSF continuous evaluation, push-bombing/MFA-fatigue defenses, B2B/B2C/social-login and account-linking risks, identity proofing and NIST 800-63-4 IAL/AAL/FAL, authenticator lifecycle (revocation, re-proofing, expiry, biometrics), SMS OTP as a restricted authenticator, client-certificate and edge/IoT device authentication |
| rules/07-active-directory.md | Hardening on-prem Active Directory / Kerberos / ADCS: Enterprise Access Model & tiering (ESAE/red-forest retired), delegation risks (unconstrained/constrained/RBCD), Kerberoasting/AS-REP + gMSA/dMSA & AES-only service accounts, SPN hygiene, machine-account quota, NTLM relay (SMB/LDAP signing + channel binding), ADCS ESC classes + template/enrollment-agent hardening + strong cert mapping (KB5014754), LAPS/Protected Users/Credential Guard/auth silos, krbtgt rotation, hybrid Entra sync boundary (PHS/PTA). Detection lives in sota-detection-engineering rules/07 |
Violations are findings regardless of context; in BUILD mode they are never shortcuts.
redirect_uri is a token-exfiltration primitive. (rules/01)iss, aud, exp, and nonce; reject
unsigned tokens and alg:none. SAML RPs reject unsigned assertions and validate
the signature over the whole response with anti-XSW canonicalization. (rules/01)kid overlap, no standing super-admin without
phishing-resistant MFA. (rules/02)*; segregation of duties
enforced on sensitive pairs. (rules/03)rules/01-federation-protocols.md (opens in a new tab)rules/02-idp-operations.md (opens in a new tab)rules/03-authorization-models.md (opens in a new tab)rules/04-lifecycle-provisioning.md (opens in a new tab)rules/05-privileged-workload.md (opens in a new tab)rules/06-mfa-federation-assurance.md (opens in a new tab)rules/07-active-directory.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
iam, identity-provider, federation, access-control, privileged-access, audit
npx claudepluginhub martinholovsky/sota-skills --plugin sota-skills43 skills in this plugin
/sotaMaster router for the SOTA engineering skills library. Use this skill whenever the user asks to build, design, implement, refactor, harden, optimize, review, or audit an application, service, or codebase and the request spans more than one domain — or when you are unsure which specific sota-* skill applies. Also use when working on a codebase you do not own: reviewing a pull request or diff, responding to code review, evaluating someone else's patch, or preparing an upstream contribution — including mid-session, once you are already reading source, a diff, or CI config. It maps the task (build or audit mode) to the right domain and language skills (Rust, Go, C/C++, JVM, Python, JS/TS, .NET/C#, PHP, Ruby, Swift). Trigger keywords: SOTA, best practices, audit my code, security review, compliance, hardening, prod readiness, code quality, pull request, PR review, review comment, maintainer feedback, patch, diff, upstream, contribute, merge request./sota-api-designState-of-the-art API design and audit guidance (2026) covering REST/HTTP, GraphQL, gRPC, WebSockets/SSE/realtime, webhooks, versioning/evolution, and API security/operations. Use when designing or building any API surface (endpoints, schemas, protos, realtime channels, webhook senders/receivers) AND when auditing/reviewing existing APIs for correctness, evolvability, security, and operational robustness. Not for browser UI, rendering, or client-framework concerns — use sota-web-frameworks or sota-frontend-design. Trigger keywords: API, REST, GraphQL, gRPC, endpoint, websocket, SSE, realtime, WebRTC, webhook, versioning, OpenAPI, pagination, idempotency, rate limit, problem+json, protobuf, deprecation.2 plugins ship this exact skill · first indexed Oct 25, 2026
Other plugins' skills for the same job