← スキル一覧に戻る

security-validation
by yldgio
Vibe Coding training sample creator: declarative AI-agent driven prompts and instructions for multi-level coding exercises.
⭐ 0🍴 0📅 2026年1月8日
SKILL.md
name: security-validation description: Security validation for password generator applications. Use when reviewing or implementing security measures for password handling.
Security Validation for Password Generators
When to Use
Use this skill when implementing, reviewing, or auditing security measures for password generation and handling.
Security Checklist
-
Randomness
- Use cryptographically secure random number generation (
crypto.getRandomValues()) - Never use
Math.random()for password generation
- Use cryptographically secure random number generation (
-
Memory Handling
- Avoid storing generated passwords in global variables
- Clear password from memory after copy operation
- Don't log passwords to console in production
-
Client-Side Security
- Passwords should never be transmitted to a server
- Use HTTPS if any network operations occur
- Implement Content Security Policy headers
-
Input Validation
- Validate password length is within acceptable bounds (1-128 characters)
- Sanitize all user inputs
- Prevent XSS in password display
Validation Commands
# Check for console.log statements with sensitive data
grep -r "console.log.*password" src/
# Verify crypto API usage
grep -r "Math.random" src/ # Should return no results
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です