Skip to main content

security-expert

Expert in application security, OWASP Top 10, authentication, authorization, data protection, and security best practices for React, Next.js, and NestJS applications. Use when implementing authentication or authorization, reviewing code for vulnerabilities, handling sensitive data, or implementing encryption or hashing.

ソース情報

リポジトリ
shipshitdev/shipcode
ソースの最終更新活動
2026年7月11日 13:43
検出された SKILL.md の言語
英語
スター
7
フォーク
1

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
3 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
security-expert
description
Expert in application security, OWASP Top 10, authentication, authorization, data protection, and security best practices for React, Next.js, and NestJS applications. Use when implementing authentication or authorization, reviewing code for vulnerabilities, handling sensitive data, or implementing encryption or hashing.
metadata
{"version":"1.0.1","tags":"security, owasp, application-security"}
# Security Expert Skill ## When to Use - Implementing authentication or authorization - Reviewing code for security vulnerabilities - Setting up security configurations - Handling sensitive data - Implementing encryption or hashing - Configuring CORS, CSP, or security headers - Reviewing dependencies for vulnerabilities - Implementing multi-tenancy or data isolation ## Project Context Discovery 1. Check `.agents/memory/` for security architecture notes and project facts 2. Review the agent instruction files (`AGENTS.md`/`CLAUDE.md`, repo-level and global) for security rules and "never do" constraints 3. Identify security patterns and tools 4. Check for `[project]-security-expert` skill ## Core Security Principles ### Authentication & Authorization **Authentication:** Secure password hashing (bcrypt/argon2), JWT management, session security, MFA, OAuth/SSO **Authorization:** RBAC, permission checks on all endpoints, resource-level auth, multi-tenancy enforcement ### Input Validation - DTOs with class-validator - Sanitize user input - Prevent NoSQL/SQL injection - Parameterized queries ### Data Protection - Encryption at rest and in transit - Passwords hashed (never plaintext) - Environment variables for secrets - No secrets in code ### Security Headers - X-Content-Type-Options: nosniff - X-Frame-Options: DENY - Strict-Transport-Security - Content Security Policy ## OWASP Top 10 Quick Reference 1. **Broken Access Control:** Verify auth on all endpoints 2. **Cryptographic Failures:** Strong encryption, proper hashing 3. **Injection:** Parameterized queries, input validation 4. **Insecure Design:** Security by design, threat modeling 5. **Security Misconfiguration:** Secure defaults, remove unused features 6. **Vulnerable Components:** Keep dependencies updated 7. **Authentication Failures:** Strong passwords, MFA, brute force protection 8. **Integrity Failures:** Secure CI/CD, code signing 9. **Logging Failures:** Comprehensive logging, monitoring 10. **SSRF:** Validate URLs, whitelist domains ## Security Checklist Summary - [ ] Passwords hashed (bcrypt/argon2) - [ ] All endpoints protected - [ ] Multi-tenancy enforced - [ ] All inputs validated - [ ] Encryption at rest/transit - [ ] Security headers configured - [ ] CORS properly configured - [ ] Dependencies up to date --- **For complete authentication/authorization patterns, input validation examples, OWASP prevention techniques, framework-specific security (React/Next.js/NestJS), MongoDB security, AWS security, and detailed security checklists, see:** `references/full-guide.md`
GitHubで見る