core-identity-and-trust-architecture

Solid

Identity and trust doctrine for {{PROJECT_NAME}} — token lifecycle (JWT access <= 1h, mandatory refresh rotation), authorization patterns (RBAC/ABAC, scope-based, least privilege), service-to-service trust (mTLS, signed JWTs, no implicit trust), OAuth/OIDC pitfalls (PKCE, state parameter, callback validation, alg=none and audience-check defenses), and zero-trust principles. EXTENDS core/security-and-auth for the identity sub-domain. Use when designing or reviewing any code that issues, validates, rotates, or revokes credentials; assigns or escalates roles/scopes; brokers cross-service trust; integrates external IdPs; or touches RLS, ACL, or admin-impersonation paths. VETO authority is backed by the identity-trust-architect archetype. Identity is the perimeter — once trust is granted, every downstream component inherits it.

AI & Automation 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Identity and Trust Architecture Identity is the perimeter. Once a token is issued, a role is assigned, or a service-to-service call is trusted, every downstream component inherits that decision — silently, transitively, and usually without re-checking. Get it wrong and the audit trail becomes fiction: the logs show "user X did Y" when in fact "anyone holding a year-old refresh token did Y as user X." This skill codifies the rules that prevent that drift. Violations of the hard rules below are VETO-floor candidates: post-Wave-1c, the identity-trust- architect archetype's sign-off becomes mandatory on any L3+ change touching authentication, authorization, token issuance/validation, role hierarchy, S2S trust, or external-IdP integration. In v1.14.0 (pre-Wave-1c), the `identity-trust-architect` slug is NOT yet in `_lib/agent_frontmatter.VETO_FLOOR_ROLES` — the atomic add lands in the Wave 1c GPG sentinel ceremony alongside the corresponding agent file (per S90 P0-01 invariant). Until that ceremony ships, identity changes route through `security-engineer` (which IS VETO-floor) plus Owner gate. ## What This Skill Is (and isn't) This skill **EXTENDS** `core/security-and-auth` for the identity sub-domain. The parent skill covers the broader security posture (OWASP Top 10, CORS, WebSocket auth, CSRF, RLS, rate limiting). This skill focuses tightly on the **identity and trust** layer: - **In scope:** token lifecycle (issuance, validation, rotation, revocation), authorization mo...

Details

Author
Canhada-Labs
Repository
Canhada-Labs/ceo-orchestration
Created
4 weeks ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

sota-identity-access

State-of-the-art identity and access management engineering (2026) for BUILDING/configuring identity infrastructure AND AUDITING it — federation, IdPs, authorization models, the joiner-mover-leaver lifecycle, privileged/break-glass access, workload identity, MFA/passkeys, and assurance levels; audits cover orphaned accounts, over-privileged roles, weak MFA, long-lived tokens, and SAML misconfig. Owns identity INFRASTRUCTURE and access-management DESIGN, not app-level login/session/JWT mechanics (sota-code-security owns those). Trigger keywords: IAM, IdP, OIDC, OAuth 2.1, PKCE, DPoP, PAR, RAR, JAR, FAPI, SAML, SCIM, provisioning, deprovisioning, RBAC, ABAC, ReBAC, Zanzibar, OpenFGA, SpiceDB, OPA, Cedar, Kanidm, Keycloak, Authentik, Zitadel, Entra, Okta, SSO, single logout, MFA, passkey, FIDO2, WebAuthn, step-up, conditional access, CAEP, PAM, break-glass, just-in-time, SPIFFE, access review, NIST 800-63, IAL, AAL, FAL, Active Directory, Kerberos, Kerberoasting, ADCS, RBCD, gMSA, dMSA, LAPS, krbtgt.

8 Updated 3 days ago
martinholovsky
AI & Automation Solid

security-and-auth

Security architecture, authentication, authorization, and hardening for the {{PROJECT_NAME}}. Covers JWT+HMAC auth patterns, AES-256-GCM credential encryption, rate limiting design, OWASP Top 10 for Node.js/Hono, RLS policy design, timing-safe comparisons, API key lifecycle, input validation, CORS configuration, WebSocket auth, and proxy relay security. Use when reviewing or writing any code that touches authentication, authorization, credential storage, API key management, rate limiting, input validation, CORS, WebSocket security, proxy security, or any route that handles sensitive data or actions.

3 Updated today
Canhada-Labs
Code & Development Solid

cloud-identity-and-auth

Identity, authentication, authorization, and token management for cloud platforms. Covers Keystone-style scoped tokens, OAuth 2.0 flows, OpenID Connect, JWT structure and pitfalls, federation with SAML/OIDC, service-to-service auth with mTLS and SPIFFE, principle of least privilege, IAM role design, and the service catalog pattern (public/internal/admin endpoints). Use when designing authn/authz for a multi-tenant cloud service, integrating with an identity provider, or reviewing IAM policies for over-privilege.

69 Updated 1 weeks ago
Tibsfox