Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Auto-activates during requirements analysis to assess security risks using OWASP Top 10 framework, identify security requirements, and recommend mitigation strategies.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
The security-assessor skill provides comprehensive security risk assessment capabilities for feature implementations. It evaluates potential security vulnerabilities using the OWASP Top 10 framework, identifies security requirements, and recommends appropriate mitigation strategies to ensure secure-by-design implementations.
This skill auto-activates when you:
Evaluate each of the 10 critical security risks:
Read the requirements to understand:
Use security-checklist.md to systematically evaluate each risk:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Check for:
Assessment Questions:
Risk Level: [None | Low | Medium | High | Critical]
Mitigation:
Based on OWASP assessment, document specific security requirements:
## Security Requirements
### Authentication
- **SR-AUTH-001**: Implement secure password storage (bcrypt, cost ≥12)
- **SR-AUTH-002**: Enforce password complexity (min 12 chars, mixed case, numbers, symbols)
- **SR-AUTH-003**: Implement account lockout after 5 failed attempts
- **SR-AUTH-004**: Session timeout after 30 minutes of inactivity
### Authorization
- **SR-AUTHZ-001**: Implement role-based access control (RBAC)
- **SR-AUTHZ-002**: Check permissions on every protected resource access
- **SR-AUTHZ-003**: Use indirect references to prevent ID enumeration
### Input Validation
- **SR-INPUT-001**: Validate all user input (whitelist approach)
- **SR-INPUT-002**: Sanitize input before database operations
- **SR-INPUT-003**: Limit input length to prevent DoS
- **SR-INPUT-004**: Validate file uploads (type, size, content)
### Data Protection
- **SR-DATA-001**: Encrypt sensitive data at rest (AES-256)
- **SR-DATA-002**: Use TLS 1.3+ for all data in transit
- **SR-DATA-003**: Never log sensitive data (passwords, tokens, PII)
- **SR-DATA-004**: Implement secure data deletion
### API Security
- **SR-API-001**: Implement rate limiting (100 requests/minute per user)
- **SR-API-002**: Use API keys with proper rotation
- **SR-API-003**: Validate content-type headers
- **SR-API-004**: Implement CORS properly
### Logging and Monitoring
- **SR-LOG-001**: Log all authentication attempts (success and failure)
- **SR-LOG-002**: Log all authorization failures
- **SR-LOG-003**: Implement anomaly detection
- **SR-LOG-004**: Alert on suspicious patterns
Use threat-modeling-guide.md to systematically identify threats:
Define testing approach:
## Security Testing Strategy
### Static Analysis
- Run security linters (Bandit for Python, ESLint security plugins)
- Check for hardcoded secrets
- Analyze dependency vulnerabilities
### Dynamic Analysis
- Penetration testing for authentication/authorization
- Input fuzzing for injection vulnerabilities
- Session management testing
- API security testing
### Code Review Focus
- Input validation implementation
- Authentication/authorization logic
- Cryptographic operations
- Error handling
- Logging implementation
### Automated Scanning
- Dependency vulnerability scanning (daily)
- SAST tools in CI/CD
- Container image scanning
Comprehensive OWASP Top 10 checklist with:
Guide for conducting threat modeling:
Feature: User login with email and password
- Users enter email and password
- System authenticates and creates session
- Users can reset forgotten passwords
## Security Assessment
### OWASP Top 10 Risks
1. **Broken Access Control**: LOW
- Feature implements authentication (positive control)
- Need to ensure session validation on all protected endpoints
2. **Cryptographic Failures**: MEDIUM
- Passwords must be hashed with bcrypt (cost ≥12)
- TLS required for credential transmission
- Session tokens must be cryptographically secure
3. **Injection**: LOW
- Email input must be validated
- Use parameterized queries for database operations
7. **Identification and Authentication Failures**: HIGH
- Primary authentication feature - critical risk
- Requires strong password policy
- Needs brute-force protection
- Must implement secure password reset
9. **Security Logging and Monitoring Failures**: MEDIUM
- Must log all authentication attempts
- Alert on suspicious patterns (multiple failures)
### Security Requirements
- **SR-AUTH-001**: Hash passwords with bcrypt (cost ≥12)
- **SR-AUTH-002**: Enforce strong passwords (min 12 chars)
- **SR-AUTH-003**: Implement rate limiting (5 attempts per 15min)
- **SR-AUTH-004**: Session timeout after 30min inactivity
- **SR-INPUT-001**: Validate email format
- **SR-DATA-001**: Use TLS 1.3+ for credential transmission
- **SR-LOG-001**: Log all authentication attempts
- **SR-LOG-002**: Alert on 10+ failures from same IP
### Recommendations
1. Implement MFA as optional enhancement
2. Consider passwordless authentication for future
3. Implement CAPTCHA after 3 failed attempts
4. Use secure password reset tokens (expiring, one-time use)
This skill is used by:
Version: 2.0.0 Auto-Activation: Yes (when assessing security) Phase: 1 (Requirements Analysis) Created: 2025-10-29
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Analyze feature requirements, dependencies, and security considerations. Use when starting feature implementation from GitHub issues to understand scope, technical feasibility, and risks.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Run SQL queries against psql, BigQuery, or MySQL from the terminal, including natural-language-to-SQL and schema exploration. Use when analyzing data, inspecting DB state, or debugging tables. Trigger on "query the database", "SQL", "show me data from", "explore table".
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Design REST APIs or function contracts with clear request/response specifications, error handling patterns, authentication strategies, and comprehensive documentation.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Generate comprehensive API endpoint tests for REST and GraphQL APIs. Creates tests for all HTTP methods, status codes, authentication, and validation.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Design component architecture and module structure using established architectural patterns for clean, maintainable, and scalable systems.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.