Csf Mapping 标志

Csf Mapping

社区
briiirussell
csf-mapping

Map your security posture against the NIST Cybersecurity Framework 2.0 (Govern, Identify, Protect, Detect, Respond, Recover). Produce a gap analysis, current/target tier assessment, and roadmap in the governance language that boards, auditors, and CISOs actually use. Use when the user mentions 'NIST CSF,' 'CSF 2.0,' 'cybersecurity framework,' 'security posture,' 'governance mapping,' 'CSF gap analysis,' 'CSF tiers,' 'cybersecurity maturity,' 'security roadmap,' 'CISO report,' 'board reporting,' 'security program,' or needs to translate technical findings into governance language.

概览

发布者briiirussell
代码仓库cybersecurity-skills
技能名称csf-mapping
星标数
429
复刻数
60
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 briiirussell 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Csf Mapping AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/csf-mapping
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/briiirussell/cybersecurity-skills.git /tmp/cybersecurity-skills
mkdir -p .claude/skills
cp -r /tmp/cybersecurity-skills/skills/csf-mapping .claude/skills/csf-mapping
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Csf Mapping,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Csf Mapping。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Csf Mapping 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

CSF Mapping — NIST Cybersecurity Framework 2.0 Posture Assessment

Translate your security posture into the language every CISO, board, auditor, and insurer already speaks. Distinct from the audit skills (which find specific issues); this skill assesses your program against a recognized framework and produces governance-ready output.

NIST CSF 2.0 is the framework that, as of 2024, replaced CSF 1.1. It added a sixth function — Govern — recognizing that the others can't work without governance backing.

The six functions:

FunctionWhat it covers
Govern (GV)Cybersecurity strategy, roles, policies, oversight, supply chain risk
Identify (ID)Asset inventory, business environment, risk assessment, supply chain
Protect (PR)Access control, awareness, data security, baseline configurations, maintenance, protective tech
Detect (DE)Continuous monitoring, anomaly detection, adverse event analysis
Respond (RS)Incident management, analysis, mitigation, reporting, comms
Recover (RC)Recovery planning, improvements, communications

Each function contains Categories (e.g., PR.AA — Identity Management, Authentication, and Access Control), and each category contains Subcategories (e.g., PR.AA-01 — Identities and credentials for authorized users, services, and hardware are managed).

This skill maps your reality to those Subcategories.

Cross-references: every audit skill in this repo (they produce evidence that becomes the "current state" entries here), iam-audit (most of PR.AA), siem-detection (most of DE), incident-triage (most of RS), threat-modeling (informs ID.RA risk assessment), breach-patterns (informs ID.IM improvements from lessons learned).

Methodology

Step 1 — Establish scope

CSF assessments are scope-bounded. Decide which of these you're assessing:

  • Whole organization — every system, every business unit
  • One product / service — for vendor due-diligence questionnaires (SIG, CAIQ)
  • One environment — production cloud only, or PCI-in-scope only
  • Regulatory scope — HIPAA-covered systems, FedRAMP boundary, etc.

Write down what's in and what's out. Most CSF assessments fail at scope drift.

Step 2 — Choose your CSF profile

CSF 2.0 introduced Organizational Profiles — instead of "score every Subcategory equally," you tailor based on what matters.

  • Current Profile — where you actually are
  • Target Profile — where you want to be (informed by business goals, regulatory requirements, risk appetite)
  • Community Profile — pre-built profile for your sector (manufacturing, healthcare, financial services — published by NIST and others)

For a first-pass assessment, start with a Community Profile if one exists for your sector, then tailor.

Step 3 — Assess each Subcategory

For each Subcategory in scope:

