security-pipeline
Solid보안 파이프라인 - CWE Top 25 + STRIDE 자동 검증
AI & Automation 5 stars
0 forks Updated yesterday MIT
Install
Quality Score: 79/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
## Overview
보안 파이프라인 스킬은 코드 변경 시 자동으로 CWE Top 25 기반 보안 검증을 수행한다.
`/handoff-verify --security`, `/commit-push-pr` 실행 시 통합 동작한다.
보안 체크리스트 참조: `~/.claude/skills/_reference/security-checklist.md`
effort:max가 항상 강제 적용된다. 보안 검증은 축약하지 않는다.
---
## Trigger Conditions
### 파일 패턴 기반 자동 트리거
다음 패턴을 포함하는 파일이 변경되면 보안 파이프라인이 자동으로 실행된다:
| 패턴 | 트리거 수준 | 설명 |
|------|-------------|------|
| `**/auth/**` | Full Scan | 인증 관련 모듈 |
| `**/payment/**` | Full Scan | 결제 처리 모듈 |
| `**/api/**` | CWE Scan | API 엔드포인트 |
| `**/middleware/**` | CWE Scan | 미들웨어 |
| `**/session*` | CWE Scan | 세션 관리 |
| `**/token*` | CWE Scan | 토큰 처리 |
| `**/crypto*` | CWE Scan | 암호화 로직 |
| `**/admin/**` | Full + STRIDE | 관리자 기능 |
| `**/upload*` | CWE Scan | 파일 업로드 |
| `**/.env*` | Credential Scan | 환경변수 파일 |
| `**/config/secret*` | Credential Scan | 시크릿 설정 |
### 커밋 기반 자동 트리거
`/commit-push-pr` 실행 시 staged 파일 목록에서 위 패턴이 감지되면,
커밋 전 보안 파이프라인이 자동으로 실행된다.
---
## CWE Scanning Rules
### Critical (커밋 차단)
| CWE ID | Rule | Grep Pattern |
|--------|------|--------------|
| CWE-89 | SQL Injection | `query\(.*\$\{`, `query\(.*\+` |
| CWE-79 | XSS | `innerHTML`, `dangerouslySetInnerHTML`, `v-html` |
| CWE-78 | OS Command Injection | `exec\(.*\$\{`, `spawn\(.*req\.` |
| CWE-77 | Command Injection | Template string in shell command |
| CWE-798 | Hardcoded Credentials | `apiKey\s*=\s*['"]`, `secret\s*=\s*['"]` |
### High (경고, 커밋 허용)
| CWE ID | Rule | Grep Pattern |
|--------|------|--------------|
| CWE-22 | Path Traversal | `\.\...
Details
- Author
- immacualate
- Repository
- immacualate/claude-forge
- Created
- 1 years ago
- Last Updated
- yesterday
- Language
- Shell
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
security-audit
웹 애플리케이션 보안 감사 스킬. 3-Layer 구조(자동 스캔, 코드 리뷰, 아키텍처 리뷰)로 체계적 보안 점검 수행. "보안 감사", "보안 점검", "security audit", "취약점 스캔", "OWASP 점검", "보안 리뷰", "XSS 점검", "SQLi 점검", "CSRF 점검", "인증 보안 검토", "권한 검토" 요청 시 사용. deploy-safety-guard(운영 안정성)와 구분: 이 스킬은 공격 벡터 관점의 보안 전문 감사.
1 Updated 2 days ago
SONGYEONGSIN AI & Automation Listed
security-scan
对代码变更进行安全扫描,覆盖依赖漏洞、危险 API 使用、供应链风险和常见安全反模式。由 code-reviewer 在 /code-review 和 /ship 流程中自动调用。
1 Updated today
Kucell AI & Automation Listed
security
명시 호출 deep context 보안 스캔. auth/RLS/Server Action 같이 hook 정적 패턴으로 못 잡는 의미 분석 전담. 표면 점검은 /security-audit, 정적 패턴은 security-lint hook이 담당.
1 Updated 2 days ago
SONGYEONGSIN