跳到正文
cccskills
免费在 GitHub 公开

security-maturity-assessment

Use when the user wants a security-maturity scorecard / posture assessment of a module — category ratings with evidence, not a vulnerability hunt. Also on 'wie sicher ist dieses Modul aufgestellt?'

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md5.7 KB
  • evals/triggers.json2.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

security-maturity-assessment

Rate how mature a module's security posture is — category by category, every rating backed by file:line evidence — instead of hunting individual vulnerabilities. The output is a scorecard a maintainer can re-run and diff, not a finding list.

When to use

  • "How mature / well-set-up is this module's security?" — posture, not holes
  • Baseline before a hardening effort, or re-assessment after one
  • A stakeholder needs a defensible rating per category with cited evidence

Do NOT use when:

The nine categories

#CategoryCritical?What to inspect
1Input validationYesRequest-boundary validation primitives on every entry point; no inline ad-hoc checks
2AuthorizationYesPer-object ownership/tenant checks, policy coverage, field-level access
3Secrets handlingYesNo hardcoded creds; env/vault usage; secrets absent from logs and VCS
4Error handlingNoNo swallowed exceptions; no stack traces / internals leaked to clients
5Logging & auditNoSecurity events (auth, permission denials, admin actions) logged; no PII in logs
6Dependency hygieneNoLockfiles present; known-CVE scan wired; update cadence visible
7Data boundariesNoSerializers/resources whitelist fields; exports/queues don't leak internals
8Tenant isolationYes (multi-tenant only; else N/A)Tenant scoping on queries, jobs, caches; cross-tenant negative tests
9Security test coverageNoNegative tests exist (401/403/404 paths, abuse cases), not only happy-path

Rating rubric

RatingMeaning
MissingNo control exists for the category
WeakAd-hoc, inconsistent — some paths covered, most not
ModerateControl present and usual, with named gaps
SatisfactoryConsistent across the surface; minor gaps only
StrongConsistent AND enforced (CI gate, test, linter) or negatively tested

Procedure

  1. Scope — name the module/paths under assessment; list entry points (routes, jobs, commands, webhooks). A scorecard without a stated scope is not reproducible.
  2. Assess each category — inspect the code the category names. Every rating cites evidence:
    • Positive evidence: file:line of the control (app/Http/Requests/…:12, src/guards/auth.guard.ts:12).
    • Absence evidence: the searches run that came back empty (name the grep patterns) — "not found" beats "probably missing".
    • Multi-tenant N/A: single-tenant systems rate category 8 N/A; it drops out of the roll-up.
  3. Roll up deterministically — the overall rating is computed, not vibed:
    • overall = min( median(all rated categories), one step above the lowest critical-category rating )
    • Consequences: any critical category Missing caps overall at Weak; any critical Weak caps overall at Moderate. Non-critical categories move the median but can never lift the cap.
  4. Recommend — max 3 next steps, ordered by which would raise the overall rating (i.e. fix the lowest critical category first).

Output format

  1. Scope block — module/paths + entry-point list, so the scorecard is re-runnable.
  2. Scorecard table — one row per category: Category | Rating | Evidence (file:line or named empty searches) | Gap. Every row MUST carry evidence; a rating without a citation is invalid.
  3. Overall rating — with the roll-up shown (median=…, lowest critical=…, cap=… → overall=…), never a bare verdict.
  4. Top-3 next steps — ordered by roll-up impact.

Gotcha

  • The model tends to rate from vibes ("looks well-structured") — a rating row without file:line or named empty searches is invalid; redo it.
  • Don't let a Strong non-critical category mask a Weak critical one — the cap rule exists precisely because a polished logging setup does not offset missing authorization.
  • A vulnerability found mid-assessment is out of scope for the scorecard — note it and route to security-audit (with its false-positive gate) instead of inlining findings here.

Do NOT

  • Do NOT emit a rating without evidence — every row cites file:line or the empty searches that prove absence.
  • Do NOT average away critical categories — the deterministic cap always wins.
  • Do NOT turn the scorecard into a finding list — posture assessment and vulnerability hunting are different deliverables.
  • Do NOT assess unscoped ("the whole app") when the user named a module.

See also

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月18日 更新

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月18日 更新

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月18日 更新

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月18日 更新

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月18日 更新

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月18日 更新

查看 event4u-app 的全部技能

报告此技能的问题