added files pertinent to this project

This commit is contained in:
2026-10-08 14:41:07 -04:00
parent b0f1ec0029
commit e17720411b
3 changed files with 638 additions and 0 deletions

1
sources/instruction.md Normal file
View File

@@ -0,0 +1 @@
Its possible our background workers (voice-synthsizer-job-handler and voice-cloning-job-handler) do not enforce strict tenant isolation when loading and updating MongoDB records. Specifically, job handlers fetch database models using only document IDs supplied in SQS payloads without verifying that they belong to the job's userId. Audit all db queries across both worker handlers and make them enforce strict multi-tenant authorization so users cannot access or modify records belonging to other tenants.