jperezdelreal/gymbro/security-review
Claude Code and agent skill by jperezdelreal/gymbro
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Security review patterns for GymBro iOS app and Azure backend
Install
npx vskill@latest install jperezdelreal/gymbro/security-reviewSKILL.md
The same SKILL.md was published earlier as jperezdelreal/gymbro/security-review.
Context
GymBro handles sensitive health data (HealthKit), payment information (StoreKit), and user credentials (Sign in with Apple JWT). The app has both an iOS client and Azure backend. Security review must cover both attack surfaces.
GymBro-Specific Security Scope
iOS Client
| Area | What to Check | |
|---|---|---|
| HealthKit data | Encrypted at rest, not logged, not sent to analytics | |
| Keychain usage | JWT tokens stored in Keychain, not UserDefaults | |
| Network security | TLS 1.2+ enforced, certificate pinning for backend API | |
| Local data | SwiftData encryption enabled, no sensitive data in logs | |
| StoreKit | Receipt validation, no client-side purchase unlocking |
Azure Backend
| Area | What to Check | |
|---|---|---|
| API authentication | JWT validation on every endpoint, token expiry checked | |
| Azure OpenAI proxy | Rate limiting, input sanitization, no prompt injection | |
| Cosmos DB | Firewall rules, managed identity auth (no connection strings) | |
| Key Vault | All secrets in Key Vault, no env vars with credentials | |
| Functions | HTTPS-only, CORS restricted to app bundle ID |
AI-Specific Security
| Area | What to Check | |
|---|---|---|
| Prompt injection | User input sanitized before passing to LLM | |
| Data exfiltration | AI responses don't leak system prompts or other user data | |
| Token limits | Max input/output tokens enforced to prevent abuse | |
| Conversation isolation | User A's conversation never visible to User B |
Patterns
Security Review Trigger Points
Run security review when:
- Any new API endpoint is added
- Authentication or authorization logic changes
- AI prompt system instructions change
- New Azure resources are provisioned
- Dependencies are updated
- Data model changes affect HealthKit or user PII
Review Severity Levels
| Level | GymBro Examples | |
|---|---|---|
| 🔴 CRITICAL | JWT validation bypass, HealthKit data exposed, prompt injection enabling data leak | |
| 🟠 HIGH | Missing rate limiting on AI proxy, hardcoded API key, CORS misconfiguration | |
| 🟡 MEDIUM | Verbose error messages exposing internals, missing input validation | |
| 🔵 LOW | Missing security headers, outdated dependency (no known CVE) |
Mandatory Security Checks (Pre-Release)
- [ ] No secrets in source code (use secret-handling skill)
- [ ] All API endpoints require authentication
- [ ] Rate limiting on AI coach proxy (per-user, per-minute)
- [ ] Input sanitization on all user-provided text sent to LLM
- [ ] HealthKit data never leaves device except via user-initiated export
- [ ] CloudKit data encrypted end-to-end
- [ ] No
print()orNSLog()of sensitive data in release builds - [ ] App Transport Security (ATS) enabled, no exceptions
- [ ] Certificate pinning for backend API domain
Anti-Patterns
- ❌ Storing JWT tokens in UserDefaults (use Keychain)
- ❌ Logging HealthKit data for debugging
- ❌ Passing raw user input to Azure OpenAI without sanitization
- ❌ Using connection strings instead of managed identity for Azure services
- ❌ Disabling ATS for development and forgetting to re-enable
- ❌ Client-side subscription validation without server verification
Security
- Security scanPassed, 90 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 repositoryChecking.squad/skills/shared/security-review/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/jperezdelreal/gymbro/security-review)