Tainted flow: 'MEM0_URL' from os.environ.get (line 17, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
def add_memory(text: str, source_agent: str, source_file: str) -> bool: """Add a memory to mem0 with unified user_id and source metadata.""" try: r = requests.post( f"{MEM0_URL}/api/memory/add", json={ "text": text,- Confidence
- 90% confidence
- Finding
- r = requests.post( f"{MEM0_URL}/api/memory/add", json={ "text": text, "user_id": UNIFIED_USER_ID, "metadata": {
