Files

89 lines
3.3 KiB
Markdown

# Ghaymah Cloud V2 — Platform Analysis & Security Testing
> Full exploration, security assessment, and comparison of the new Ghaymah Cloud V2 platform
> Target: https://deploy.ghaymah.systems
> Repository: [GitPasha / Ziad_Abdelgwad / ghaymah-v2-analysis](https://app.gitpasha.com/Ziad_Abdelgwad/ghaymah-v2-analysis)
## Overview
This folder contains a complete analysis of the **Ghaymah Cloud V2** platform, including:
- 🔍 **Infrastructure Discovery** — All endpoints, APIs, routes, and services mapped
- 🛡️ **Security Assessment** — 10 security tests covering IDOR, injection, auth, headers, and more
- 🚀 **Deployment Testing** — Microservice deployment verified (nginx gateway, Healthy status)
- 📊 **V1 vs V2 Comparison** — Feature-by-feature comparison with the previous version
- 🤖 **GenAI/LiteLLM** — AI gateway exploration and API key management
## Key Findings
| Finding | Status |
|---------|--------|
| **New managed services** | ✅ S3, PostgreSQL, Volumes, Secrets, Pull Secrets |
| **CLI tool (`gy`)** | ✅ Auto stack detection, one-command deploy |
| **22 Store templates** | ✅ Code Server, Grafana, WordPress, n8n, etc. |
| **GenAI integration** | ✅ LiteLLM gateway with budget controls |
| **Row-level security** | ✅ IDOR/cross-user access properly blocked |
| **Auth rate limiting** | ✅ 429 on rapid auth requests |
| **Security headers** | ❌ All 5 standard headers missing |
| **GraphQL introspection** | ⚠️ 148 types fully exposed |
| **App hosting domain** | ⚠️ Changed to `*.hosted.cumin.dev` |
| **Free plan limits** | ✅ 1 active app enforced server-side |
## Folder Structure
```
ghaymah_v2_analysis/
├── README.md ← This file
├── reports/
│ ├── GHAYMAH_V2_ANALYSIS_REPORT.md ← Full platform analysis
│ └── V1_VS_V2_COMPARISON.md ← V1 vs V2 comparison
├── scripts/
│ ├── v2_full_exploration.js ← Node.js exploration script
│ └── security_tests.ps1 ← PowerShell security tests
└── logs/
├── v2_exploration.log ← Exploration run log
├── v2_full_exploration_run.log ← Full script execution log
└── security_tests.log ← Security test results
```
## Reports
### [GHAYMAH_V2_ANALYSIS_REPORT.md](reports/GHAYMAH_V2_ANALYSIS_REPORT.md)
Complete platform analysis covering:
- 11 core endpoints discovered and probed
- 28 frontend routes mapped
- 15 GraphQL queries, 41 mutations, 22 subscriptions documented
- 22 store templates cataloged
- 10 security tests with results
- Deployment test (nginx gateway → Healthy)
- GenAI/LiteLLM exploration
- Recommendations
### [V1_VS_V2_COMPARISON.md](reports/V1_VS_V2_COMPARISON.md)
Feature-by-feature comparison:
- Architecture diagrams (V1 vs V2)
- 30+ features compared
- API surface comparison
- Security posture comparison
- Networking differences
- New store templates
## How to Run
### Exploration Script
```bash
node scripts/v2_full_exploration.js
```
### Security Tests (PowerShell)
```powershell
powershell -ExecutionPolicy Bypass -File scripts/security_tests.ps1
```
## Credentials Used
- Email: `ziad.abd.elgwad2003@gmail.com`
- Auth endpoint: `https://auth.ghaymah.systems/signin/email-password`
---
*Analysis date: 2026-10-22*