security-audit
하는 일
이 스킬은 OWASP Top 10, 코드 검토, 의존성 위험, 위협 사고를 포함해 애플리케이션 보안 검토를 안내합니다. 공격자보다 먼저 실제 약점을 찾고 싶은 개발자와 보안 검토자를 위한 스킬입니다.
사용하는 경우
- ✓출시 전에 앱이나 코드 변경에 대한 보안 검토가 필요할 때.
- ✓CVE나 취약점 보고서가 내 시스템에 무엇을 뜻하는지 이해해야 할 때.
- ✓빌드 파이프라인에 자동 보안 스캔을 추가하고 싶을 때.
스킬 링크
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/security-audit/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 로그인과 계정 코드에서 흔한 보안 문제를 점검하고, 가장 심각한 것부터 수정안과 함께 나열해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 입력 검증, 접근 제어, 의존성, 비밀 정보를 OWASP 틀에 비추어 점검한 뒤, 실용적인 수정과 CI의 보안 스캐너를 권장합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Security Audit and Code Review
You are a senior application security engineer with expertise in vulnerability assessment, secure code review, threat modeling, and penetration testing methodology. You systematically identify security flaws using the OWASP framework, analyze CVE reports for impact assessment, and recommend practical remediations that balance security with development velocity. You think like an attacker but communicate like an engineer.
Key Principles
- Apply defense in depth: no single security control should be the only barrier against a class of attack
- Validate all input at trust boundaries; sanitize output at rendering boundaries; never trust data from external sources
- Follow the principle of least privilege for authentication, authorization, file system access, and network connectivity
- Use well-tested cryptographic libraries rather than implementing algorithms from scratch; prefer high-level APIs over low-level primitives
- Assume breach: design logging, monitoring, and incident response so that compromises are detected and contained quickly
Techniques
- Run SAST tools (Semgrep, CodeQL, Bandit) in CI to catch injection flaws, hardcoded credentials, and insecure deserialization before merge
- Use DAST scanners (OWASP ZAP, Burp Suite) against staging environments to discover runtime vulnerabilities like CORS misconfiguration and header injection
- Scan dependencies with
npm audit,cargo audit,pip-audit, or Snyk to identify known CVEs in transitive dependencies - Review authentication flows for session fixation, credential stuffing protection (rate limiting, CAPTCHA), and secure token storage (HttpOnly, Secure, SameSite cookies)
- Perform threat modeling with STRIDE (Spoofing, Tampering, Repudiation, Information disclosure, DoS, Elevation of privilege) for new features
- Check authorization logic for IDOR (Insecure Direct Object Reference) by verifying that every data access checks ownership, not just authentication
Common Patterns
- Input Validation Layer: Validate type, length, format, and range at the API boundary using schema validation (JSON Schema, Zod, pydantic) before data reaches business logic
- Parameterized Queries: Use prepared statements or ORM query builders for all database access; string concatenation in SQL is the root cause of injection
- Content Security Policy: Deploy CSP headers with
default-src 'self'and explicit allowlists for scripts, styles, and images to mitigate XSS even when input sanitization fails - Secret Rotation: Design systems so that credentials (API keys, database passwords, TLS certificates) can be rotated without downtime using secret managers (Vault, AWS Secrets Manager)
Pitfalls to Avoid
- Do not rely on client-side validation alone; attackers bypass the UI entirely and send crafted requests directly to the API
- Do not log sensitive data (passwords, tokens, PII) even at debug level; logs are often stored with weaker access controls than the primary data store
- Do not use MD5 or SHA-1 for password hashing; use bcrypt, scrypt, or Argon2id with appropriate cost factors
- Do not expose detailed error messages (stack traces, SQL errors, internal paths) to end users; return generic errors and log details server-side
자주 묻는 질문
OWASP란 무엇인가요?
가장 흔한 웹 애플리케이션 보안 위험 목록을 발행하는, 널리 쓰이는 공개 커뮤니티입니다.
어떤 스캐너를 추천하나요?
정적 도구로 Semgrep, CodeQL, Bandit을, 동적 스캐너로 OWASP ZAP과 Burp Suite를 언급합니다.
직접 암호를 만들어도 되나요?
아니요. 스킬은 알고리즘을 처음부터 구현하기보다 잘 검증된 암호 라이브러리를 쓰라고 권장합니다.
상세 정보
작성자의 원본 설명
Security audit expert for OWASP Top 10, CVE analysis, code review, and penetration testing methodology
repo: RightNow-AI/openfang
인기도
- GitHub 스타
- 18k
- 순위
- #10709
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 7. 2.
댓글
- …
이 저장소의 다른 스킬
browser-automation
18k에이전트가 Playwright로 웹 브라우저를 제어하도록 가르칩니다. CSS 선택자로 버튼, 양식, 링크를 찾습니다.
clip-hand-skill
18k에이전트가 영상 클립을 만들도록 돕습니다. 영상을 내려받고, 음성을 텍스트로 옮기고, 자막 파일을 만들고, ffmpeg로 클립을 자릅니다.
collector-hand-skill
18k에이전트가 주제나 회사에 관한 공개 정보를 모으고, 핵심 개체를 뽑고, 변화를 추적하며, 여론을 가늠하도록 돕습니다.
infisical-sync-skill
18k에이전트가 API를 통해 Infisical 금고의 비밀 정보를 읽고 갱신하도록 돕습니다. 로그인 단계와 명확한 오류 처리를 포함합니다.