ClaudeSec

AI 보조 보안 개발 도구킷 — 보안 스캐너 · ISMS-P PDCA 대시보드 · 자산 관리 · 컴플라이언스 자동화. DevSecOps toolkit for AI-assisted secure development.

View the Project on GitHub Twodragon0/claudesec

Shell Lint Policy

ClaudeSec uses the same shell lint scope in local development and CI to reduce mismatch.

CI policy

  • Workflow: .github/workflows/lint.yml
  • Action: ludeeus/action-shellcheck pinned by commit SHA
  • ShellCheck engine version: v0.11.0
  • Failure threshold: severity: warning (warning and above fail)
  • Global options: SHELLCHECK_OPTS=-x
  • Scan scope:
    • scandir: ./scripts
    • additional_files: run
    • check_together: 'yes'

Option policy (SHELLCHECK_OPTS)

  • Default baseline is fixed at -x to resolve sourced file paths consistently.
  • Any future exception (for example, -e SC1090) must be added in both places:
    1. .github/workflows/lint.yml (SHELLCHECK_OPTS)
    2. this document (Shell Lint Policy)

Local policy

  • Command: ./scripts/lint-shell.sh
  • Scan scope:
    • scripts/*.sh
    • run
  • Resolution order:
    1. Use local shellcheck binary when available.
    2. Fallback to pinned Docker image koalaman/shellcheck-alpine:v0.10.0.

Verification command

./scripts/lint-shell.sh

See also: CI Operations Playbook

References