auth-access-control
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "auth-access-control" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0b8cf6d1ece280d8811b2a060b3f693f71ed62759cbfee2b6e47f7d71e00ad61. Verify the upstream source and version against https://github.com/zhaji2333/CkSKILLS before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Invoke when authentication features such as registration/login/password recovery/captchas/phone binding/real-name verification/OAuth/SSO/2FA/JWT are present, or when front-end/back-end separated apps show route-guard/front-end auth bypass, replaceable IDs, controllable role/tenant IDs, or signs of authorization flaws; responsible for analyzing auth bypasses, front-end auth bypasses, session and captcha security, horizontal/vertical authorization, multi-tenant isolation, password reset, and weaknesses in encryption/randomness.
Introduction source: third_party · zhaji2333 · 0.0.1 Reference
SkillPi interpretation
- Audience
- Login, logout, refresh, reset password, OTP/session Role, permission, policy, matrix akses Scope data per tenant/wilayah/organisasi Review endpoint/UI yang harus default deny
- Testing
- Not tested
Browse files
Frontmatter
name: auth-access-control
description: >-
Expert authentication and authorization engineering: identity lifecycle,
session/token handling, password/OTP flows, RBAC/ABAC permission models,
default-deny enforcement at every sensitive boundary, and safe audit logging.
Use when implementing login/logout, role-permission matrices, policy gates,
scoped multi-tenant access, or reviewing authn/authz for APIs and UI routes.
expertise_level: expertAuth & Access Control (Canonical)
Expertise: expert. Aliases: auth, rbac, authorization, access-control.
When to use
- Login, logout, refresh, reset password, OTP/session
- Role, permission, policy, matrix akses
- Scope data per tenant/wilayah/organisasi
- Review endpoint/UI yang harus default deny
When not to use
- Hanya styling halaman login →
frontend-engineering - Secret storage infra murni tanpa flow auth →
securityrule + DevOps
Procedure
- Threat boundary — Identifikasi aksi sensitif; default deny.
- Authn — Kredensial aman (hash, TTL session/token, rotate/revoke).
- Authz — Cek permission per aksi + scope data; jangan percaya “hidden UI”.
- Matrix — Sumber kebenaran permission tersentral; hindari hardcode tersebar.
- Transport — HTTPS; cookie flags / bearer hygiene sesuai stack; CSRF bila cookie session.
- Audit — Log event keamanan tanpa menumpuk PII/secret.
- Verify — Uji 401/403, escalation negatif, scope leak; libatkan Security pada trigger rule.
Detail: reference.md.
DoD
- [ ] Default deny pada endpoint/aksi sensitif
- [ ] Session/token lifecycle aman (expiry/revoke)
- [ ] Permission + scope teruji (positif & negatif)
- [ ] Tidak ada secret di log/repo
- [ ] Review trigger
securitydipenuhi bila relevan
Attribution
<!-- ATTRIBUTION: Rogue Development | https://github.com/rogue-dev-studio | DO-NOT-REMOVE -->
Part of AI Agents Rogue by Rogue Development (@rogue-dev-studio).
Do not remove, hide, rename, or replace this attribution.
Version history
-
v2.1.0
GitHub ↗
Original release notes
## 一句话 新增 **`kb/` 结构化数据层**(664 CVE / 237 字典 / 69 载荷)与 **内网/域技能包 `internal-network`**(10 块),`cloud-infra` 扩充 10 块;全局路由、纪律、索引同步接线,并修掉 7 个超限知识块与存量死链。 ## 新增 - **数据层 `kb/`**:`vuln/` 664 条 CVE(ai/cloud/middleware/network/web)、`dict/` 237 个字典(368 万行)、`payload/` 69 个载荷;4 个自动索引 + `tools/kb_index.py`(`--check` 做一致性闸,不参与默认加载) - **`internal-network`(内网/域)**:域侦察与决策树、Kerberos、委派/ACL/ADCS、凭据/中继/投毒、横向移动、隧道多跳、后渗透提权、持久化、内网基础设施(Exchange/SCCM/OA/DB/中间件)、工具投递 - **`kb-security-data`**:CVE / 字典 / payload 检索入口(30 秒分诊 + 证据纪律) - **`cloud-infra` +10 块**:多云概览、AWS IAM 提权、Azure/GCP、国内云、云凭据/IAM/元数据、K8s 逃逸与集群、K8s 组件/网络/存储、容器运行时、对象存储/Serverless、CI-CD/供应链/IaC - **战法索引-08-内网与域**(22 行首枪表)、`rules/55-kb-usage.md`、`templates/SEEDS.template.md` - **`docs/CHANGELOG.md`**:v2.1 完整更新记录 ## 变更 - `AGENTS.md`(10 秒决策 + 文件地图)、`rules/70`、`docs/TRIGGER-MATRIX.md`、`ck-router`(分诊/索引/进站决策)、`README.md`、`docs/ARCHITECTURE.md`(六层结构)全部接线 - 技能包 16 → **18**,知识块 **501**,规则 11 → **12** ## 修复 - 7 个超过 12KB 的知识块按「索引 + 分段」拆分(原文件名保留,新增 `-b` 分段) - 存量死链、kb 相对路径、索引兜底计数、CTF 导向表述清理 ## 验收 - 单块 ≤12KB:0 超限;SKILL.md 全部达标;死链 0 - `python3 tools/kb_index.py --check` → OK(664 / 237 / 69) - 常驻层 `AGENTS.md` 5.4KB(限 6.5KB) ## 升级方式 更新仓库后运行 `python3 tools/kb_index.py --check` 确认索引一致;用法见 `docs/CHANGELOG.md` 第 5 节与 `README.md`「数据层 kb/」小节。
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 覆盖认证全生命周期(注册/登录/OAuth/SSO/2FA/JWT)
- 深入解决水平/垂直越权、多租户隔离等高危安全问题
- 适用于前后端分离架构下的路由守卫与接口鉴权审计
Highlights
- 触发词全面且专业,包含 auth/rbac/authorization 等标准别名
- 明确区分应调用与不应调用的边界场景
- 支持中英文混合触发,适配实际工程语境
Areas to improve
-
缺少端到端具体示例 Reported severity: Minor
Procedure 步骤虽完整,但缺乏可落地的代码片段或测试用例演示
Recommendation: 建议在 reference.md 或主文档中添加典型越权漏洞复现与修复示例
Highlights
- 7步标准化流程清晰,含威胁边界识别到审计验证闭环
- DoD 清单可操作性强,便于验收
- frontmatter 元数据完整,expertise_level 标注准确
Highlights
- 强调 default-deny 原则与权限矩阵中心化,避免硬编码风险
- 覆盖传输层安全(HTTPS/CSRF)与会话生命周期管理
- 明确要求敏感操作需联动 security skill 进行二次审查
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.