FieldWhat to record
IDe.g., PR.AA-05
Subcategory textVerbatim from NIST or paraphrased
Current stateWhat you actually do today (evidence, not aspiration)
EvidenceDocument / system / process that proves the current state
TierPartial / Risk-Informed / Repeatable / Adaptive (1-4)
Target tierWhat you're aiming for
GapThe delta
PlanWhat closes the gap
OwnerWho's accountable
TimelineWhen
CSF Implementation Tiers
TierNameCharacteristic
1PartialAd-hoc, reactive, undocumented; awareness is informal
2Risk-InformedRisk management is approved but not org-wide; processes are repeatable for some teams
3RepeatableDocumented org-wide policies; consistent processes; risk-informed budgeting
4AdaptiveContinuous improvement; quantitative risk; learning from incidents (yours and peers'); cybersecurity culture

Tier 4 is rare and expensive. Most mature SaaS orgs target Tier 3 across most subcategories. Set targets based on what the business actually needs, not what looks good.

Step 4 — Identify gaps and prioritize

For each gap, ask:

  • Impact if exploited / not addressed (regulatory, reputational, financial)
  • Likelihood given current threat landscape and your specific exposure
  • Cost to close (engineering hours, tooling, headcount)
  • Dependencies on other gaps closing first

Prioritize by Risk × Cost-to-close — not just by risk. Some critical-risk items take a year and three vendors; some quick wins reduce real risk in a sprint.

Step 5 — Build the roadmap

CSF roadmaps usually run in quarters with annual targets. A useful structure:

  • Next 30 days — immediate gaps (quick wins, low-cost high-risk items)
  • Next 90 days — medium effort, named owners, defined success criteria
  • Next 12 months — strategic gaps requiring budget approval, tooling decisions, headcount
  • Annual review — full reassessment; profile refresh; tier movement

Each item on the roadmap names: the Subcategory it closes, the owner, the budget, the success metric, the review date.

Subcategory cross-references to skills in this repo

A useful shortcut — these are the audit skills that produce evidence for which CSF Subcategories.

CSF SubcategoryAudit skillType of evidence
GV.SC (Supply Chain Risk)dependency-auditCVE inventory, vendor list, supply chain risk register
ID.AM (Asset Management)cloud-audit, container-audit, reconAsset inventory output
ID.RA (Risk Assessment)threat-modeling, breach-patternsThreat models, breach-pattern coverage doc
ID.IM (Improvement from past incidents)incident-triage post-mortems, breach-patternsPost-incident reviews, lessons-learned applied
PR.AA (Identity & Access Control)iam-auditIAM audit reports, role inventory
PR.DS (Data Security)crypto-audit, secrets-auditCrypto posture, secrets management posture
PR.PS (Platform Security)container-audit, cloud-auditK8s hardening, cloud posture
PR.IR (Infrastructure Resilience)container-audit, cloud-auditNetwork policy, segmentation, backup posture
DE.CM (Continuous Monitoring)siem-detection, soc-operationsSIEM coverage, ATT&CK Navigator export
DE.AE (Anomaly & Event Analysis)siem-detection, threat-huntingDetection rule inventory, hunt findings
RS.MA (Incident Management)incident-triage, soc-operationsIR plan, runbooks, recent incident reports
RS.AN (Analysis)disk-forensics, incident-triageForensic analysis outputs
RS.MI (Mitigation)finding-triage, incident-triageTriage decisions, mitigation tracking
RC.RP (Recovery Plan)(not directly covered — separate BCP/DR work)BCP / DR plans, tested recovery

For Subcategories without direct skill coverage, the gap is usually "we have technical depth but not the program-level artifact." E.g., RC.RP-01 (Recovery plan is executed during or after an incident) needs an actual documented and tested BCP/DR plan — running incident-triage doesn't automatically produce one.

High-impact gaps most orgs have

Patterns I see repeatedly in CSF assessments. Not universal, but starting points:

  • GV.OC-04 (Critical objectives, capabilities, and services are identified and communicated) — Most orgs can't name their crown-jewel systems consistently across security, IT, and engineering
  • GV.SC (Supply Chain Risk Management category) — Either no vendor risk program at all, or one that exists on paper but doesn't actually gate procurement
  • ID.AM-08 (Systems, hardware, software, services, and data are managed throughout their life cycles) — Asset inventory is "the SaaS vendor's list" plus "what we remember"
  • ID.IM-04 (Incident response plans are exercised) — Plan exists, last tested three years ago
  • PR.AA-05 (Access permissions and authorizations are managed, incorporating the principles of least privilege) — Quarterly access review exists in policy, not in practice
  • PR.DS-01 (The confidentiality, integrity, and availability of data-at-rest are protected) — Encryption at rest "yes," but key management is "ask AWS"
  • DE.AE-08 (Incidents are declared when adverse events meet defined criteria) — Criteria not actually defined; "we'll know when we see it"
  • RS.CO-02 (Internal and external stakeholders are notified of incidents) — Notification matrix is in someone's head
  • RC.RP-01 (Recovery plan is executed) — Documented, never tested

Output Format

markdown
# NIST CSF 2.0 Posture Assessment
## Organization: [name]
## Scope: [what's in / out]
## Date: [date]
## Assessor: [name]

## Executive summary
[2-3 paragraphs in plain English — overall posture, top 3 risks, top 3 wins, recommended 90-day priorities]

## Profile

### Tier summary across functions
| Function | Current tier | Target tier |
|----------|--------------|-------------|
| GV | 2 | 3 |
| ID | 2 | 3 |
| PR | 3 | 3 |
| DE | 2 | 3 |
| RS | 3 | 3 |
| RC | 1 | 2 |

### Per-Subcategory detail
| Subcategory | Current state | Evidence | Tier | Target | Gap | Owner | Timeline |
|-------------|---------------|----------|------|--------|-----|-------|----------|

## Prioritized roadmap

### Next 30 days
- [Item, owner, success metric]

### Next 90 days
- [Item, owner, success metric]

### Next 12 months
- [Item, owner, success metric]

## Cross-references
[Links to evidence — audit reports, IR plans, IAM reports, etc.]

Translating to board language

Boards don't want Subcategory IDs. They want answers to three questions:

  1. Where are we exposed? (Top 3-5 material risks)
  2. What are we doing about it? (Specific investments, named owners, dates)
  3. How will we know we're better? (Quantitative metrics, target dates)

Use the CSF assessment as the backing detail. The board view is a one-page heatmap and three slides of priorities. The assessment goes in the appendix.

Boundaries

  • This skill produces governance artifacts and roadmaps — not exploitation
  • CSF assessments are not audits in the regulatory sense (SOC 2 audit, FedRAMP assessment, ISO 27001 certification audit are all separate processes); CSF mapping informs those but doesn't replace them
  • For audited environments (PCI, HIPAA, FedRAMP), the auditor's specific framework is authoritative; CSF mapping is a useful complement
  • Refuse to inflate tier ratings without evidence — Tier 3 means "evidence of documented org-wide processes," not "we hope to do this someday"
  • Where the assessment surfaces a finding that needs immediate action (active incident, exposed system), hand off to incident-triage or the relevant audit skill

References

  • NIST Cybersecurity Framework 2.0 (nist.gov/cyberframework)
  • NIST CSF 2.0 Quick Start Guides
  • NIST CSF Community Profiles (sector-specific starting points)
  • NIST SP 800-53 (controls catalog — provides specific controls that map to CSF Subcategories)
  • ISO 27001:2022 (alternative ISMS framework — frequently mapped against CSF for organizations doing both)
  • CIS Critical Security Controls v8 (alternative prioritized framework — strong overlap with CSF)
  • Cybersecurity Maturity Model Certification (CMMC) — for DoD contractors; uses CSF + NIST 800-171
  • "Cybersecurity Risk Management: Mastering the Fundamentals Using the NIST Cybersecurity Framework" — Cynthia Brumfield

常见问题

Csf Mapping AI 技能有什么作用?

Map your security posture against the NIST Cybersecurity Framework 2.0 (Govern, Identify, Protect, Detect, Respond, Recover). Produce a gap analysis, current/target tier assessment, and roadmap in the governance language that boards, auditors, and CISOs actually use. Use when the user mentions 'NIST CSF,' 'CSF 2.0,' 'cybersecurity framework,' 'security posture,' 'governance mapping,' 'CSF gap analysis,' 'CSF tiers,' 'cybersecurity maturity,' 'security roadmap,' 'CISO report,' 'board reporting,' 'security program,' or needs to translate technical findings into governance language.

为什么在 TypingMind 中使用 Csf Mapping?

因为您只需安装一次,就能搭配任何模型使用。Csf Mapping 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Csf Mapping?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/csf-mapping。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Csf Mapping?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Csf Mapping 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Csf Mapping 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Csf Mapping AI 技能免费吗?

是的。briiirussell 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