← Back to list

security-scan
by muyen
From Vibe Coding to Production in Days, Not Months - A production-ready full-stack template with AI-native development workflow
⭐ 22🍴 5📅 Jan 20, 2026
SKILL.md
name: security-scan description: Proactive security scanning. Triggers when modifying auth, API endpoints, user data, or sensitive operations.
Security Scan Skill
Automatically scans for security issues when security-sensitive code is modified.
When to Activate
This skill should activate when:
- Changes touch authentication or authorization
- New API endpoints are added
- User input handling is modified
- Database queries are added/modified
- File uploads or storage operations
- Payment or financial operations
Security Checklist
1. Authentication & Authorization
- Auth middleware applied to protected routes
- Firebase Auth tokens properly validated
- User can only access their own data
- Admin endpoints properly restricted
2. Input Validation
- All user inputs validated
- Request body size limits
- File upload type/size restrictions
- Path traversal prevention
3. Data Protection
- No sensitive data in logs
- No secrets in code
- PII properly handled
- Signed URLs used for private files
4. API Security
- Rate limiting considered
- CORS properly configured
- Error messages don't leak info
- Proper HTTP status codes
5. Firebase/Firestore Security
- Security rules updated for new collections
- Rules tested with Firebase emulator
- No wildcard read/write rules
- Proper field-level validation
OWASP Top 10 Quick Check
- Injection - Parameterized queries?
- Broken Auth - Session management secure?
- Sensitive Data - Encrypted at rest/transit?
- XXE - XML parsing disabled/secured?
- Broken Access Control - Authorization checked?
- Misconfiguration - Default configs changed?
- XSS - Output encoded?
- Deserialization - Untrusted data validated?
- Components - Dependencies up to date?
- Logging - Security events logged?
Platform-Specific Checks
Backend (Go)
# Run security scan
cd backend && make security-scan
# Check for vulnerabilities
cd backend && make vuln-check
Web (Next.js)
# Check npm vulnerabilities
cd web && npm audit
# Check for secrets
grep -r "api_key\|secret\|password" web/src/
Output Format
## Security Scan Results
### Critical Vulnerabilities
- [Immediate action required]
### High Risk Issues
- [Should be fixed before deploy]
### Medium Risk Issues
- [Should be addressed soon]
### Recommendations
- [Security best practices]
Reference
See docs/SECURITY.md for detailed security requirements.
Score
Total Score
75/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


