← スキル一覧に戻る

security-scan
by vneseyoungster
ChocoVine turns "Vibes Coding" into Engineering. It stops hallucinations by enforcing a strict Research → Test → Code loop.
⭐ 23🍴 17📅 2026年1月23日
SKILL.md
name: security-scan description: Scan code for OWASP vulnerabilities and security issues. Use for security-sensitive implementations.
Security Scan Skill
Purpose
Identify and prevent security vulnerabilities.
OWASP Top 10 Checklist
Reference: checklists/owasp-top-10.md
A01: Broken Access Control
- Authorization on all endpoints
- Deny by default
- Rate limiting implemented
- CORS properly configured
A02: Cryptographic Failures
- Data encrypted in transit (HTTPS)
- Sensitive data encrypted at rest
- Strong algorithms used
- Keys properly managed
A03: Injection
- Parameterized queries
- Input validation
- Output encoding
- No eval() with user input
Authentication Checklist
Reference: checklists/auth-security.md
- Passwords hashed (bcrypt/argon2)
- Session properly managed
- Tokens securely stored
- Logout invalidates session
Data Validation Checklist
Reference: checklists/data-validation.md
- All input validated
- Type checking enforced
- Size limits set
- Format validation done
Automated Scan Script
#!/bin/bash
# Run dependency audit
npm audit
# Run static analysis (if available)
npx eslint --plugin security .
# Check for secrets
npx secretlint .
Vulnerability Severity Levels
Critical
- Remote code execution
- SQL injection
- Authentication bypass
- Sensitive data exposure
High
- Cross-site scripting (XSS)
- Cross-site request forgery (CSRF)
- Insecure deserialization
- Privilege escalation
Medium
- Information disclosure
- Missing encryption
- Weak session management
- Insufficient logging
Low
- Missing security headers
- Verbose error messages
- Outdated dependencies (no known exploits)
Security Report Format
Save to: docs/reviews/security-audit-{session}.md
Remediation Process
- Critical/High: Fix immediately, block merge
- Medium: Fix before release
- Low: Track in backlog
Best Practices
Do
- Use parameterized queries
- Validate all input
- Encode all output
- Use security headers
- Keep dependencies updated
Don't
- Hardcode secrets
- Trust user input
- Expose stack traces
- Use weak algorithms
- Skip authentication checks
スコア
総合スコア
70/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
