cratis/ai.distribution/review-security
Claude Code and agent skill by cratis/ai.distribution
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use this skill when asked to perform a security review or security audit of code in a Cratis-based project. Checks for injection, auth/authz, data exposure, secrets, and event-sourcing-specific vulnerabilities.
Install
npx vskill@latest install cratis/ai.distribution/review-securitySKILL.md
The same SKILL.md was published earlier as cratis/ai.distribution/review-security.
Perform a structured security review of changed code.
Input Validation & Injection
- [ ] All command properties validated before use (null, empty, range, format)
- [ ] No raw SQL concatenation — parameterized queries or EF Core only
- [ ] No user-supplied values passed to
Path.Combine,File.*, shell commands, or process args - [ ] No user-supplied values used as event-store keys without sanitization
Authentication & Authorization
- [ ] All HTTP endpoints decorated with
[Authorize]or explicitly[AllowAnonymous]with justification - [ ] Tenant isolation enforced — no cross-tenant data accessible without authorization
- [ ] Claims verified before acting on identity-dependent command data
Sensitive Data Exposure
- [ ] No passwords, secrets, API keys, or tokens stored in event properties or read models
- [ ] No PII returned to clients that did not provide it
- [ ] Query results scoped to requesting tenant/user — never return all-tenant data
Secrets & Configuration
- [ ] No secrets in source code, config files, or test fixtures
- [ ] Secrets loaded from environment variables or a secrets manager
- [ ] No hard-coded connection strings in non-test code
Event Sourcing Specifics
- [ ] Events are immutable records — no mutable state in the event store
- [ ] Aggregate/event-store IDs generated server-side, never accepted from untrusted clients
- [ ] Event upcasting logic does not allow injection of unexpected properties
- [ ] Uniqueness constraints cannot be bypassed by concurrent multi-tenant writes
Frontend
- [ ] No user-supplied values in
dangerouslySetInnerHTML - [ ] No tokens or secrets in
localStorage— usehttpOnlycookies or in-memory state - [ ] Command DTOs contain only the minimum required fields
- [ ] No client-side access control not also enforced server-side
Risk classification
- 🔴 Critical — must fix before merge
- 🟡 Medium — should fix soon
- 🟢 Low — fix when convenient
Output format
Start with: Security Review: ✅ No issues / ⚠️ Low-risk findings / ❌ Blocking issues found
Group findings by category. End with a summary table showing ✅/⚠️/❌ per category.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/review-security/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cratis/ai.distribution/review-security)