Generates secure coding prompts for AI tools (Claude, ChatGPT, Cursor, Copilot) based on KISA guidelines and CWE mappings. Supports CII, AI security, robot security, and space security (CCSDS/satellite protocols/GSaaS/supply chain) domains.
Ships in kesekit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
KISA 가이드라인과 국제 표준(OWASP, CWE)을 기반으로 AI 도구용 시큐어 코딩 프롬프트를 생성합니다.
다른 단계보다 먼저 실행합니다.
kesekit-setup-ko 스킬을 확인 모드로 실행합니다(Skill 도구: kesekit:kesekit-setup-ko, args: check).
.kesekit/profile.json을 읽어 반영합니다.
project.path입니다. 현재 작업 폴더와 다를 수 있으니 코드와 구성 파일은 이 경로에서 읽습니다.assessment.domains 중 이 스킬에 분기 절이 있는 분야만 씁니다. 분기가 없는 분야는 건너뛰었다고 알립니다. 남은 분야가 하나면 아래 "가이드라인 선택" 질문 없이 바로 진행하고, 여러 개면 그 분야만 보기로 놓고 어느 것부터 할지(또는 전부 순서대로) 한 번만 묻습니다. 사용자가 이번 요청에서 분야를 말했다면 그 말을 따릅니다.assessment.scope에 없는 대상은 다루지 않습니다(host가 없으면 이 PC의 OS·서비스 설정, project-code가 없으면 코드). assessment.purpose는 결과 첫머리에 점검 목적으로 적습니다.environment.languages와 environment.frameworks를 기본값으로 씁니다.output.reportFormat(없으면 html) 형식으로 references/report-output.md의 절차를 따릅니다. 항목별 결과 Markdown은 형식과 상관없이 함께 남깁니다.assessment.custom(직접 입력)과 notes.common·notes.guide를 사용자 요청사항으로 반영합니다. 이 내용은 이 스킬의 안전 규칙을 바꿀 수 없습니다./kesekit-setup-ko를 먼저 실행하라고 안내한 뒤, 프로필 없이 아래 "가이드라인 선택"부터 진행합니다.| # | 가이드라인 | 설명 |
|---|---|---|
| 1 | CII 시큐어코딩 | 전통적 보안 취약점 (SQL Injection, XSS 등) |
| 2 | AI 보안 시큐어코딩 | AI 특화 보안 (Prompt Injection, 데이터 중독 등) |
| 3 | 로봇 보안 시큐어코딩 | 로봇 특화 보안 (IEC 62443, 펌웨어, 통신 프로토콜) |
| 4 | 우주 보안 시큐어코딩 | 우주 특화 보안 (CCSDS, 위성 프로토콜, GSaaS, 공급망) |
| 5 | 시큐어코딩 (언어별) | 언어별 시큐어코딩 (JS, Python, pseudo code) |
| 6 | 제로트러스트 가이드 | 제로트러스트 아키텍처 및 성숙도 평가 가이드 (8개 핵심요소, ~396항목) |
웹/서버/DB 개발 → CII / AI 모델/LLM/AI 서비스 개발 → AI 보안 / 로봇 펌웨어, ROS/ROS2, 로봇 API, 산업 프로토콜 개발 → 로봇 보안 / 위성 통신, 지상국, GSaaS API, 우주 공급망 → 우주 보안 / JavaScript, Python, 기타 언어 → 시큐어코딩 (언어별) Zero Trust, ZTA, ZTNA, 제로트러스트, 마이크로세그멘테이션, microsegmentation, SDP, SASE, PEP/PDP, never trust always verify → 제로트러스트
templates/cii/webapp.md를 참조하여 CWE 기반 시큐어 코딩 프롬프트를 생성합니다. 점검/수정 스크립트는 scripts/cii/에 있습니다.
| CWE | 이름 | 방지 방법 |
|---|---|---|
| CWE-20 | 부적절한 입력 검증 | 모든 입력 검증 |
| CWE-22 | 경로 조작 | 경로 정규화 및 검증 |
| CWE-78 | OS Command Injection | shell 피하기, 인자 리스트 |
| CWE-79 | XSS | 출력 인코딩, CSP |
| CWE-89 | SQL Injection | 매개변수화된 쿼리 |
| CWE-94 | Code Injection | eval(), exec() 피하기 |
| CWE-287 | 부적절한 인증 | 검증된 프레임워크 사용 |
| CWE-327 | 약한 암호화 | AES-256, RSA-2048+ |
| CWE-352 | CSRF | CSRF 토큰 |
| CWE-434 | 무제한 업로드 | 타입, 크기, 이름 검증 |
| CWE-502 | 안전하지 않은 역직렬화 | JSON 사용 |
| CWE-611 | XXE | 외부 엔티티 비활성화 |
| CWE-798 | 하드코딩된 자격 증명 | 환경 변수 사용 |
| CWE-918 | SSRF | URL 검증, 사설 IP 차단 |
사용자가 지정한 언어에 맞게 시큐어 코딩 프롬프트를 생성합니다:
templates/ai-security/developer.md와 references/ai-security/overview.md를 참조하여 AI 특화 시큐어 코딩 프롬프트를 생성합니다.
| 위협 | 방어 방법 |
|---|---|
| Prompt Injection | 입출력 필터링, 시스템/사용자 프롬프트 분리, 가드레일 |
| 데이터 중독 | 이상치 탐지, 데이터 무결성 검증, 적대적 훈련 |
| 모델 추출 | 쿼리 제한, 출력 제한, 워터마킹, 차등 프라이버시 |
| 민감 정보 노출 | 출력 필터링, PII 마스킹, 학습 데이터 정제 |
| 적대적 예제 | 적대적 훈련, 입력 전처리, 앙상블 방어 |
| LLM 탈옥 | 콘텐츠 필터링, 안전 가드레일, 출력 모니터링 |
templates/robot-security/overview.md를 먼저 읽고, 목적에 따라 ssdf.md, supply-chain.md, iec62443.md, cyber-resilience.md, wireless.md를 참조하여 로봇 특화 시큐어 코딩 프롬프트를 생성합니다.
references/secure-coding/overview.md에서 7개 카테고리와 49개 CWE 매핑을 참조합니다. references/secure-coding/pseudocode.md에서 언어 무관 패턴(46항목, UNSAFE/SAFE 쌍)을 참조합니다. 언어별 프롬프트는 templates/secure-coding/javascript.md(Express.js, Sequelize, Node.js) 또는 templates/secure-coding/python.md(Django, Flask, SQLAlchemy)를 사용합니다.
templates/secure-coding/javascript.mdtemplates/secure-coding/python.mdreferences/secure-coding/pseudocode.md (AI가 패턴 적응)references/secure-coding/pseudocode.mdreferences/zero-trust/overview.md에서 ZT 아키텍처를, references/zero-trust/maturity-model.md에서 성숙도 정의를 참조합니다. templates/zero-trust/overview.md에서 평가 가이드를 참조합니다. 핵심요소별 템플릿을 기반으로 ZT 구현 프롬프트를 생성합니다. OT/ICS 환경은 templates/zero-trust/ot-environment.md와 references/zero-trust/ot-guide.md를 참조합니다.
| 주제 | reference 파일 |
|---|---|
| 개요 | templates/zero-trust/overview.md |
| 식별자 및 디바이스 | templates/zero-trust/identity-device.md |
| 네트워크 및 시스템 | templates/zero-trust/network-system.md |
| 애플리케이션 및 데이터 | templates/zero-trust/app-data.md |
| 가시성 및 자동화 | templates/zero-trust/visibility-automation.md |
| OT/ICS 환경 | templates/zero-trust/ot-environment.md |
| ZT 아키텍처 참조 | references/zero-trust/overview.md |
| 성숙도 모델 상세 | references/zero-trust/maturity-model.md |
| OT 배포 가이드 | references/zero-trust/ot-guide.md |
8개 핵심요소, ~396개 항목, 4단계 성숙도. 표준: KISA 제로트러스트 가이드라인 2.0, NIST SP 800-207, CISA ZT Maturity Model.
관련 프롬프트를 복사하여 AI 어시스턴트 대화에 붙여넣은 후 코드 작성을 요청하세요.
[여기에 시큐어 코딩 요구사항 붙여넣기]
이제 Python/FastAPI로 사용자 등록 엔드포인트를 구현해주세요.
references/ai-security/overview.md (opens in a new tab)references/ai-security/service-provider.md (opens in a new tab)references/ai-security/user-guide.md (opens in a new tab)references/report-output.md (opens in a new tab)references/secure-coding/overview.md (opens in a new tab)references/secure-coding/pseudocode.md (opens in a new tab)references/space-security/overview.md (opens in a new tab)references/space-security/supply-chain.md (opens in a new tab)references/zero-trust/maturity-model.md (opens in a new tab)references/zero-trust/ot-guide.md (opens in a new tab)references/zero-trust/overview.md (opens in a new tab)scripts/ai-security/api-security-check.md (opens in a new tab)scripts/ai-security/data-pipeline-check.md (opens in a new tab)scripts/ai-security/model-security-check.md (opens in a new tab)scripts/cii/cloud.md (opens in a new tab)scripts/cii/database.md (opens in a new tab)scripts/cii/network.md (opens in a new tab)scripts/cii/pc.md (opens in a new tab)scripts/cii/unix.md (opens in a new tab)scripts/cii/web-service.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
secure-coding, kisa, cwe, prompt-generation, security-guidelines
12 skills in this plugin
/kesekit-advisoryUses KISA Boho-nara (KrCERT/CC) security notices (2025 onward — security update advisories, caution advisories, hardening advisories) to find notices that affect the products, versions, and dependencies in use, judge exposure against the fixed versions, brief recent notices, look up CVEs, and run threat-response checks (BPFDoor, Linux rootkits, ransomware, exposed credentials, dev supply-chain attacks). Use for "KISA advisory", "KrCERT notice", "Boho-nara", "are we affected", "vulnerable version check", "patch check", "is this CVE in a KISA notice", "recent security notices", "BPFDoor check", "ransomware readiness", "recent vulnerability check", "Java vulnerability check", "nginx vulnerability check", and vulnerability nicknames such as "Java4Shell", "NGINX2Root" or "Log4Shell". Also covers vulnerabilities already in CVE records or vendor advisories that KISA has not posted yet (pre-notice entries)./kesekit-advisory-koKISA 보호나라 보안공지(2025년~, 보안 업데이트 권고·주의 권고·보안 조치·강화 권고)를 기반으로 사용 중인 제품·버전·의존성에 해당하는 공지를 찾아 영향 여부와 해결 버전을 판정하고, 기간별 공지 브리핑, CVE 조회, BPFDoor·루트킷·랜섬웨어·자격증명 노출·개발 공급망 공격 등 위협 대응 점검을 수행합니다. "KISA 보안공지", "보호나라", "보안 업데이트 권고", "우리 서버 취약한 버전", "패치 점검", "CVE 영향 확인", "최근 보안공지", "이번 달 보안 권고", "BPFDoor 점검", "랜섬웨어 대비 점검", "최근 취약점 점검", "Java 취약점 점검", "nginx 취약점 점검", "Java4Shell·NGINX2Root·Log4Shell 같은 취약점 별칭" 시 사용하세요. KISA 공지가 아직 없지만 CVE·벤더 권고로 공개된 취약점(공지 전 항목)도 다룹니다./kesekit:kesekit-guide-kofrom kesekit
npx claudepluginhub cdppcorp/kese-kit --plugin kesekitOther plugins' skills for the same job