security-scan
БесплатноБез исполняемых скриптовНе проверенProactive security scanning. Triggers when modifying auth, API endpoints, user data, or sensitive operations.
от muyen★ 36 звёзд на GitHubОб этом скилле
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.
Установить security-scan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл security-scan?
Proactive security scanning. Triggers when modifying auth, API endpoints, user data, or sensitive operations.
Как установить скилл security-scan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-scan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic