| # | Función / Método | Módulo | Complejidad ciclomática | LOC | Blast Radius | Severidad | Riesgo principal |
|---|---|---|---|---|---|---|---|
| 1 |
OrchestratorEngine.dispatch_task()
core/orchestrator.py:287
|
core | 341 | CRÍTICO | Prompt injection · tenant bypass | ||
| 2 |
WebhookProcessor.handle_event()
api/webhooks.py:134
|
api | 218 | CRÍTICO | SSRF · deserialization | ||
| 3 |
QueryBuilder.build_dynamic()
db/query_builder.py:89
|
db | 167 | CRÍTICO | SQL injection potencial | ||
| 4 |
RBACMiddleware.check_permissions()
auth/rbac.py:56
|
auth | 143 | HIGH | Privilege escalation | ||
| 5 |
CeleryTask.execute_agent_run()
workers/agent_runner.py:201
|
workers | 189 | HIGH | Async race condition | ||
| 6 |
OAuthFlow.exchange_token()
auth/oauth2.py:112
|
auth | 121 | HIGH | Token leakage · CSRF | ||
| 7 |
PromptRenderer.render_template()
core/prompts.py:67
|
core | 98 | HIGH | Prompt injection directa | ||
| 8 |
TenantIsolator.filter_queryset()
db/tenancy.py:44
|
db | 82 | MEDIUM | Cross-tenant data leak | ||
| 9 |
APIRouter.route_request()
api/router.py:78
|
api | 71 | MEDIUM | Request smuggling | ||
| 10 |
CredentialStore.retrieve_secret()
core/credentials.py:33
|
core | 54 | MEDIUM | Secret exposure en logs |