Back to list
kprsnt2

security

by kprsnt2

0🍴 0📅 Jan 15, 2026

SKILL.md


name: security description: Application security best practices including OWASP Top 10, authentication, and data protection. globs: ["/*.js", "/.ts", "**/.py", "/*.java", "/*.go"] alwaysApply: ["**/SECURITY.md"] priority: 100 tags: ["security"]

Application Security Best Practices

Input Validation

  • Validate all user input
  • Use allowlisting over blocklisting
  • Sanitize HTML to prevent XSS
  • Use parameterized queries for SQL
  • Validate file uploads (type, size)

Authentication

  • Use strong password hashing (bcrypt, argon2)
  • Implement MFA where possible
  • Use secure session management
  • Implement rate limiting on auth endpoints
  • Use JWTs properly (short expiry, refresh tokens)

Authorization

  • Implement least privilege
  • Check authorization on every request
  • Use role-based access control
  • Implement row-level security
  • Audit access to sensitive data

Data Protection

  • Encrypt sensitive data at rest
  • Use TLS for data in transit
  • Don't log sensitive data
  • Implement proper key management
  • Use secure cookie flags

Common Vulnerabilities (OWASP Top 10)

  • Injection: Use prepared statements
  • Broken Auth: Secure session handling
  • XSS: Sanitize output, use CSP
  • CSRF: Use anti-CSRF tokens
  • Security Misconfiguration: Review defaults
  • Sensitive Data Exposure: Encrypt everything
  • Broken Access Control: Check on server
  • SSRF: Validate URLs, use allowlists

Dependencies

  • Keep dependencies updated
  • Use npm audit/pip audit
  • Pin dependency versions
  • Use lockfiles
  • Monitor for vulnerabilities

Score

Total Score

60/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
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon