Logo Sota Identity Access

Sota Identity Access

Cộng đồng
martinholovsky
sota-identity-access

Kỹ thuật quản lý danh tính và quyền truy cập tiên tiến nhất (2026) để XÂY DỰNG/cấu hình hạ tầng danh tính VÀ KIỂM TRA hạ tầng đó — liên kết danh tính, IdP, mô hình phân quyền, vòng đời nhân viên mới/điều chuyển/nghỉ việc, quyền truy cập đặc quyền/khẩn cấp, danh tính workload, MFA/passkey và cấp độ bảo đảm; các cuộc kiểm tra bao gồm tài khoản mồ côi, vai trò có quá nhiều quyền, MFA yếu, token có thời hạn dài và cấu hình SAML sai. Phụ trách HẠ TẦNG danh tính và THIẾT KẾ quản lý quyền truy cập, không phụ trách cơ chế đăng nhập/phiên/JWT ở cấp ứng dụng (sota-code-security đảm nhiệm phần đó). Từ khóa kích hoạt: IAM, IdP, OIDC, OAuth 2.1, PKCE, DPoP, PAR, RAR, JAR, FAPI, SAML, SCIM, cấp quyền, thu hồi quyền, RBAC, ABAC, ReBAC, Zanzibar, OpenFGA, SpiceDB, OPA, Cedar, Kanidm, Keycloak, Authentik, Zitadel, Entra, Okta, SSO, đăng xuất một lần, MFA, passkey, FIDO2, WebAuthn, xác thực tăng cường, quyền truy cập có điều kiện, CAEP, PAM, truy cập khẩn cấp, đúng thời điểm, SPIFFE, rà soát quyền truy cập, NIST 800-63, IAL, AAL, FAL, Active Directory, Kerberos, Kerberoasting, ADCS, RBCD, gMSA, dMSA, LAPS, krbtgt.

Tổng quan

Nhà phát hànhmartinholovsky
Kho mãSOTA-skills
Tên kỹ năngsota-identity-access
Sao
28
Bản fork
3
Tệp đi kèm
7
Giấy phépCC-BY-4.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được martinholovsky công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Sota Identity Access trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/martinholovsky/SOTA-skills/tree/main/skills/sota-identity-access
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/martinholovsky/SOTA-skills.git /tmp/SOTA-skills
mkdir -p .claude/skills
cp -r /tmp/SOTA-skills/skills/sota-identity-access .claude/skills/sota-identity-access
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Sota Identity Access trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Sota Identity Access ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Sota Identity Access với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

SOTA Identity & Access

Purpose

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:

  • App-level authn ceremony (password storage/argon2id, session cookie flags, WebAuthn ceremony, JWT signature validation mechanics at one RP): that is **sota-code-security** rules/02 (sessions and JWT: rules/17). This skill owns the protocol and the IdP side.
  • App-level object/function authz (IDOR/BOLA in one service's handlers): that is **sota-code-security** rules/03. This skill owns the authorization model and the policy engine that the app calls.
  • Secret storage, OIDC-federation mechanics for workloads, JWT 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.

BUILD mode

Use when standing up or configuring any identity component.

  1. Pick the protocol, not the vibe. Interactive user login → OIDC Authorization Code + PKCE (the only sanctioned interactive flow). Service-to-service → client credentials with 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.
  2. Treat the IdP as a tier-0 asset. HA, backups of the identity store, restricted admin plane, signing-key rotation, break-glass design. rules/02-idp-operations.md.
  3. Design the authorization model deliberately. RBAC vs ABAC vs ReBAC is an architecture decision; model roles/relationships and write policy as code with a test matrix. rules/03-authorization-models.md.
  4. Wire the lifecycle before launch. Joiner-mover-leaver, SCIM provisioning AND deprovisioning, access reviews. Deprovisioning is the #1 IAM failure — design it first. rules/04-lifecycle-provisioning.md.
  5. Separate and time-box privilege. Admin-account separation, JIT elevation, logged-and-alerted break-glass, machine identity. rules/05-privileged-workload.md.
  6. Make authentication phishing-resistant and adaptive. Passkeys/FIDO2 at the IdP, step-up, CAEP/SSF for continuous evaluation. rules/06-mfa-federation-assurance.md.
  7. Self-review against each file's Audit checklist before declaring done.

AUDIT mode

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.

Sweep procedure

  1. Enumerate the IdP config: clients/relying parties and their redirect URIs, client-auth methods, token lifetimes, grant types enabled, signing keys + rotation, session/SLO config, MFA policy, federation/brokering trusts — and, on any hybrid or on-prem estate, the AD domains, ADCS CAs and directory-sync servers (swept by 07). Pull from the IdP API or config export, not screenshots.
  2. Enumerate the population: every human and service account, its authentication strength, last-login, group/role assignments, and owner. Cross against the HR/source-of-truth roster to find orphans.
  3. Sweep by rules file: 01 (protocol/token misconfig), 02 (IdP hardening), 03 (over-privilege/SoD), 04 (orphaned/dormant/no-reviews — usually the most findings), 05 (break-glass/standing admin/static workload creds), 06 (weak MFA), 07 (Active Directory / ADCS on any hybrid or on-prem estate — quota, krbtgt age, delegation, templates).
  4. Verify, don't assume: a wildcard redirect URI, an account that logged in 400 days ago, a role granting * — confirm each against the live config/logs before reporting. Never authenticate as a discovered account or trigger break-glass without explicit permission.

Severity conventions

SeverityDefinitionExamples
CriticalIdentity-layer flaw enabling full account/tenant takeover or auth bypass for many principalsWildcard/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
HighCompromise of a single privileged identity, or systemic over-grantOrphaned 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
MediumWeak lifecycle/assurance on a contained scopeNo 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
LowHygiene and defense-in-depth gapsNo 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
InfoObservations and accepted riskLegacy SAML RP documented and owner-acknowledged; planned migration off SMS MFA tracked

Finding format

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).

