This skill should be used when performing security audits on Cratos - command injection analysis, REST API authorization review, WebSocket authentication, tool security, and generating actionable fix plans.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
This skill should be used when performing security audits on Cratos - command injection analysis, REST API authorization review, WebSocket authentication, tool security, and generating actionable fix plans.
version
1.0.0
Security Audit Skill
Cratos 프로젝트의 보안 감사를 수행하는 스킬. 코드 분석 → 취약점 식별 → 심각도 분류 → 수정 플랜 생성까지 E2E로 처리한다.
감사 범위
1. Command Injection (exec/bash 도구)
대상 파일:
crates/cratos-tools/src/builtins/exec.rs — 직접 실행 도구
crates/cratos-tools/src/builtins/bash.rs — PTY 기반 셸 도구 (5-layer security)
# exec 도구 보안 테스트
cargo test -p cratos-tools -- exec::tests --nocapture
# bash 도구 보안 테스트
cargo test -p cratos-tools -- bash::tests --nocapture
# 전체 보안 관련 테스트
cargo test -p cratos-tools --nocapture
cargo test -p cratos-core -- security --nocapture
# 의존성 취약점
cargo audit