← Back to list

web-security
by PaulKinlan
⭐ 2🍴 0📅 Jan 18, 2026
SKILL.md
name: web-security description: Expert knowledge in implementing secure web applications and protecting against common vulnerabilities. Covers OWASP Top 10, authentication and authorization, data protection, Content Security Policy (CSP), HTTPS/TLS, input validation, secure dependencies, and API security. Use when implementing security features or addressing security vulnerabilities. metadata: version: 1.0.0
Web Security Skill
Expert knowledge in implementing secure web applications and protecting against common vulnerabilities.
Core Competencies
- OWASP Top 10: Understanding and mitigating common web vulnerabilities
- Authentication & Authorization: Implementing secure auth systems
- Data Protection: Protecting sensitive data in transit and at rest
- Content Security Policy (CSP): Preventing XSS and injection attacks
- HTTPS/TLS: Ensuring secure communication
- Input Validation: Sanitizing and validating user input
- Secure Dependencies: Managing and auditing third-party packages
- API Security: Securing REST and GraphQL APIs
OWASP Top 10 Vulnerabilities
-
Broken Access Control
- Implement proper authorization checks
- Use principle of least privilege
- Deny by default
-
Cryptographic Failures
- Use TLS for data in transit
- Encrypt sensitive data at rest
- Use strong, standard algorithms
- Never store passwords in plaintext
-
Injection Attacks
- Use parameterized queries (prevent SQL injection)
- Sanitize user input
- Use Content Security Policy
- Validate and escape output
-
Insecure Design
- Threat modeling
- Secure by design principles
- Security requirements gathering
-
Security Misconfiguration
- Remove default credentials
- Keep software updated
- Disable unnecessary features
- Set secure headers
-
Vulnerable and Outdated Components
- Regular dependency audits
- Automated security scanning
- Keep dependencies updated
-
Identification and Authentication Failures
- Implement MFA
- Strong password policies
- Secure session management
- Rate limiting
-
Software and Data Integrity Failures
- Use Subresource Integrity (SRI)
- Verify digital signatures
- Validate data integrity
-
Security Logging and Monitoring Failures
- Log security events
- Monitor for suspicious activity
- Implement alerting
-
Server-Side Request Forgery (SSRF)
- Validate and sanitize URLs
- Use allowlists for external resources
- Network segmentation
Security Headers
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Strict-Transport-Security: max-age=31536000; includeSubDomains
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: geolocation=(), microphone=(), camera=()
Best Practices
-
Input Validation
- Validate on client AND server
- Use allowlists over denylists
- Sanitize HTML input (use DOMPurify)
- Validate file uploads
-
Authentication
- Use proven authentication libraries
- Implement proper session management
- Use HttpOnly and Secure cookies
- Implement CSRF protection
-
Data Protection
- Never expose sensitive data in URLs
- Use encryption for sensitive data
- Implement proper access controls
- Minimize data collection
-
API Security
- Use authentication tokens (JWT, OAuth)
- Implement rate limiting
- Validate request origins (CORS)
- Use API keys securely
-
Dependency Management
- Regular npm/yarn audit
- Use tools like Snyk or Dependabot
- Pin dependency versions
- Review dependencies before adding
Testing Tools
- OWASP ZAP
- Burp Suite
- npm audit / yarn audit
- Snyk
- SonarQube
- Security headers checker
- SSL Labs (for HTTPS configuration)
Score
Total Score
55/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon