Command Palette

Search for a command to run...

Назад к скиллам
скилл № 99357

iso27001-sdlc

Scan a software repository for ISO 27001:2022 compliance of its software development controls. Produces a per-control compliance report covering Annex A…

БесплатноЗапускает вложенные скрипты
florianbuetowот florianbuetow★ 22 звезды на GitHub

Установить iso27001-sdlc в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

ISO 27001:2022 Software Development Compliance Scanner

Scans a repository and produces a compliance gap report against the ISO 27001:2022 Annex A software development controls (8.4, 8.25–8.33).

Before you start

Read references/controls.md — it contains the per-control scoring rules, example fix suggestions, and the mapping from evidence to status.

For 8.28 (Secure Coding) checks, also read references/secure-coding-patterns.md which contains the per-language/framework lookup tables for libraries, config locations, and unsafe code patterns.

Architecture: two-phase scan → score

The skill separates evidence collection (deterministic) from compliance scoring (judgment-based). This eliminates inconsistency where the same file gets assessed differently for different controls.

Phase 1 — Scan runs scripts/scan_repo.py to collect all file evidence into a single JSON structure. This is the only phase that touches the filesystem.

Phase 2 — Score reads the JSON evidence and applies the scoring rules from references/controls.md to produce the markdown report. Evidence is mapped to controls, not re-discovered per control.

Phase 1: Collect evidence

Run the scanning script:

python /path/to/skill/scripts/scan_repo.py /path/to/repo --output /tmp/iso27001-evidence.json

The script indexes the entire repo and produces structured evidence covering: file pattern matches, linter configs, security analysis tools, faker/synthetic data libraries, hardcoded secret patterns, .gitignore checks, CI/CD config analysis, ADR security content, security test files, language/container/IaC detection, and monorepo detection.

Review the scan summary printed to stderr. If the repo is a monorepo (the script detects this), see the Monorepo Handling section below before proceeding.

If the script fails or the repo is not locally available, fall back to manual scanning: use find, grep, and cat to collect the same evidence described in references/controls.md. The script is a convenience, not a hard dependency.

Phase 2: Score and report

Read the evidence JSON produced by Phase 1. For each of the 10 core controls (8.4, 8.25, 8.26, 8.27, 8.28, 8.29, 8.30, 8.31, 8.32, 8.33), apply the scoring rules in references/controls.md.

The evidence JSON maps to controls like this:

Evidence key Used by controls
file_evidence.codeowners 8.4, 8.32
file_evidence.pr_template, pr_template_security 8.25, 8.32
file_evidence.issue_template 8.25, 8.26
file_evidence.security_policy 8.25
architecture_security, adr_findings 8.27
file_evidence.threat_model 8.27
linter_evidence, security_analysis 8.28
secrets_findings, env_gitignore 8.28
file_evidence.lockfiles, file_evidence.dependency_scanning_config 8.28
secure_coding_practices.secure_coding_deps.input_validation 8.28, 8.26
secure_coding_practices.secure_coding_deps.authentication 8.28
secure_coding_practices.secure_coding_deps.password_hashing 8.28
secure_coding_practices.secure_coding_deps.security_headers 8.28
secure_coding_practices.secure_coding_deps.rate_limiting 8.28
secure_coding_practices.secure_coding_deps.sanitization 8.28
secure_coding_practices.secure_coding_deps.orm 8.28
secure_coding_practices.secure_coding_deps.structured_logging 8.28, supporting 8.16
secure_coding_practices.source_patterns.unsafe_functions 8.28
secure_coding_practices.source_patterns.raw_sql 8.28
secure_coding_practices.source_patterns.deprecated_crypto 8.28
secure_coding_practices.source_patterns.xss_template_escapes 8.28
secure_coding_practices.source_patterns.insecure_cors 8.28
secure_coding_practices.source_patterns.insecure_config 8.28
secure_coding_practices.csrf_evidence 8.28
secure_coding_practices.sbom_tooling 8.28, supporting 8.8
ci_evidence.security_jobs 8.25, 8.28, 8.29
security_test_files 8.29
file_evidence.env_specific_configs, file_evidence.env_dirs 8.31
file_evidence.changelog, file_evidence.commitlint_config 8.32
faker_evidence, file_evidence.test_fixtures_dirs 8.33

When a single piece of evidence is relevant to multiple controls, reference it consistently — do not re-assess or describe it differently in each section. Example: if CI has CodeQL configured, that's SAST evidence for 8.29, a security gate for 8.25, and supporting evidence for 8.28. State the fact once, reference it in each control.

After scoring core controls, do a lighter pass on supporting controls (5.8, 8.7, 8.8, 8.9, 8.16) — present if found, flag if absent, but don't fail the report over them.

Handling absent infrastructure

If no CI/CD configuration is found, do not attempt CI-related checks. Instead flag CI/CD as an analysis gap and include this guidance:

ISO 27001:2022 expects automated security controls integrated

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/controls.md
  • references/secure-coding-patterns.md
  • scripts/scan_repo.py
  • scripts/secure_coding_scanner.py

FAQ

Что делает скилл iso27001-sdlc?

Scan a software repository for ISO 27001:2022 compliance of its software development controls. Produces a per-control compliance report covering Annex A controls 8.4, 8.25–8.33 (source code access, secure SDLC, application security requirements, secure architecture, secure coding, security testing, outsourced development, environment separation, change management, and test data). Use this skill whenever a user mentions ISO 27001, ISMS compliance, security audit readiness, Annex A controls, secure SDLC compliance, or wants to check whether their codebase meets information security standards. Also trigger when the user asks about audit preparation for software development, security control gaps, or compliance posture of a repository — even if they don't mention ISO 27001 by name but describe wanting to verify security practices against a standard.

Как установить скилл iso27001-sdlc?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл iso27001-sdlc запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить iso27001-sdlc с