owasp-security
하는 일
이 스킬은 AI 에이전트에게 널리 쓰이는 OWASP 보안 표준과 점검할 흔한 약점의 참고 자료를 제공합니다. 보안 검토, 감사, 보안 기능 작업을 하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓개발자가 웹 앱, API, 모바일 앱의 보안 검토를 원할 때.
- ✓인증, 암호화, 접근 제어를 안전하게 만들어야 할 때.
- ✓프롬프트 주입 같은 위험을 AI나 에이전트 시스템에서 확인해야 할 때.
스킬 링크
https://github.com/davila7/claude-code-templates/blob/main/.claude-plugin/skills/owasp-security/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“로그인과 접근 제어 코드에서 흔한 OWASP 보안 문제를 검토해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 여섯 가지 OWASP 표준의 지침을 에이전트에게 제공합니다. 각 약점을 찾는 방법과 고치는 방법을 포함하며, 에이전트는 그 지침을 사용자가 지정한 코드에 적용합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Comprehensive OWASP Security Skills
A developer-focused security reference covering six OWASP standards for securing web applications, APIs, mobile apps, containers, and AI/LLM systems. Each section provides concise detection guidance, key requirements, and mitigation strategies.
Quick Navigation
- OWASP Top 10 (2021)
- OWASP ASVS 5.0
- OWASP MASVS v2.1.0
- OWASP API Security Top 10
- OWASP Kubernetes Top 10
- OWASP Agentic Applications 2026
Section 1: OWASP Top 10 (2021)
The OWASP Top 10 represents the most critical security risks in web applications.
A01: Broken Access Control
Detection: URLs with direct ID references (/user/1234/orders); client-side only enforcement; missing authorization checks.
Mitigation: Enforce server-side authorization for every sensitive operation; verify user ownership of resources; implement default-deny principle.
Example:
// INSECURE: No authorization check
app.get('/users/:id/orders', (req, res) => {
const orders = db.query('SELECT * FROM orders WHERE user_id = ?', req.params.id);
res.json(orders);
});
// SECURE: Authorization check
app.get('/users/:id/orders', (req, res) => {
if (req.user.id !== parseInt(req.params.id)) return res.status(403).json({error: 'Forbidden'});
const orders = db.query('SELECT * FROM orders WHERE user_id = ?', req.params.id);
res.json(orders);
});
Checklist: ☐ Authorization on server for all sensitive ops ☐ Default-deny policy ☐ No ID-based obscurity ☐ Whitelist allowed fields
A02: Cryptographic Failures
Detection: Sensitive data in plaintext; weak encryption (DES, ECB); missing TLS; hardcoded secrets in code. Mitigation: Always use HTTPS/TLS; encrypt data at rest with AES-256; store secrets in environment variables or vaults; mask sensitive logs. Example:
# INSECURE: API key in code
api_key = "sk-abc123xyz789"
# SECURE: From environment
import os
api_key = os.getenv("API_KEY")
if not api_key: raise ValueError("API_KEY not set")
Checklist: ☐ HTTPS enforced ☐ AES-256 encryption at rest ☐ No secrets in code ☐ Sensitive data masked in logs
A03: Injection (SQL, Command, NoSQL)
Detection: String concatenation in queries; exec, query, run with user input; no prepared statements.
Mitigation: Use parameterized queries; whitelist input; avoid string concatenation; use safe APIs (subprocess.run with list args).
Example:
# INSECURE: String concatenation
os.system("tar -czf " + filename + " /var/data")
# SECURE: List-based API
import subprocess
subprocess.run(["tar", "-czf", filename, "/var/data"], check=True)
Checklist: ☐ Parameterized queries only ☐ No string concat ☐ Whitelist input ☐ Safe subprocess calls
A04: Insecure Design
Detection: No threat modeling; missing security controls by design; no authentication/authorization from the start. Mitigation: Implement threat modeling early; design security in from the beginning; use established security libraries/patterns. Checklist: ☐ Threat modeling completed ☐ Security controls in design ☐ Auth/authz from start ☐ Security review in SDLC
A05: Security Misconfiguration
Detection: Debug mode enabled; default credentials; verbose error messages; missing security headers; exposed APIs. Mitigation: Disable debug mode; change defaults; hide version info; implement security headers (HSTS, CSP, X-Frame-Options). Example:
# INSECURE: Debug enabled in production
app.debug = True
# SECURE: Debug disabled
app.debug = False
app.config['HSTS_MAX_AGE'] = 31536000
Checklist: ☐ Debug disabled ☐ Defaults changed ☐ Security headers set ☐ No version disclosure
A06: Vulnerable & Outdated Components
Detection: Old versions in package.json/requirements.txt; unpatched frameworks; deprecated libraries.
Mitigation: Regularly audit dependencies with npm audit, pip safety, Snyk; remove unused packages; keep frameworks patched.
Checklist: ☐ Dependency audits regular ☐ No outdated versions ☐ Unused deps removed ☐ CI/CD security scanning
A07: Authentication Failures
Detection: Weak passwords; no MFA; predictable
자주 묻는 질문
어떤 표준을 다루나요?
OWASP Top 10, ASVS, MASVS, API Security Top 10, Kubernetes Top 10, 에이전트 애플리케이션 지침을 다룹니다.
안전한 앱을 보장하나요?
아닙니다. 흔한 문제를 찾고 고치기 위한 참고 자료이며, 전문가 감사를 대체하지 않습니다.
AI 시스템에도 도움이 되나요?
네. LLM과 에이전트 시스템의 프롬프트 주입과 위험에 대한 지침을 포함합니다.
상세 정보
작성자의 원본 설명
Comprehensive OWASP-aligned security guidance across six standards - Top 10 (2021) for web apps, ASVS 5.0, MASVS v2.1.0 for mobile, API Security Top 10 (2023), Kubernetes Top 10 (2022), and the Agentic Applications 2026 edition for AI/LLM. Use for security reviews, vulnerability audits, secure auth/crypto/access-control implementation, Kubernetes manifest hardening, and LLM/agent prompt-injection defense - including indirect requests like "is this login flow secure?", "review this endpoint", or "audit my pod spec".
인기도
- GitHub 스타
- 33k
- 순위
- #8518
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-management
33k에이전트가 AI Maestro 명령줄을 사용해 AI 에이전트를 만들고, 나열하고, 일시 정지하고, 깨우고, 이름을 바꾸고, 삭제하도록 돕습니다.
agent-messaging
33k에이전트가 Agent Messaging Protocol로 AI 에이전트 사이에 서명된 메시지를 보내고, 받고, 답하도록 돕습니다. 대부분 내 컴퓨터에서 작동합니다.
docs-search
33k에이전트가 자동 생성된 코드 문서에서 함수 시그니처, 클래스 정의, 주석을 검색하도록 해서, 코드를 바꾸기 전에 실제 API를 확인하게 합니다.
graph-query
33k에이전트가 코드를 편집하기 전에 코드 의존성 그래프를 조회해, 호출하는 쪽, 관련 컴포넌트, 변경의 영향 범위를 찾도록 돕습니다.