Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MISSION_BRIEF.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# 🚀 GADDS MISSION BRIEFING - 2026-02-17 15:06
# 🚀 GADDS MISSION BRIEFING - 2026-02-17 15:08

## 📊 Status do Sistema
- **Git Status:** ✅ Limpo e Sincronizado
Expand Down
10 changes: 9 additions & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@
- [ ] Gerar Sitemap.xml atualizado
- [ ] Validar estruturação Schema.org (JSON-LD)

- [ ] 💡 2026-02-07: Adicionar compressão Gzip/Brotli nas respostas do servidor para velocidade. (Sugerido por Jules)
<<<<<<< HEAD
## 📅 Log: 2026-02-07
### 🔍 Foco de SEO & Inovação:
- [ ] Verificar Meta Tags nas páginas novas
- [ ] Gerar Sitemap.xml atualizado
- [ ] Validar estruturação Schema.org (JSON-LD)
=======
- [ ] 💡 2026-02-07: Adicionar compressão Gzip/Brotli nas respostas do servidor para velocidade. (Sugerido por Jules)
>>>>>>> main
41 changes: 39 additions & 2 deletions gadds-dev/security_report.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
🛡️ Running Security Checks...
1. Checking for hardcoded secrets...
✅ No obvious hardcoded passwords found.
grep: gadds-dev/gadds-brain/routers/__pycache__/auth.cpython-312.pyc: binary file matches
grep: gadds-dev/gadds-brain/__pycache__/test_auth_validation.cpython-312.pyc: binary file matches
grep: gadds-dev/gadds-brain/__pycache__/create_admin.cpython-312.pyc: binary file matches
grep: gadds-dev/gadds-brain/__pycache__/main.cpython-312.pyc: binary file matches
grep: gadds-dev/gadds-brain/services/__pycache__/auth_service.cpython-312.pyc: binary file matches
grep: gadds-dev/gadds-brain/services/__pycache__/docker_service.cpython-312.pyc: binary file matches
gadds-dev/gadds-brain/create_admin.py: from services.auth_service import get_password_hash
gadds-dev/gadds-brain/create_admin.py: password = "admin" # Simple temporary password
gadds-dev/gadds-brain/create_admin.py: hashed_password = get_password_hash(password)
gadds-dev/gadds-brain/create_admin.py: "hashed_password": hashed_password,
gadds-dev/gadds-brain/create_admin.py: print(f"🔑 Senha: {password}")
gadds-dev/gadds-brain/routers/auth.py:from services.auth_service import verify_password, create_access_token, create_user, get_user
gadds-dev/gadds-brain/routers/auth.py: password: str
gadds-dev/gadds-brain/routers/auth.py: password: str
gadds-dev/gadds-brain/routers/auth.py: result = create_user(username=request.name, password=request.password, email=request.email, name=request.name)
gadds-dev/gadds-brain/routers/auth.py: if not user or not verify_password(request.password, user["hashed_password"]):
gadds-dev/gadds-brain/routers/auth.py: raise HTTPException(status_code=401, detail="Invalid username or password")
gadds-dev/gadds-brain/main.py: return mysql.connector.connect(host="localhost", user="root", password="root")
gadds-dev/gadds-brain/main.py: install_cmd = f"core install --url='{url_publica}' --title='{pedido.nome_cliente}' --admin_user='{nome_limpo}' --admin_password='{nome_limpo}' --admin_email='admin@gadds.dev.br' --skip-email"
gadds-dev/gadds-brain/services/docker_service.py: install_cmd = f"core install --url='{url}' --title='{safe_title}' --admin_user='admin' --admin_password='{admin_pass}' --admin_email='admin@{domain}' --skip-email"
gadds-dev/gadds-brain/services/auth_service.py:def verify_password(plain_password, hashed_password):
gadds-dev/gadds-brain/services/auth_service.py: if isinstance(plain_password, str):
gadds-dev/gadds-brain/services/auth_service.py: plain_password = plain_password.encode('utf-8')
gadds-dev/gadds-brain/services/auth_service.py: if isinstance(hashed_password, str):
gadds-dev/gadds-brain/services/auth_service.py: hashed_password = hashed_password.encode('utf-8')
gadds-dev/gadds-brain/services/auth_service.py: return bcrypt.checkpw(plain_password, hashed_password)
gadds-dev/gadds-brain/services/auth_service.py:def get_password_hash(password):
gadds-dev/gadds-brain/services/auth_service.py: if isinstance(password, str):
gadds-dev/gadds-brain/services/auth_service.py: password = password.encode('utf-8')
gadds-dev/gadds-brain/services/auth_service.py: return bcrypt.hashpw(password, bcrypt.gensalt()).decode('utf-8')
gadds-dev/gadds-brain/services/auth_service.py:def create_user(username: str, password: str, email: str = None, name: str = None):
gadds-dev/gadds-brain/services/auth_service.py: hashed_password = get_password_hash(password)
gadds-dev/gadds-brain/services/auth_service.py: "hashed_password": hashed_password,
⚠️ Potential hardcoded passwords found!
2. Verifying Python Syntax...
❌ Syntax Errors Found.
Listing 'gadds-dev/gadds-brain'...
Listing 'gadds-dev/gadds-brain/routers'...
Listing 'gadds-dev/gadds-brain/services'...
✅ Syntax OK.
✅ Security Check Complete.
7 changes: 7 additions & 0 deletions scripts/git_medic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<<<<<<< HEAD
import sys

print("🚑 Git Medic (Minimal) - System appears stable.")
sys.exit(0)
=======
#!/usr/bin/env python3
import sys

Expand All @@ -9,3 +15,4 @@ def main():

if __name__ == "__main__":
main()
>>>>>>> main