Universal memory layer for AI Agents
2580 matches across 18 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/test_telemetry_aliasing.py | 36 | # ─── setup_config idempotency ──────────────────────────────────────────────── |
| MEDIUM | tests/test_telemetry_aliasing.py | 76 | # ─── read_anon_ids ─────────────────────────────────────────────────────────── |
| MEDIUM | tests/test_telemetry_aliasing.py | 128 | # ─── mark_aliased ──────────────────────────────────────────────────────────── |
| MEDIUM | tests/test_telemetry_aliasing.py | 167 | # ─── capture_identify ──────────────────────────────────────────────────────── |
| MEDIUM | tests/test_telemetry_aliasing.py | 228 | # ─── _maybe_alias_anon_to_email integration ────────────────────────────────── |
| MEDIUM | tests/test_telemetry_aliasing.py | 381 | # ─── End-to-end idempotency through real config ────────────────────────────── |
| MEDIUM | tests/test_server_params.py | 84 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 86 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 111 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 113 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 127 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 129 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 166 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 168 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 220 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 222 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 241 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 243 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 268 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 270 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 293 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 295 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 326 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 328 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 360 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 362 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 414 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 416 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 451 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 453 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 512 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 514 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 567 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 569 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 595 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 597 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 19 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_params.py | 21 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_params.py | 56 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 58 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 193 | # =========================================================================== |
| MEDIUM | tests/test_server_params.py | 195 | # =========================================================================== |
| MEDIUM | tests/test_memory.py | 822 | # ─── Entity Param Rejection Tests ───────────────────────────────────────────── |
| MEDIUM | tests/test_memory.py | 859 | # ─── Regression: AsyncMemory._create_memory must store text_lemmatized ───────── |
| MEDIUM | tests/test_main.py | 246 | # ============================================================================= |
| MEDIUM | tests/test_main.py | 248 | # ============================================================================= |
| MEDIUM | tests/test_server_auth.py | 472 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 474 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 23 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 25 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 58 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 60 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 148 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 150 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 303 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 305 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 397 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_server_auth.py | 399 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/vector_stores/test_turbopuffer.py | 116 | # ── create_col ─────────────────────────────────────────────────────── |
| MEDIUM | tests/vector_stores/test_turbopuffer.py | 130 | # ── insert ─────────────────────────────────────────────────────────── |
| 313 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | openclaw/public-artifacts.ts | 22 | export function createPublicArtifactsProvider(ctx: PublicArtifactsContext) { |
| LOW | openclaw/skill-loader.ts | 477 | export function resolveCredentialPatterns(config: SkillsConfig = {}): string[] { |
| LOW | openclaw/telemetry.ts | 38 | function getOrCreateAnonymousId(): string { |
| LOW | openclaw/filtering.ts | 161 | export function isGenericAssistantMessage(content: string): boolean { |
| LOW | openclaw/filtering.ts | 196 | export function filterMessagesForExtraction( |
| LOW | openclaw/tools/memory-event-list.ts | 4 | export function createMemoryEventListTool(deps: ToolDeps) { |
| LOW | openclaw/tools/memory-event-status.ts | 4 | export function createMemoryEventStatusTool(deps: ToolDeps) { |
| LOW | openclaw/cli/config-file.ts | 241 | export function clearAnonymousTelemetryId(): void { |
| LOW | tests/test_oss_to_platform_migrate.py | 378 | def test_existing_api_key_authenticates_and_stitches_ids(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 409 | def test_email_code_authenticates_without_persisting_credentials(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 439 | def test_invalid_stored_key_falls_back_to_email_code(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 472 | def test_email_code_failure_reports_failed_telemetry(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 498 | def test_malformed_config_does_not_crash_and_authenticates(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 518 | def test_weird_telemetry_shape_does_not_crash(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 555 | def test_curl_piped_help_works() -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 568 | def test_export_qdrant_memories_to_json_without_vectors_or_api_key(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 652 | def test_export_requires_scope_or_all(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 662 | def test_export_all_uses_no_qdrant_filter(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 675 | def test_export_invalid_qdrant_credentials_fail_clearly(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 690 | def test_import_platform_memories_from_export_json(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 735 | def test_import_skips_existing_identical_memory(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 764 | def test_import_reports_changed_existing_without_update_or_add(tmp_path: Path) -> None: |
| LOW | tests/test_oss_to_platform_migrate.py | 798 | def test_full_flow_auth_export_and_imports_memories(tmp_path: Path) -> None: |
| LOW | tests/test_telemetry_aliasing.py | 40 | def test_creates_config_when_missing(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 47 | def test_backfills_user_id_when_only_telemetry_present(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 59 | def test_does_not_overwrite_existing_user_id(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 67 | def test_handles_malformed_json(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 114 | def test_no_config_returns_all_none(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 120 | def test_malformed_json_does_not_raise(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 132 | def test_writes_aliased_pair_preserving_other_fields(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 149 | def test_creates_telemetry_section_when_missing(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 157 | def test_tracks_each_pair_independently(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 171 | def test_fires_identify_with_anon_distinct_id(self): |
| LOW | tests/test_telemetry_aliasing.py | 185 | def test_skips_when_anon_equals_email(self): |
| LOW | tests/test_telemetry_aliasing.py | 194 | def test_skips_when_inputs_empty(self): |
| LOW | tests/test_telemetry_aliasing.py | 204 | def test_noop_when_telemetry_disabled(self): |
| LOW | tests/test_telemetry_aliasing.py | 212 | def test_does_not_raise_on_posthog_error(self): |
| LOW | tests/test_telemetry_aliasing.py | 221 | def test_identify_is_in_lifecycle_events(self): |
| LOW | tests/test_telemetry_aliasing.py | 236 | def test_fires_identify_for_oss_uuid(self): |
| LOW | tests/test_telemetry_aliasing.py | 254 | def test_fires_identify_for_cli_anon(self): |
| LOW | tests/test_telemetry_aliasing.py | 271 | def test_fires_identify_for_both_anon_ids(self): |
| LOW | tests/test_telemetry_aliasing.py | 291 | def test_skips_when_pair_already_aliased(self): |
| LOW | tests/test_telemetry_aliasing.py | 308 | def test_skips_when_email_invalid(self): |
| LOW | tests/test_telemetry_aliasing.py | 317 | def test_skips_when_telemetry_disabled(self): |
| LOW | tests/test_telemetry_aliasing.py | 352 | def test_skips_anon_id_equal_to_email(self): |
| LOW | tests/test_telemetry_aliasing.py | 369 | def test_does_not_raise_on_read_failure(self): |
| LOW | tests/test_telemetry_aliasing.py | 388 | def test_second_call_is_noop_after_pair_marker_persisted(self, tmp_mem0_dir): |
| LOW | tests/test_telemetry_aliasing.py | 334 | def test_does_not_raise_on_telemetry_failure(self): |
| LOW | tests/test_telemetry_sampling.py | 32 | def test_invalid_values_fall_back_to_default(self, raw): |
| LOW | tests/test_telemetry_sampling.py | 45 | def test_lifecycle_event_passes_through_at_high_random(self): |
| LOW | tests/test_telemetry_sampling.py | 53 | def test_hot_path_event_dropped_when_random_above_rate(self): |
| LOW | tests/test_telemetry_sampling.py | 59 | def test_hot_path_event_passes_when_random_below_rate(self): |
| LOW | tests/test_telemetry_sampling.py | 67 | def test_hot_path_annotates_sample_rate(self): |
| LOW | tests/test_telemetry_sampling.py | 73 | def test_lifecycle_annotates_sample_rate_one(self): |
| LOW | tests/test_telemetry_sampling.py | 77 | def test_rate_zero_drops_all_hot_path(self): |
| LOW | tests/test_telemetry_sampling.py | 84 | def test_rate_zero_still_passes_lifecycle(self): |
| LOW | tests/test_telemetry_sampling.py | 89 | def test_rate_one_passes_all_events(self): |
| LOW | tests/test_telemetry_sampling.py | 95 | def test_does_not_override_caller_supplied_sample_rate_for_hot_path(self): |
| LOW | tests/test_telemetry_sampling.py | 104 | def test_handles_missing_properties_dict(self): |
| LOW | tests/test_telemetry_sampling.py | 111 | def test_handles_missing_event_field(self): |
| 1018 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | LLM.md | 50 | client = MemoryClient(api_key="your-api-key") |
| HIGH | LLM.md | 65 | const client = new MemoryClient({ apiKey: 'your-api-key' }); |
| HIGH | LLM.md | 170 | api_key="your-api-key", # or set MEM0_API_KEY env var |
| HIGH | LLM.md | 406 | "api_key": "your-api-key", |
| HIGH | LLM.md | 478 | apiKey: 'your-api-key', |
| HIGH | LLM.md | 1141 | memory_client = MemoryClient(api_key="your-api-key") |
| HIGH | tests/vector_stores/test_azure_ai_search.py | 614 | # Test with api_key="your-api-key" |
| HIGH | tests/vector_stores/test_azure_ai_search.py | 618 | api_key="your-api-key", |
| HIGH | tests/embeddings/test_azure_openai_embeddings.py | 144 | base_embedder_config.azure_kwargs.api_key = "your-api-key" |
| HIGH | tests/llms/test_azure_openai_structured.py | 92 | config = DummyConfig(model=None, azure_kwargs=DummyAzureKwargs(api_key="your-api-key")) |
| HIGH | tests/llms/test_azure_openai.py | 328 | config.azure_kwargs.api_key = "your-api-key" |
| HIGH | mem0-ts/src/oss/src/vector_stores/azure_ai_search.ts | 100 | this.apiKey && this.apiKey !== "" && this.apiKey !== "your-api-key" |
| HIGH | …m0-ts/src/community/src/integrations/langchain/mem0.ts | 135 | * apiKey: "your-api-key", |
| HIGH | docs/llms.txt | 50 | client = MemoryClient(api_key="your-api-key") |
| HIGH | docs/llms.txt | 80 | const client = new MemoryClient({ apiKey: "your-api-key" }); |
| HIGH | docs/openapi.json | 1444 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| HIGH | docs/openapi.json | 1448 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 1452 | "source": "curl -X POST 'https://api.mem0.ai/v2/memories/' \\\n-H 'Authorization: Token your-api-key' \\\n-H 'Cont |
| HIGH | docs/openapi.json | 1456 | "source": "package main\n\nimport (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net/http\"\ |
| HIGH | docs/openapi.json | 1460 | "source": "<?php\n\n$curl = curl_init();\n\n$filters = [\n 'AND' => [\n ['user_id' => 'alex'],\n ['created_ |
| HIGH | docs/openapi.json | 1464 | "source": "import com.konghq.unirest.http.HttpResponse;\nimport com.konghq.unirest.http.Unirest;\nimport org.json. |
| HIGH | docs/openapi.json | 4124 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\n\ |
| HIGH | docs/openapi.json | 4128 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 4136 | "source": "// To use the Go SDK, install the package:\n// go get github.com/mem0ai/mem0-go\n\npackage main\n\nimpo |
| HIGH | docs/openapi.json | 4140 | "source": "<?php\n// To use the PHP SDK, install the package:\n// composer require mem0ai/mem0-php\n\nrequire_once |
| HIGH | docs/openapi.json | 4144 | "source": "// To use the Java SDK, add this dependency to your pom.xml:\n// <dependency>\n// <groupId>ai.mem0< |
| HIGH | docs/openapi.json | 4249 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\n\ |
| HIGH | docs/openapi.json | 4253 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 4261 | "source": "// To use the Go SDK, install the package:\n// go get github.com/mem0ai/mem0-go\n\npackage main\n\nimpo |
| HIGH | docs/openapi.json | 4265 | "source": "<?php\n// To use the PHP SDK, install the package:\n// composer require mem0ai/mem0-php\n\nrequire_once |
| HIGH | docs/openapi.json | 4269 | "source": "// To use the Java SDK, add this dependency to your pom.xml:\n// <dependency>\n// <groupId>ai.mem0< |
| HIGH | docs/openapi.json | 4927 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| HIGH | docs/openapi.json | 4931 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 4935 | "source": "curl -X PUT \"https://api.mem0.ai/v1/batch/\" \\\n -H \"Authorization: Token your-api-key\" \\\n |
| HIGH | docs/openapi.json | 5006 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| HIGH | docs/openapi.json | 5010 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 5014 | "source": "curl -X DELETE \"https://api.mem0.ai/v1/batch/\" \\\n -H \"Authorization: Token your-api-key\" \\\n |
| HIGH | docs/openapi.json | 5111 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| HIGH | docs/openapi.json | 5115 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 5119 | "source": "# Get all webhooks\ncurl --request GET \\\n --url 'https://api.mem0.ai/api/v1/webhooks/your_project_id |
| HIGH | docs/openapi.json | 5123 | "source": "<?php\n\n$curl = curl_init();\n\n// Get all webhooks\ncurl_setopt_array($curl, [\n CURLOPT_URL => \"ht |
| HIGH | docs/openapi.json | 5127 | "source": "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() { |
| HIGH | docs/openapi.json | 5131 | "source": "// Get all webhooks\nHttpResponse<String> response = Unirest.get(\"https://api.mem0.ai/api/v1/webhooks/ |
| HIGH | docs/openapi.json | 5274 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| HIGH | docs/openapi.json | 5278 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 5282 | "source": "curl -X POST \"https://api.mem0.ai/api/v1/webhooks/your_project_id/webhook/\" \\\n -H \"Authorizati |
| HIGH | docs/openapi.json | 5286 | "source": "<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n CURLOPT_URL => \"https://api.mem0.ai/a |
| HIGH | docs/openapi.json | 5290 | "source": "package main\n\nimport (\n \"fmt\"\n \"strings\"\n \"net/http\"\n \"io/ioutil\"\n)\n\nfunc |
| HIGH | docs/openapi.json | 5294 | "source": "import com.konghq.unirest.http.HttpResponse;\nimport com.konghq.unirest.http.Unirest;\n\n// Create a we |
| HIGH | docs/openapi.json | 5419 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| HIGH | docs/openapi.json | 5423 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 5427 | "source": "# Update a webhook\ncurl --request PUT \\\n --url 'https://api.mem0.ai/api/v1/webhooks/your_webhook_id |
| HIGH | docs/openapi.json | 5431 | "source": "<?php\n\n$curl = curl_init();\n\n// Update a webhook\ncurl_setopt_array($curl, [\n CURLOPT_URL => \"ht |
| HIGH | docs/openapi.json | 5435 | "source": "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() { |
| HIGH | docs/openapi.json | 5439 | "source": "// Update a webhook\nHttpResponse<String> response = Unirest.put(\"https://api.mem0.ai/api/v1/webhooks/ |
| HIGH | docs/openapi.json | 5514 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| HIGH | docs/openapi.json | 5518 | "source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai |
| HIGH | docs/openapi.json | 5522 | "source": "curl -X DELETE \"https://api.mem0.ai/api/v1/webhooks/your_webhook_id/webhook/\" \\\n -H \"Authoriza |
| HIGH | docs/openapi.json | 5526 | "source": "<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n CURLOPT_URL => \"https://api.mem0.ai/a |
| HIGH | docs/openapi.json | 5530 | "source": "package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"io/ioutil\"\n)\n\nfunc main() {\n req |
| 89 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …pencode-skills/mem0/references/integration-patterns.md | 0 | you are a helpful personal assistant with memory capabilities. use search_memory to recall past conversations. use save_ |
| HIGH | …-plugin/skills/mem0/references/integration-patterns.md | 0 | you are a helpful personal assistant with memory capabilities. use search_memory to recall past conversations. use save_ |
| HIGH | skills/mem0/references/integration-patterns.md | 0 | you are a helpful personal assistant with memory capabilities. use search_memory to recall past conversations. use save_ |
| HIGH | …pencode-skills/mem0/references/integration-patterns.md | 0 | route travel questions to travel planner, health questions to health advisor. |
| HIGH | …-plugin/skills/mem0/references/integration-patterns.md | 0 | route travel questions to travel planner, health questions to health advisor. |
| HIGH | skills/mem0/references/integration-patterns.md | 0 | route travel questions to travel planner, health questions to health advisor. |
| HIGH | …pencode-skills/mem0/references/integration-patterns.md | 0 | answer considering previous interactions: previous context: {context} question: {question} |
| HIGH | …-plugin/skills/mem0/references/integration-patterns.md | 0 | answer considering previous interactions: previous context: {context} question: {question} |
| HIGH | skills/mem0/references/integration-patterns.md | 0 | answer considering previous interactions: previous context: {context} question: {question} |
| HIGH | …de-plugin/opencode-skills/mem0/references/use-cases.md | 0 | you are ray, a personal fitness coach. use these known facts about the user to personalize your response: {context if co |
| HIGH | mem0-plugin/skills/mem0/references/use-cases.md | 0 | you are ray, a personal fitness coach. use these known facts about the user to personalize your response: {context if co |
| HIGH | skills/mem0/references/use-cases.md | 0 | you are ray, a personal fitness coach. use these known facts about the user to personalize your response: {context if co |
| HIGH | …de-plugin/opencode-skills/mem0/references/use-cases.md | 0 | search memories for a specific user within a specific session. |
| HIGH | mem0-plugin/skills/mem0/references/use-cases.md | 0 | search memories for a specific user within a specific session. |
| HIGH | skills/mem0/references/use-cases.md | 0 | search memories for a specific user within a specific session. |
| HIGH | …de-plugin/opencode-skills/mem0/references/use-cases.md | 0 | infer user preferences and facts from their search queries. extract dietary preferences, location, interests, and purcha |
| HIGH | mem0-plugin/skills/mem0/references/use-cases.md | 0 | infer user preferences and facts from their search queries. extract dietary preferences, location, interests, and purcha |
| HIGH | skills/mem0/references/use-cases.md | 0 | infer user preferences and facts from their search queries. extract dietary preferences, location, interests, and purcha |
| HIGH | mem0/vector_stores/cassandra.py | 0 | insert vectors into the collection. args: vectors (list[list[float]]): list of vectors to insert payloads (list[dict], o |
| HIGH | mem0/vector_stores/azure_mysql.py | 0 | insert vectors into the collection. args: vectors (list[list[float]]): list of vectors to insert payloads (list[dict], o |
| HIGH | mem0/vector_stores/supabase.py | 0 | insert vectors into the collection. args: vectors (list[list[float]]): list of vectors to insert payloads (list[dict], o |
| HIGH | mem0/vector_stores/cassandra.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete |
| HIGH | mem0/vector_stores/azure_mysql.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete |
| HIGH | mem0/vector_stores/supabase.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete |
| HIGH | mem0/vector_stores/milvus.py | 0 | parse the output data. args: data (dict): output data. returns: list[outputdata]: parsed output data. |
| HIGH | mem0/vector_stores/weaviate.py | 0 | parse the output data. args: data (dict): output data. returns: list[outputdata]: parsed output data. |
| HIGH | mem0/vector_stores/chroma.py | 0 | parse the output data. args: data (dict): output data. returns: list[outputdata]: parsed output data. |
| HIGH | mem0/vector_stores/vertex_ai_vector_search.py | 0 | parse the output data. args: data (dict): output data. returns: list[outputdata]: parsed output data. |
| HIGH | mem0/vector_stores/milvus.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete. |
| HIGH | mem0/vector_stores/mongodb.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete. |
| HIGH | mem0/vector_stores/faiss.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete. |
| HIGH | mem0/vector_stores/pgvector.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete. |
| HIGH | mem0/vector_stores/azure_ai_search.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete. |
| HIGH | mem0/vector_stores/baidu.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete. |
| HIGH | mem0/vector_stores/chroma.py | 0 | delete a vector by id. args: vector_id (str): id of the vector to delete. |
| HIGH | mem0/vector_stores/milvus.py | 0 | update a vector and its payload. args: vector_id (str): id of the vector to update. vector (list[float], optional): upda |
| HIGH | mem0/vector_stores/mongodb.py | 0 | update a vector and its payload. args: vector_id (str): id of the vector to update. vector (list[float], optional): upda |
| HIGH | mem0/vector_stores/pgvector.py | 0 | update a vector and its payload. args: vector_id (str): id of the vector to update. vector (list[float], optional): upda |
| HIGH | mem0/vector_stores/azure_ai_search.py | 0 | update a vector and its payload. args: vector_id (str): id of the vector to update. vector (list[float], optional): upda |
| HIGH | mem0/vector_stores/baidu.py | 0 | update a vector and its payload. args: vector_id (str): id of the vector to update. vector (list[float], optional): upda |
| HIGH | mem0/vector_stores/milvus.py | 0 | retrieve a vector by id. args: vector_id (str): id of the vector to retrieve. returns: outputdata: retrieved vector. |
| HIGH | mem0/vector_stores/faiss.py | 0 | retrieve a vector by id. args: vector_id (str): id of the vector to retrieve. returns: outputdata: retrieved vector. |
| HIGH | mem0/vector_stores/pgvector.py | 0 | retrieve a vector by id. args: vector_id (str): id of the vector to retrieve. returns: outputdata: retrieved vector. |
| HIGH | mem0/vector_stores/azure_ai_search.py | 0 | retrieve a vector by id. args: vector_id (str): id of the vector to retrieve. returns: outputdata: retrieved vector. |
| HIGH | mem0/vector_stores/baidu.py | 0 | retrieve a vector by id. args: vector_id (str): id of the vector to retrieve. returns: outputdata: retrieved vector. |
| HIGH | mem0/vector_stores/chroma.py | 0 | retrieve a vector by id. args: vector_id (str): id of the vector to retrieve. returns: outputdata: retrieved vector. |
| HIGH | mem0/vector_stores/milvus.py | 0 | list all collections. returns: list[str]: list of collection names. |
| HIGH | mem0/vector_stores/faiss.py | 0 | list all collections. returns: list[str]: list of collection names. |
| HIGH | mem0/vector_stores/pgvector.py | 0 | list all collections. returns: list[str]: list of collection names. |
| HIGH | mem0/vector_stores/qdrant.py | 0 | get information about a collection. returns: dict: collection information. |
| HIGH | mem0/vector_stores/faiss.py | 0 | get information about a collection. returns: dict: collection information. |
| HIGH | mem0/vector_stores/weaviate.py | 0 | get information about a collection. returns: dict: collection information. |
| HIGH | mem0/vector_stores/chroma.py | 0 | get information about a collection. returns: dict: collection information. |
| HIGH | mem0/embeddings/openai.py | 0 | get the embedding for the given text using openai. args: text (str): the text to embed. memory_action (optional): the ty |
| HIGH | mem0/embeddings/azure_openai.py | 0 | get the embedding for the given text using openai. args: text (str): the text to embed. memory_action (optional): the ty |
| HIGH | mem0/embeddings/together.py | 0 | get the embedding for the given text using openai. args: text (str): the text to embed. memory_action (optional): the ty |
| HIGH | mem0/llms/vllm.py | 0 | process the response based on whether tools are used or not. args: response: the raw response from api. tools: the list |
| HIGH | mem0/llms/minimax.py | 0 | process the response based on whether tools are used or not. args: response: the raw response from api. tools: the list |
| HIGH | mem0/llms/lmstudio.py | 0 | process the response based on whether tools are used or not. args: response: the raw response from api. tools: the list |
| HIGH | mem0/llms/azure_openai_structured.py | 0 | process the response based on whether tools are used or not. args: response: the raw response from api. tools: the list |
| 29 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | LLM.md | 987 | except Exception as e: |
| LOW | LLM.md | 1167 | except Exception as e: |
| LOW | LLM.md | 1179 | except Exception as e: |
| LOW | LLM.md | 1187 | except Exception as e: |
| LOW | LLM.md | 1195 | except Exception as e: |
| LOW | LLM.md | 1234 | except Exception as e: |
| LOW | LLM.md | 1250 | except Exception as e: |
| MEDIUM | LLM.md | 984 | def safe_memory_operation(memory_client, operation, *args, **kwargs): |
| MEDIUM | openclaw/scripts/configure.py | 16 | print("Error: MEM0_API_KEY not set.", file=sys.stderr) |
| MEDIUM | openclaw/scripts/configure.py | 20 | print(f"Error: {config_path} not found. Run 'openclaw configure' first.", file=sys.stderr) |
| LOW | tests/utils/test_entity_extraction.py | 10 | except Exception: |
| LOW | tests/utils/test_lemmatization.py | 10 | except Exception: |
| LOW | server/telemetry.py | 103 | except Exception: |
| LOW | server/main.py | 71 | except Exception: |
| LOW | server/main.py | 271 | except Exception: |
| LOW | server/main.py | 291 | except Exception: |
| LOW | server/main.py | 349 | except Exception: |
| LOW | server/main.py | 363 | except Exception: |
| LOW | server/main.py | 407 | except Exception: |
| LOW | server/main.py | 416 | except Exception: |
| LOW | server/main.py | 443 | except Exception: |
| LOW | server/main.py | 454 | except Exception: |
| LOW | server/main.py | 463 | except Exception: |
| LOW | server/main.py | 473 | except Exception: |
| LOW | server/main.py | 493 | except Exception: |
| LOW | server/main.py | 503 | except Exception: |
| LOW | server/server_state.py | 34 | except Exception: |
| LOW | server/server_state.py | 60 | except Exception: |
| MEDIUM | server/server_state.py | 20 | def _load_overrides() -> Dict[str, Any]: |
| LOW | server/routers/entities.py | 75 | except Exception: |
| LOW | cli/python/src/mem0_cli/config.py | 192 | except Exception: |
| LOW | cli/python/src/mem0_cli/branding.py | 136 | except Exception: |
| LOW | cli/python/src/mem0_cli/branding.py | 144 | except Exception: |
| LOW | cli/python/src/mem0_cli/telemetry.py | 65 | except Exception: |
| LOW | cli/python/src/mem0_cli/telemetry.py | 69 | except Exception: |
| LOW | cli/python/src/mem0_cli/telemetry.py | 147 | except Exception: |
| LOW | cli/python/src/mem0_cli/telemetry_sender.py | 72 | except Exception: |
| LOW | cli/python/src/mem0_cli/telemetry_sender.py | 86 | except Exception: |
| LOW | cli/python/src/mem0_cli/telemetry_sender.py | 100 | except Exception: |
| LOW | cli/python/src/mem0_cli/app.py | 75 | except Exception: |
| LOW | cli/python/src/mem0_cli/app.py | 149 | except Exception: |
| LOW | cli/python/src/mem0_cli/app.py | 203 | except Exception: |
| LOW | cli/python/src/mem0_cli/plugin_sync.py | 116 | except Exception: |
| LOW | cli/python/src/mem0_cli/backend/platform.py | 45 | except Exception: |
| LOW | cli/python/src/mem0_cli/backend/platform.py | 331 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 156 | except Exception: |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 189 | except Exception: |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 313 | except Exception: |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 557 | except Exception: |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 565 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 46 | except Exception: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 148 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 270 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 333 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 384 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 469 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 505 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 516 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 577 | except Exception as e: |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 607 | except Exception as e: |
| 321 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | mem0/vector_stores/faiss.py | 64 | Safely load a pickle file using restricted unpickler. Args: file_path: Path to the pickle file. R |
| HIGH | mem0/vector_stores/faiss.py | 81 | Validate that loaded data has the expected structure. Args: data: The loaded data to validate. Re |
| HIGH | mem0/vector_stores/vertex_ai_vector_search.py | 331 | Update a vector and its payload. Args: vector_id: ID of the vector to update vector: Op |
| HIGH | mem0/vector_stores/vertex_ai_vector_search.py | 546 | Add texts to the vector store. Args: texts: List of texts to add metadatas: Optional li |
| HIGH | mem0/memory/main.py | 114 | Validates and normalizes an entity ID. - Trims leading/trailing whitespace - Rejects empty or whitespace-on |
| HIGH | mem0/memory/main.py | 585 | Create a new memory. Adds new memories scoped to a single session id (e.g. `user_id`, `agent_id`, or ` |
| HIGH | mem0/memory/main.py | 1023 | List all memories. Args: filters (dict): Filter dict containing entity IDs and optional me |
| HIGH | mem0/memory/main.py | 1136 | Searches for memories based on a query. Args: query (str): Query to search for. |
| HIGH | mem0/memory/main.py | 2438 | List all memories. Args: filters (dict): Filter dict containing entity IDs and optional me |
| HIGH | mem0/memory/main.py | 2551 | Searches for memories based on a query. Args: query (str): Query to search for. |
| HIGH | mem0/utils/gcp_auth.py | 30 | Get Google credentials using the priority order defined above. Args: service_account_json: |
| HIGH | mem0/utils/gcp_auth.py | 99 | Initialize Vertex AI with proper authentication. Args: service_account_json: Service accou |
| HIGH | mem0/utils/factory.py | 60 | Create an LLM instance with the appropriate configuration. Args: provider_name (str): The |
| HIGH | mem0/utils/factory.py | 230 | Create a reranker instance based on the provider and configuration. Args: provider_name: T |
| HIGH | mem0/client/main.py | 165 | Add a new memory. Args: messages: A list of message dictionaries, a single message dictionary, |
| HIGH | mem0/client/main.py | 206 | Retrieve a specific memory by ID. Args: memory_id: The ID of the memory to retrieve. Retur |
| HIGH | mem0/client/main.py | 230 | Retrieve all memories, with optional filtering. Args: options: Typed options for the get_all operat |
| HIGH | mem0/client/main.py | 281 | Search memories based on a query. Args: query: The search query string. options: Typed |
| HIGH | mem0/client/main.py | 332 | Update a memory by ID. Args: memory_id: The ID of the memory to update. options: Typed |
| HIGH | mem0/client/main.py | 364 | Delete a specific memory by ID. Args: memory_id: The ID of the memory to delete. delete |
| HIGH | mem0/client/main.py | 395 | Delete all memories, with optional filtering. Args: options: Typed options for the delete_all opera |
| HIGH | mem0/client/main.py | 426 | Retrieve the history of a specific memory. Args: memory_id: The ID of the memory to retrieve histor |
| HIGH | mem0/client/main.py | 465 | Delete specific entities or all entities if no filters provided. Args: user_id: Optional user ID to |
| HIGH | mem0/client/main.py | 549 | Batch update memories. Args: memories: List of memory dictionaries to update. Each dictionary must |
| HIGH | mem0/client/main.py | 576 | Batch delete memories. Args: memories: List of memory dictionaries to delete. Each dictionary |
| HIGH | mem0/client/main.py | 664 | Get instructions or categories for the current project. Args: fields: List of fields to retrieve |
| HIGH | mem0/client/main.py | 711 | Update the project settings. Args: options: Typed options for the update operation (ProjectUpdateOp |
| HIGH | mem0/client/main.py | 781 | Get webhooks configuration for the project. Args: project_id: The ID of the project to get webhooks |
| HIGH | mem0/client/main.py | 806 | Create a webhook for the current project. Args: url: The URL to send the webhook to. na |
| HIGH | mem0/client/main.py | 840 | Update a webhook configuration. Args: webhook_id: ID of the webhook to update name: Opt |
| HIGH | mem0/client/main.py | 868 | Delete a webhook configuration. Args: webhook_id: ID of the webhook to delete Returns: |
| HIGH | mem0/client/main.py | 1096 | Add a new memory. Args: messages: A list of message dictionaries, a single message dictionary, |
| HIGH | mem0/client/main.py | 1145 | Retrieve all memories, with optional filtering. Args: options: Typed options for the get_all operat |
| HIGH | mem0/client/main.py | 1196 | Search memories based on a query. Args: query: The search query string. options: Typed |
| HIGH | mem0/client/main.py | 1247 | Update a memory by ID asynchronously. Args: memory_id: The ID of the memory to update. |
| HIGH | mem0/client/main.py | 1279 | Delete a specific memory by ID. Args: memory_id: The ID of the memory to delete. delete |
| HIGH | mem0/client/main.py | 1310 | Delete all memories, with optional filtering. Args: options: Typed options for the delete_all opera |
| HIGH | mem0/client/main.py | 1336 | Retrieve the history of a specific memory. Args: memory_id: The ID of the memory to retrieve histor |
| HIGH | mem0/client/main.py | 1375 | Delete specific entities or all entities if no filters provided. Args: user_id: Optional user ID to |
| HIGH | mem0/client/main.py | 1458 | Batch update memories. Args: memories: List of memory dictionaries to update. Each dictionary must |
| HIGH | mem0/client/main.py | 1485 | Batch delete memories. Args: memories: List of memory dictionaries to delete. Each dictionary |
| HIGH | mem0/client/main.py | 1560 | Get instructions or categories for the current project. Args: fields: List of fields to retrieve |
| HIGH | mem0/client/main.py | 1603 | Update the project settings. Args: options: Typed options for the update operation (ProjectUpdateOp |
| HIGH | mem0/client/main.py | 1673 | Get webhooks configuration for the project. Args: project_id: The ID of the project to get webhooks |
| HIGH | mem0/client/main.py | 1698 | Create a webhook for the current project. Args: url: The URL to send the webhook to. na |
| HIGH | mem0/client/main.py | 1732 | Update a webhook configuration. Args: webhook_id: ID of the webhook to update name: Opt |
| HIGH | mem0/client/main.py | 1760 | Delete a webhook configuration. Args: webhook_id: ID of the webhook to delete Returns: |
| HIGH | mem0/client/project.py | 86 | Prepare query parameters for API requests. Args: kwargs: Additional keyword arguments. |
| HIGH | mem0/client/project.py | 111 | Prepare query parameters for organization-level API requests. Args: kwargs: Additional key |
| HIGH | mem0/client/project.py | 136 | Get project details. Args: fields: List of fields to retrieve Returns: |
| HIGH | mem0/client/project.py | 156 | Create a new project within the organization. Args: name: Name of the project to be create |
| HIGH | mem0/client/project.py | 182 | Update project settings. Args: custom_instructions: New instructions for the project |
| HIGH | mem0/client/project.py | 238 | Add a new member to the current project. Args: email: Email address of the user to add |
| HIGH | mem0/client/project.py | 259 | Update a member's role in the current project. Args: email: Email address of the user to u |
| HIGH | mem0/client/project.py | 280 | Remove a member from the current project. Args: email: Email address of the user to remove |
| HIGH | mem0/client/project.py | 327 | Get project details. Args: fields: List of fields to retrieve Returns: |
| HIGH | mem0/client/project.py | 358 | Create a new project within the organization. Args: name: Name of the project to be create |
| HIGH | mem0/client/project.py | 403 | Update project settings. Args: custom_instructions: New instructions for the project |
| HIGH | mem0/client/project.py | 520 | Add a new member to the current project. Args: email: Email address of the user to add |
| HIGH | mem0/client/project.py | 556 | Update a member's role in the current project. Args: email: Email address of the user to u |
| 8 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/test_client.py | 12 | # Create a mock client instance |
| MEDIUM | tests/vector_stores/test_azure_ai_search.py | 60 | # Create an instance with dummy parameters. |
| MEDIUM | tests/vector_stores/test_elasticsearch.py | 36 | # Create a mock Elasticsearch client with proper attributes |
| MEDIUM | tests/vector_stores/test_supabase.py | 98 | # Create a Mock object to represent the record |
| MEDIUM | tests/vector_stores/test_mongodb.py | 18 | # Create a proper mock cursor |
| MEDIUM | tests/vector_stores/test_pinecone.py | 108 | # Create a mock Vector object |
| MEDIUM | tests/vector_stores/test_valkey.py | 515 | # Create a mock result with all fields |
| MEDIUM | tests/vector_stores/test_faiss.py | 322 | # Create a legitimate pickle with basic types |
| MEDIUM | tests/vector_stores/test_faiss.py | 35 | # Create a FAISS instance with a temporary directory |
| MEDIUM | tests/vector_stores/test_faiss.py | 356 | # Create a malicious pickle that tries to use subprocess |
| MEDIUM | tests/vector_stores/test_faiss.py | 373 | # Create a malicious pickle that tries to use eval |
| MEDIUM | tests/vector_stores/test_faiss.py | 390 | # Create a pickle that tries to load a class from a non-builtins module |
| MEDIUM | tests/vector_stores/test_faiss.py | 564 | # Create a malicious pickle file (RCE payload) |
| MEDIUM | tests/vector_stores/test_faiss.py | 604 | # Create a legitimate legacy pickle file |
| MEDIUM | tests/embeddings/test_huggingface_embeddings.py | 85 | # Create a mock for the response object and its attributes |
| MEDIUM | tests/memory/test_storage.py | 255 | # Create a legacy 'history' table missing new columns |
| MEDIUM | tests/memory/test_main.py | 373 | # Create a memory |
| MEDIUM | tests/llms/test_langchain.py | 29 | # Create a config with the model instance directly |
| MEDIUM | tests/llms/test_langchain.py | 41 | # Create a config with the model instance |
| MEDIUM | server/init-db.sh | 4 | # Create the mem0_app database for user/auth/api-key data. |
| MEDIUM | docs/openapi.json | 5111 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| MEDIUM | docs/openapi.json | 5119 | "source": "# Get all webhooks\ncurl --request GET \\\n --url 'https://api.mem0.ai/api/v1/webhooks/your_project_id |
| MEDIUM | docs/openapi.json | 5274 | "source": "# To use the Python SDK, install the package:\n# pip install mem0ai\n\nfrom mem0 import MemoryClient\nc |
| MEDIUM | mem0-plugin/tests/test_import_competing_tools.py | 93 | # Create a temporary memory-bank directory with .md files |
| MEDIUM | examples/misc/personal_assistant_agno.py | 21 | # Define the agent |
| MEDIUM | examples/misc/healthcare_assistant_google_adk.py | 74 | # Create the Healthcare Assistant Agent |
| MEDIUM | examples/misc/healthcare_assistant_google_adk.py | 105 | # Create a session |
| MEDIUM | examples/misc/healthcare_assistant_google_adk.py | 108 | # Create the runner |
| MEDIUM | examples/misc/strands_agent_aws_elasticache_neptune.py | 138 | # Create a simple message format for mem0 vector storage |
| MEDIUM | examples/misc/strands_agent_aws_elasticache_neptune.py | 350 | # Create a container with the chat frame styling |
| MEDIUM | examples/multiagents/llamaindex_learning_system.py | 136 | # Create the multi-agent workflow |
| MEDIUM | mem0/vector_stores/valkey.py | 98 | # Create the index schema |
| MEDIUM | mem0/vector_stores/valkey.py | 286 | # Create the key for the hash |
| MEDIUM | mem0/vector_stores/valkey.py | 394 | # Create the payload |
| MEDIUM | mem0/vector_stores/valkey.py | 418 | # Create the result |
| MEDIUM | mem0/vector_stores/valkey.py | 558 | # Create the payload with error handling |
| MEDIUM | mem0/vector_stores/redis.py | 95 | # Create a new schema with the specified parameters |
| MEDIUM | mem0/vector_stores/redis.py | 106 | # Create the schema |
| MEDIUM | mem0/vector_stores/redis.py | 109 | # Create the index |
| MEDIUM | mem0/vector_stores/azure_ai_search.py | 420 | # Create the collection |
| MEDIUM | mem0/vector_stores/vertex_ai_vector_search.py | 508 | # This method is included only to satisfy the abstract base class |
| MEDIUM | mem0/vector_stores/vertex_ai_vector_search.py | 521 | # Create the payload with all necessary fields |
| MEDIUM | mem0/memory/storage.py | 65 | # Create the new history table with updated schema |
| MEDIUM | mem0/memory/main.py | 382 | # Create the config object using the same class as the original |
| MEDIUM | openmemory/api/app/models.py | 216 | # Create the association |
| MEDIUM | openmemory/api/app/mcp_server.py | 58 | # Create a router for MCP endpoints |
| MEDIUM | openmemory/api/app/mcp_server.py | 479 | # Create a simple receive function that returns the body |
| MEDIUM | openmemory/api/app/mcp_server.py | 483 | # Create a simple send function that does nothing |
| MEDIUM | openmemory/api/app/routers/apps.py | 30 | # Create a subquery for memory counts |
| MEDIUM | openmemory/api/app/routers/apps.py | 38 | # Create a subquery for access counts |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tests/vector_stores/test_azure_ai_search.py | 586 | mock_search_client._client._config.user_agent_policy.add_user_agent.assert_called_with("mem0") |
| CRITICAL | tests/vector_stores/test_azure_ai_search.py | 587 | mock_index_client._client._config.user_agent_policy.add_user_agent.assert_called_with("mem0") |
| CRITICAL | tests/vector_stores/test_azure_ai_search.py | 5 | from azure.core.exceptions import HttpResponseError |
| CRITICAL | tests/vector_stores/test_weaviate.py | 151 | self.client_mock.collections.get.return_value.data.delete_by_id.assert_called_once_with("id1") |
| CRITICAL | mem0/vector_stores/azure_ai_search.py | 13 | from azure.core.exceptions import ResourceNotFoundError |
| CRITICAL | mem0/vector_stores/azure_ai_search.py | 98 | self.search_client._client._config.user_agent_policy.add_user_agent("mem0") |
| CRITICAL | mem0/vector_stores/azure_ai_search.py | 99 | self.index_client._client._config.user_agent_policy.add_user_agent("mem0") |
| CRITICAL | mem0/vector_stores/azure_ai_search.py | 417 | self.search_client._client._config.user_agent_policy.add_user_agent("mem0") |
| CRITICAL | mem0/vector_stores/azure_ai_search.py | 418 | self.index_client._client._config.user_agent_policy.add_user_agent("mem0") |
| CRITICAL | mem0/llms/openai_structured.py | 51 | response = self.client.beta.chat.completions.parse(**params) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/test_telemetry_sampling.py | 137 | |
| LOW | tests/test_memory_integration.py | 6 | |
| LOW | tests/test_telemetry.py | 157 | |
| LOW | tests/test_telemetry.py | 167 | |
| LOW | tests/test_telemetry.py | 187 | |
| LOW | tests/test_telemetry.py | 199 | |
| LOW | tests/test_telemetry.py | 217 | |
| LOW | tests/test_telemetry.py | 265 | |
| LOW | tests/vector_stores/test_faiss.py | 487 | |
| LOW | cli/python/src/mem0_cli/app.py | 100 | |
| LOW | cli/python/src/mem0_cli/output.py | 143 | |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 34 | |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 125 | |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 197 | |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 537 | |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 534 | |
| LOW | cli/python/src/mem0_cli/commands/agent_mode_cmd.py | 143 | |
| LOW | mem0-plugin/scripts/auto_import.py | 124 | |
| LOW | mem0-plugin/scripts/auto_import.py | 157 | |
| LOW | mem0-plugin/scripts/parse_mem0_config.py | 231 | |
| LOW | mem0-plugin/scripts/telemetry.py | 117 | |
| LOW | mem0-plugin/scripts/session_stats.py | 109 | |
| LOW | mem0-plugin/scripts/on_pre_compact.py | 72 | |
| LOW | mem0-plugin/scripts/_identity.py | 26 | |
| LOW | mem0-plugin/scripts/capture_compact_summary.py | 69 | |
| LOW | mem0-plugin/scripts/capture_compact_summary.py | 138 | |
| LOW | mem0-plugin/scripts/_project.py | 21 | |
| LOW | mem0-plugin/scripts/auto_capture.py | 63 | |
| LOW | mem0-plugin/skills/mem0/scripts/mem0_doc_search.py | 160 | |
| LOW | examples/misc/voice_assistant_elevenlabs.py | 159 | |
| LOW | examples/misc/voice_assistant_elevenlabs.py | 205 | |
| LOW | examples/misc/personalized_search.py | 155 | |
| LOW | examples/misc/strands_agent_aws_elasticache_neptune.py | 179 | |
| LOW | examples/misc/strands_agent_aws_elasticache_neptune.py | 225 | |
| LOW | examples/misc/strands_agent_aws_elasticache_neptune.py | 280 | |
| LOW | evaluation/evals.py | 45 | |
| LOW | evaluation/run_experiments.py | 23 | |
| LOW | evaluation/metrics/llm_judge.py | 58 | |
| LOW | evaluation/src/memzero/add.py | 85 | |
| LOW | mem0/reranker/cohere_reranker.py | 34 | |
| LOW | mem0/reranker/huggingface_reranker.py | 59 | |
| LOW | mem0/reranker/llm_reranker.py | 104 | |
| LOW | mem0/reranker/zero_entropy_reranker.py | 39 | |
| LOW | mem0/reranker/sentence_transformer_reranker.py | 46 | |
| LOW | mem0/vector_stores/cassandra.py | 225 | |
| LOW | mem0/vector_stores/cassandra.py | 437 | |
| LOW | mem0/vector_stores/valkey.py | 275 | |
| LOW | mem0/vector_stores/valkey.py | 546 | |
| LOW | mem0/vector_stores/valkey.py | 682 | |
| LOW | mem0/vector_stores/valkey.py | 781 | |
| LOW | mem0/vector_stores/opensearch.py | 76 | |
| LOW | mem0/vector_stores/opensearch.py | 345 | |
| LOW | mem0/vector_stores/qdrant.py | 178 | |
| LOW | mem0/vector_stores/qdrant.py | 224 | |
| LOW | mem0/vector_stores/qdrant.py | 298 | |
| LOW | mem0/vector_stores/qdrant.py | 459 | |
| LOW | mem0/vector_stores/faiss.py | 360 | |
| LOW | mem0/vector_stores/pgvector.py | 48 | |
| LOW | mem0/vector_stores/pgvector.py | 123 | |
| LOW | mem0/vector_stores/pgvector.py | 197 | |
| 58 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/vector_stores/test_databricks.py | 636 | # Step 1: Config validation (simulates what Memory.from_config does) |
| LOW | tests/vector_stores/test_databricks.py | 654 | # Step 2: Factory instantiation (same as MemoryBase.__init__) |
| LOW | tests/memory/test_main.py | 328 | # Step 1: Create a memory — capture the payload stored in the vector store |
| LOW | tests/memory/test_main.py | 338 | # Step 2: Simulate the vector store returning this memory for both search and get_all |
| LOW | tests/memory/test_main.py | 347 | # Step 3: Call search and get_all, compare timestamps |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1108 | // Step 1: Preprocess query |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1112 | // Step 2: Embed query |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1115 | // Step 3: Semantic search (over-fetch for scoring pool) |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1123 | // Step 4: Keyword search (if store supports it) |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1142 | // Step 5: Compute BM25 scores from keyword results |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1155 | // Step 6: Compute entity boosts |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1217 | // Step 7: Build candidate set from semantic results |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1224 | // Step 8: Score and rank |
| LOW | mem0-ts/src/oss/src/memory/index.ts | 1233 | // Step 9: Format results |
| LOW | mem0-ts/src/oss/src/prompts/index.ts | 902 | // Step 1: Strip known noise tokens from OpenRouter/local models |
| LOW | mem0-ts/src/oss/src/prompts/index.ts | 910 | // Step 2: Strip code fences and <think> blocks |
| LOW | mem0-ts/src/oss/src/prompts/index.ts | 916 | // Step 3: Try to find valid JSON object by testing each `{` as potential start |
| LOW | mem0-ts/src/oss/src/prompts/index.ts | 966 | // Step 4: Fallback - try first/last brace (original behavior for edge cases) |
| LOW | mem0-ts/src/oss/src/prompts/index.ts | 980 | // Step 5: Try to locate a JSON array by testing each `[` as potential start |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 144 | # Step 1: Request verification code |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 163 | # Step 2: Get code from user |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 177 | # Step 3: Verify code |
| LOW | cli/python/src/mem0_cli/commands/agent_mode_cmd.py | 165 | # Step 1: request OTP (unless --code provided) |
| LOW | cli/python/src/mem0_cli/commands/agent_mode_cmd.py | 199 | # Step 2: verify + claim in one shot |
| LOW | cli/node/src/commands/agent-mode.ts | 180 | // Step 1: request OTP (unless --code was supplied) |
| LOW | cli/node/src/commands/agent-mode.ts | 222 | // Step 2: verify + claim atomically |
| LOW | mem0/memory/main.py | 1348 | # Step 1: Preprocess query |
| LOW | mem0/memory/main.py | 1352 | # Step 2: Embed query |
| LOW | mem0/memory/main.py | 1355 | # Step 3: Semantic search (over-fetch for scoring pool) |
| LOW | mem0/memory/main.py | 1361 | # Step 4: Keyword search (if store supports it) |
| LOW | mem0/memory/main.py | 1366 | # Step 5: Compute BM25 scores from keyword results |
| LOW | mem0/memory/main.py | 1376 | # Step 6: Compute entity boosts |
| LOW | mem0/memory/main.py | 1381 | # Step 7: Build candidate set from semantic results |
| LOW | mem0/memory/main.py | 1391 | # Step 8: Score and rank |
| LOW | mem0/memory/main.py | 1400 | # Step 9: Format results |
| LOW | mem0/memory/main.py | 2767 | # Step 1: Preprocess query (CPU-bound) |
| LOW | mem0/memory/main.py | 2771 | # Step 2: Embed query |
| LOW | mem0/memory/main.py | 2774 | # Step 3: Semantic search (over-fetch) |
| LOW | mem0/memory/main.py | 2780 | # Step 4: Keyword search (if store supports it) |
| LOW | mem0/memory/main.py | 2785 | # Step 5: Compute BM25 scores |
| LOW | mem0/memory/main.py | 2795 | # Step 6: Compute entity boosts |
| LOW | mem0/memory/main.py | 2800 | # Step 7: Build candidate set from semantic results |
| LOW | mem0/memory/main.py | 2810 | # Step 8: Score and rank |
| LOW | mem0/memory/main.py | 2819 | # Step 9: Format results |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/test_oss_to_platform_migrate.py | 1 | |
| LOW | server/alembic/env.py | 9 | |
| LOW | cli/python/tests/conftest.py | 3 | |
| LOW | cli/python/tests/test_output.py | 3 | |
| LOW | cli/python/tests/test_branding.py | 3 | |
| LOW | cli/python/tests/test_commands.py | 3 | |
| LOW | cli/python/tests/test_init_internals.py | 17 | |
| LOW | cli/python/tests/test_config.py | 3 | |
| LOW | cli/python/tests/test_cli_integration.py | 8 | |
| LOW | cli/python/tests/test_agent_mode.py | 13 | |
| LOW | cli/python/src/mem0_cli/config.py | 10 | |
| LOW | cli/python/src/mem0_cli/telemetry.py | 10 | |
| LOW | cli/python/src/mem0_cli/telemetry_sender.py | 16 | |
| LOW | cli/python/src/mem0_cli/agent_detect.py | 15 | |
| LOW | cli/python/src/mem0_cli/app.py | 3 | |
| LOW | cli/python/src/mem0_cli/plugin_sync.py | 27 | |
| LOW | cli/python/src/mem0_cli/output.py | 3 | |
| LOW | cli/python/src/mem0_cli/state.py | 3 | |
| LOW | cli/python/src/mem0_cli/backend/__init__.py | 3 | |
| LOW | cli/python/src/mem0_cli/backend/__init__.py | 3 | |
| LOW | cli/python/src/mem0_cli/backend/platform.py | 3 | |
| LOW | cli/python/src/mem0_cli/backend/base.py | 3 | |
| LOW | cli/python/src/mem0_cli/commands/config_cmd.py | 3 | |
| LOW | cli/python/src/mem0_cli/commands/init_cmd.py | 3 | |
| LOW | cli/python/src/mem0_cli/commands/memory.py | 3 | |
| LOW | cli/python/src/mem0_cli/commands/whoami_cmd.py | 3 | |
| LOW | cli/python/src/mem0_cli/commands/agent_rush_cmd.py | 7 | |
| LOW | cli/python/src/mem0_cli/commands/utils.py | 3 | |
| LOW | cli/python/src/mem0_cli/commands/events_cmd.py | 3 | |
| LOW | cli/python/src/mem0_cli/commands/identify_cmd.py | 9 | |
| LOW | cli/python/src/mem0_cli/commands/entities.py | 3 | |
| LOW | cli/python/src/mem0_cli/commands/agent_mode_cmd.py | 3 | |
| LOW | mem0-plugin/tests/test_import_competing_tools.py | 3 | |
| LOW | mem0-plugin/tests/conftest.py | 3 | |
| LOW | mem0-plugin/tests/test_auto_capture.py | 3 | |
| LOW | mem0-plugin/tests/test_search.py | 3 | |
| LOW | mem0-plugin/tests/test_rubric_dedup.py | 3 | |
| LOW | mem0-plugin/tests/test_session_stats.py | 3 | |
| LOW | mem0-plugin/tests/test_parse_export_file.py | 3 | |
| LOW | mem0-plugin/tests/test_coding_categories.py | 3 | |
| LOW | mem0-plugin/tests/test_write_path.py | 10 | |
| LOW | mem0-plugin/tests/test_parse_mem0_config.py | 3 | |
| LOW | mem0-plugin/tests/test_project.py | 3 | |
| LOW | mem0-plugin/tests/test_telemetry.py | 3 | |
| LOW | mem0-plugin/tests/test_auto_setup_categories.py | 10 | |
| LOW | mem0-plugin/scripts/install_codex_hooks.py | 24 | |
| LOW | mem0-plugin/scripts/auto_import.py | 13 | |
| LOW | mem0-plugin/scripts/load_settings.py | 6 | |
| LOW | mem0-plugin/scripts/_chunking.py | 3 | |
| LOW | mem0-plugin/scripts/parse_mem0_config.py | 19 | |
| LOW | mem0-plugin/scripts/auto_setup_categories.py | 28 | |
| LOW | mem0-plugin/scripts/_search.py | 7 | |
| LOW | mem0-plugin/scripts/telemetry.py | 19 | |
| LOW | mem0-plugin/scripts/session_stats.py | 14 | |
| LOW | mem0-plugin/scripts/on_pre_compact.py | 15 | |
| LOW | mem0-plugin/scripts/import_competing_tools.py | 18 | |
| LOW | mem0-plugin/scripts/setup_coding_categories.py | 18 | |
| LOW | mem0-plugin/scripts/parse_export_file.py | 26 | |
| LOW | mem0-plugin/scripts/_identity.py | 19 | |
| LOW | mem0-plugin/scripts/_identity.py | 95 | |
| 24 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | server/scripts/seed.sh | 15 | # Check if setup is needed |
| LOW | mem0-plugin/scripts/enforce_metadata_defaults.sh | 99 | # Check if filters already contain user_id/app_id |
| LOW | mem0-plugin/scripts/ensure_deps.sh | 45 | # Check if the other process's install failed |
| LOW | examples/nemoclaw/install-mem0-plugin.sh | 175 | # Check if plugin is already installed |
| LOW | examples/nemoclaw/install-mem0-plugin.sh | 255 | # Check if mem0_api already exists |
| LOW | examples/nemoclaw/setup-mem0-nemoclaw.sh | 528 | # Check if a sandbox already exists |
| LOW | examples/nemoclaw/setup-mem0-nemoclaw.sh | 431 | # Check if NemoClaw is installed in the container |
| LOW | examples/nemoclaw/setup-mem0-nemoclaw.sh | 618 | # Check if plugin is already installed by trying to download a known file from the sandbox. |
| LOW | examples/nemoclaw/setup-mem0-nemoclaw.sh | 700 | # Check if mem0_api already exists |
| LOW | evaluation/generate_scores.py | 26 | # Print the results |
| LOW | mem0/vector_stores/valkey.py | 194 | # Check if the search module is available |
| LOW | mem0/vector_stores/valkey.py | 208 | # Check if the index already exists |
| LOW | mem0/vector_stores/opensearch.py | 102 | # Check if index is ready by attempting a simple search |
| LOW | mem0/vector_stores/databricks.py | 235 | # Check if index exists and create if needed |
| LOW | mem0/vector_stores/langchain.py | 39 | # Check if input is a list of Document objects |
| LOW | mem0/vector_stores/langchain.py | 85 | # Check if client has add_embeddings method |
| LOW | mem0/vector_stores/baidu.py | 94 | # Check if database exists |
| LOW | mem0/vector_stores/baidu.py | 115 | # Check if table already exists |
| LOW | mem0/embeddings/aws_bedrock.py | 32 | # Check if AWS config is provided in the config |
| LOW | mem0/memory/main.py | 564 | # Check if agent_id is present in metadata |
| LOW | mem0/memory/main.py | 567 | # Check if there are assistant role messages |
| LOW | mem0/memory/main.py | 1994 | # Check if agent_id is present in metadata |
| LOW | mem0/memory/main.py | 1997 | # Check if there are assistant role messages |
| LOW | mem0/proxy/main.py | 180 | # Check if self.mem0_client is an instance of Memory or MemoryClient |
| LOW | mem0/configs/vector_stores/elasticsearch.py | 28 | # Check if either cloud_id or host/port is provided |
| LOW | mem0/configs/vector_stores/elasticsearch.py | 32 | # Check if authentication is provided |
| LOW | mem0/configs/vector_stores/elasticsearch.py | 44 | # Check if headers is a dictionary |
| LOW | mem0/configs/vector_stores/elasticsearch.py | 48 | # Check if all keys and values are strings |
| LOW | mem0/configs/vector_stores/opensearch.py | 25 | # Check if host is provided |
| LOW | mem0/configs/vector_stores/chroma.py | 27 | # Check if cloud configuration is provided |
| LOW | mem0/configs/vector_stores/chroma.py | 35 | # Check if local/server configuration is provided |
| LOW | mem0/configs/llms/aws_bedrock.py | 124 | # Check if model follows provider.model-name format |
| LOW | mem0/llms/aws_bedrock.py | 111 | # Check if our model is available |
| LOW | mem0/llms/base.py | 39 | # Check if API key is available via environment variable |
| LOW | openmemory/run.sh | 18 | # Check if Docker is installed |
| LOW | openmemory/run.sh | 24 | # Check if docker compose is available |
| LOW | openmemory/run.sh | 30 | # Check if the container "mem0_ui" already exists and remove it if necessary |
| LOW | openmemory/run.sh | 85 | # Check if the compose file exists |
| LOW | openmemory/api/main.py | 30 | # Check if user exists |
| LOW | openmemory/api/main.py | 53 | # Check if app already exists |
| LOW | openmemory/api/app/models.py | 207 | # Check if the memory-category association already exists |
| LOW | openmemory/api/app/mcp_server.py | 85 | # Check if app is active |
| LOW | openmemory/api/app/routers/memories.py | 238 | # Check if app is active |
| LOW | openmemory/api/app/routers/memories.py | 281 | # Check if memory already exists |
| LOW | openmemory/api/app/utils/memory.py | 61 | # Check if we're running inside Docker |
| LOW | openmemory/api/app/utils/memory.py | 478 | # Check if config has changed by comparing hashes |
| LOW | openmemory/api/app/utils/permissions.py | 27 | # Check if memory is active |
| LOW | openmemory/api/app/utils/permissions.py | 35 | # Check if app exists and is active |
| LOW | openmemory/api/app/utils/permissions.py | 40 | # Check if app is paused/inactive |
| LOW | openmemory/api/app/utils/permissions.py | 52 | # Check if memory is in the accessible set |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | openclaw/tests/cli-commands.test.ts | 454 | email: "user@example.com", |
| LOW | openclaw/tests/cli-commands.test.ts | 463 | body: JSON.stringify({ email: "user@example.com", code: "123456" }), |
| LOW | openclaw/tests/cli-commands.test.ts | 490 | await initCmd._action!({ email: "user@example.com", code: "000000" }); |
| LOW | openclaw/tests/cli-commands.test.ts | 618 | await initCmd._action!({ email: "user@example.com", json: true }); |
| LOW | openclaw/tests/cli-commands.test.ts | 629 | expect(parsed.email).toBe("user@example.com"); |
| LOW | tests/test_telemetry_aliasing.py | 142 | setup_module.mark_aliased("oss-uuid", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 147 | assert setup_module.is_aliased("oss-uuid", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 153 | setup_module.mark_aliased("oss-uuid", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 161 | setup_module.mark_aliased("oss-uuid", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 162 | assert setup_module.is_aliased("oss-uuid", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 163 | assert not setup_module.is_aliased("new-uuid", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 177 | at.capture_identify("anon-123", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 181 | assert kwargs["distinct_id"] == "user@example.com" |
| LOW | tests/test_telemetry_aliasing.py | 191 | at.capture_identify("user@example.com", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 200 | at.capture_identify("", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 209 | at.capture_identify("anon-123", "user@example.com") # must not raise |
| LOW | tests/test_telemetry_aliasing.py | 219 | at.capture_identify("anon-123", "user@example.com") # must not raise |
| LOW | tests/test_telemetry_aliasing.py | 250 | client_main._maybe_alias_anon_to_email("user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 251 | telemetry.capture_identify.assert_called_once_with("oss-uuid", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 252 | mark.assert_called_once_with("oss-uuid", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 268 | client_main._maybe_alias_anon_to_email("user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 269 | telemetry.capture_identify.assert_called_once_with("cli-anon-xyz", "user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 285 | client_main._maybe_alias_anon_to_email("user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 288 | assert ("oss-uuid", "user@example.com") in calls |
| LOW | tests/test_telemetry_aliasing.py | 289 | assert ("cli-anon", "user@example.com") in calls |
| LOW | tests/test_telemetry_aliasing.py | 304 | client_main._maybe_alias_anon_to_email("user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 349 | client_main._maybe_alias_anon_to_email("user@example.com") # must not raise |
| LOW | tests/test_telemetry_aliasing.py | 360 | return_value={"oss": "user@example.com", "cli": None, "aliased_pairs": []}, |
| LOW | tests/test_telemetry_aliasing.py | 366 | client_main._maybe_alias_anon_to_email("user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 377 | client_main._maybe_alias_anon_to_email("user@example.com") # must not raise |
| LOW | tests/test_telemetry_aliasing.py | 329 | client_main._maybe_alias_anon_to_email("user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 402 | client_main._maybe_alias_anon_to_email("user@example.com") |
| LOW | tests/test_telemetry_aliasing.py | 407 | client_main._maybe_alias_anon_to_email("user@example.com") |
| LOW | tests/test_client_feedback.py | 10 | client.user_email = "user@example.com" |
| LOW | tests/test_client_feedback.py | 39 | client.user_email = "user@example.com" |
| LOW | tests/test_client.py | 15 | json=lambda: {"org_id": "org1", "project_id": "proj1", "user_email": "test@test.com"}, |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 107 | await markMem0Aliased("oss-uuid", "user@example.com"); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 114 | expect(await isMem0Aliased("oss-uuid", "user@example.com")).toBe(true); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 122 | await markMem0Aliased("oss-uuid", "user@example.com"); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 134 | await markMem0Aliased("oss-uuid", "user@example.com"); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 135 | expect(await isMem0Aliased("oss-uuid", "user@example.com")).toBe(true); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 136 | expect(await isMem0Aliased("other-uuid", "user@example.com")).toBe(false); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 145 | markMem0Aliased("oss-uuid", "user@example.com"), |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 161 | await telemetry.captureIdentify("anon-uuid", "user@example.com"); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 167 | expect(payload.distinct_id).toBe("user@example.com"); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 175 | await telemetry.captureIdentify("user@example.com", "user@example.com"); |
| LOW | mem0-ts/src/client/tests/telemetry-aliasing.test.ts | 182 | await telemetry.captureIdentify("", "user@example.com"); |
| LOW | ….opencode-plugin/opencode-skills/mem0/client/python.md | 316 | client.project.add_member(email="user@example.com", role="READER") # READER or OWNER |
| LOW | ….opencode-plugin/opencode-skills/mem0/client/python.md | 317 | client.project.update_member(email="user@example.com", role="OWNER") |
| LOW | ….opencode-plugin/opencode-skills/mem0/client/python.md | 318 | client.project.remove_member(email="user@example.com") |
| LOW | mem0-plugin/skills/mem0/client/python.md | 316 | client.project.add_member(email="user@example.com", role="READER") # READER or OWNER |
| LOW | mem0-plugin/skills/mem0/client/python.md | 317 | client.project.update_member(email="user@example.com", role="OWNER") |
| LOW | mem0-plugin/skills/mem0/client/python.md | 318 | client.project.remove_member(email="user@example.com") |
| LOW | skills/mem0/client/python.md | 316 | client.project.add_member(email="user@example.com", role="READER") # READER or OWNER |
| LOW | skills/mem0/client/python.md | 317 | client.project.update_member(email="user@example.com", role="OWNER") |
| LOW | skills/mem0/client/python.md | 318 | client.project.remove_member(email="user@example.com") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mem0-ts/src/global.d.ts | 1 | // Injected by tsup/esbuild's `define` at build time from package.json. |
| LOW | mem0-plugin/scripts/enforce_metadata_defaults.sh | 1 | #!/usr/bin/env bash |
| LOW | mem0-plugin/scripts/_identity.sh | 1 | # Source this file. Sets MEM0_API_KEY, MEM0_RESOLVED_USER_ID, and settings. |
| LOW | mem0-plugin/scripts/on_bash_output.sh | 1 | #!/usr/bin/env bash |
| LOW | mem0-plugin/scripts/block_memory_write.sh | 1 | #!/usr/bin/env bash |
| LOW | mem0-plugin/scripts/_project.sh | 1 | # Source this file. Sets MEM0_PROJECT_ID and MEM0_BRANCH. |
| LOW | mem0-plugin/scripts/parse_export_file.py | 41 | """ |
| LOW | mem0-plugin/scripts/on_user_prompt.sh | 1 | #!/usr/bin/env bash |
| LOW | examples/mem0-demo/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/nemoclaw/install-mem0-plugin.sh | 1 | #!/usr/bin/env bash |
| LOW | examples/nemoclaw/setup-mem0-nemoclaw.sh | 1 | #!/usr/bin/env bash |
| LOW | scripts/llms-txt-ignore.txt | 1 | # Page path prefixes (relative to docs/, without .mdx) that intentionally |
| LOW | openmemory/ui/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | openmemory/backup-scripts/export_openmemory.sh | 1 | #!/usr/bin/env bash |
| LOW | openmemory/api/alembic.ini | 1 | # A generic, single database configuration. |
| LOW | openmemory/api/alembic.ini | 21 | # installed by adding `alembic[tz]` to the pip requirements |
| LOW | openmemory/api/alembic.ini | 41 | |
| LOW | openmemory/api/alembic.ini | 61 | sqlalchemy.url = sqlite:///./openmemory.db |
| LOW | openmemory/api/app/__init__.py | 1 | # This file makes the app directory a Python package |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/misc/test.py | 83 | # Example usage |
| LOW | examples/misc/study_buddy.py | 63 | # Example usage |
| LOW | examples/nemoclaw/install-mem0-plugin.sh | 8 | # Usage: |
| LOW | examples/nemoclaw/setup-mem0-nemoclaw.sh | 8 | # Usage: |
| LOW | openmemory/backup-scripts/export_openmemory.sh | 11 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | evaluation/metrics/utils.py | 117 | """Calculate comprehensive evaluation metrics for a prediction.""" |
| LOW | mem0/vector_stores/valkey.py | 340 | # No filters, just use the KNN search |
| LOW | mem0/memory/setup.py | 130 | # If no vector store provided, just return the user_id |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | mem0-ts/src/oss/tests/extract-json.test.ts | 37 | '{"facts": ["Loves pizza"]}\nLet me know if you need anything else!'; |
| LOW | openmemory/api/app/database.py | 7 | # load .env file (make sure you have DATABASE_URL set) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | cli/python/src/mem0_cli/commands/agent_mode_cmd.py | 35 | A backend regression that returns ``{"api_key": null}`` would otherwise be |