Rules index

FileRead this when...
rules/01-federation-protocols.mdConfiguring 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.mdRunning 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.mdChoosing/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.mdDesigning 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.mdAdmin-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.mdPhishing-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.mdHardening 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

Top-10 non-negotiables

Violations are findings regardless of context; in BUILD mode they are never shortcuts.

  1. Authorization Code + PKCE is the only sanctioned interactive flow. Implicit and ROPC/password grant are dead and disabled at the IdP. (rules/01)
  2. Exact redirect-URI matching, no wildcards, no scheme/host/path looseness. A loose redirect_uri is a token-exfiltration primitive. (rules/01)
  3. At the RP, pin algorithms and validate 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)
  4. The IdP is a tier-0 asset: HA, backed-up identity store, restricted admin plane, rotating signing keys with kid overlap, no standing super-admin without phishing-resistant MFA. (rules/02)
  5. Refresh tokens rotate with reuse detection, or are sender-constrained (DPoP/mTLS); access tokens are short-lived. No non-expiring tokens. (rules/01, rules/02)
  6. Authorization is least-privilege by an explicit model with policy-as-code and a tested allow/deny matrix. No role grants estate-wide *; segregation of duties enforced on sensitive pairs. (rules/03)
  7. Group→role mapping is explicit and default-deny: a user with no matching mapping gets no access, never a silent default role. (rules/03)
  8. Deprovisioning is automated and prompt — a leaver loses all access within the agreed SLA, source-of-truth driven via SCIM; access is recertified on a schedule. Deprovisioning is the #1 IAM failure. (rules/04)
  9. Privileged access is separated, just-in-time, and time-boxed; break-glass is logged, alerted, and expires. No permanent quiet admin backdoor. (rules/05)
  10. Phishing-resistant MFA (FIDO2/passkeys) at the IdP for all privileged and, ideally, all users; step-up for sensitive operations; SMS/voice OTP is not phishing-resistant. (rules/06)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Sota Identity Access làm được gì?

Kỹ thuật quản lý danh tính và quyền truy cập tiên tiến nhất (2026) để XÂY DỰNG/cấu hình hạ tầng danh tính VÀ KIỂM TRA hạ tầng đó — liên kết danh tính, IdP, mô hình phân quyền, vòng đời nhân viên mới/điều chuyển/nghỉ việc, quyền truy cập đặc quyền/khẩn cấp, danh tính workload, MFA/passkey và cấp độ bảo đảm; các cuộc kiểm tra bao gồm tài khoản mồ côi, vai trò có quá nhiều quyền, MFA yếu, token có thời hạn dài và cấu hình SAML sai. Phụ trách HẠ TẦNG danh tính và THIẾT KẾ quản lý quyền truy cập, không phụ trách cơ chế đăng nhập/phiên/JWT ở cấp ứng dụng (sota-code-security đảm nhiệm phần đó). Từ...

Vì sao nên dùng Sota Identity Access trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Sota Identity Access là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Sota Identity Access trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/martinholovsky/SOTA-skills/tree/main/skills/sota-identity-access. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Sota Identity Access?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Sota Identity Access với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Sota Identity Access với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Sota Identity Access có miễn phí không?

Có. Kỹ năng này được martinholovsky phát hành trên GitHub theo giấy phép CC-BY-4.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