Free, Open Source, Self-Hosted WhatsApp API Gateway
This report presents the forensic synthetic code analysis of rmyndharis/OpenWA, a TypeScript project with 11,263 GitHub stars. SynthScan v2.0 examined 167,242 lines of code across 851 source files, recording 413 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 5.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 413 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/webhooks.e2e-spec.ts | 120 | // ── CRUD over the REST surface ──────────────────────────────────── | COMMENT |
| MEDIUM | test/webhooks.e2e-spec.ts | 212 | // ── auth boundaries ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | test/webhooks.e2e-spec.ts | 230 | // ── registration validation ─────────────────────────────────────── | COMMENT |
| MEDIUM | test/webhooks.e2e-spec.ts | 254 | // ── dispatch over real HTTP ─────────────────────────────────────── | COMMENT |
| MEDIUM | test/webhooks.e2e-spec.ts | 329 | // ── the test endpoint ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 437 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 439 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 446 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 448 | # =========================================== | COMMENT |
| MEDIUM | docs/10-devops-infrastructure.md | 459 | # =========================================== | COMMENT |
| MEDIUM | docs/10-devops-infrastructure.md | 461 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 482 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 484 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 494 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 496 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 509 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 511 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 517 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 519 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 524 | # =========================================== | COMMENT |
| MEDIUM⚡ | docs/10-devops-infrastructure.md | 526 | # =========================================== | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 20 | // ── Query Keys ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 41 | // ── Session Queries ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 87 | // ── Webhook Queries ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 134 | // ── Template Queries ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 178 | // ── API Key Queries ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 219 | // ── Logs Queries ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 234 | // ── Infrastructure Queries ──────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 252 | // ── Plugin Queries ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/hooks/queries.ts | 328 | // ── Stats Queries ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/pages/Plugins.tsx | 357 | // ── Activation ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | dashboard/src/pages/Plugins.tsx | 375 | // ── Per-session config override ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | sdk/python/tests/test_sdk.py | 12 | # ── Client core ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | sdk/python/tests/test_sdk.py | 117 | # ── Messages (the critical send-text fix) ────────────────────────── | COMMENT |
| MEDIUM⚡ | sdk/python/tests/test_sdk.py | 509 | # ── Search ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/tests/test_sdk.py | 228 | # ── Sessions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/tests/test_sdk.py | 270 | # ── Groups, Contacts, Webhooks, Chats, Health ────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/client.py | 98 | # ── Resources ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/client.py | 152 | # ── Auth ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/client.py | 157 | # ── Raw request escape hatch ───────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/client.py | 170 | # ── Lifecycle ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 38 | # ── Session ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 90 | # ── Message ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 267 | # ── Bulk ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 346 | # ── Contact ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 373 | # ── Group ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 419 | # ── Webhook ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 467 | # ── Chat ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 493 | # ── Status / Stories ────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 539 | # ── Health ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 553 | # ── Auth ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 561 | # ── Template ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 591 | # ── Label (WhatsApp Business) ───────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 605 | # ── Channel / Newsletter ────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 627 | # ── Catalog (Business) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/python/openwa/types.py | 684 | # ── Search ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/src/main/java/com/rmyndharis/openwa/OpenWAClient.java | 47 | // ── Resources ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/src/main/java/com/rmyndharis/openwa/OpenWAClient.java | 77 | // ── Internal request API used by all resources ───────────────────── | COMMENT |
| MEDIUM | …/com/rmyndharis/openwa/resources/MessagesResource.java | 214 | // ── Internal ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/php/tests/ResourcesTest.php | 11 | // ── Sessions ────────────────────────────────────────────────────── | COMMENT |
| 104 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dashboard/src/hooks/queries.ts | 145 | export function useCreateTemplateMutation() { | CODE |
| LOW | dashboard/src/hooks/queries.ts | 156 | export function useUpdateTemplateMutation() { | CODE |
| LOW | dashboard/src/hooks/queries.ts | 167 | export function useDeleteTemplateMutation() { | CODE |
| LOW⚡ | dashboard/src/hooks/queries.ts | 271 | export function useCreateInstanceMutation(pluginId: string) { | CODE |
| LOW⚡ | dashboard/src/hooks/queries.ts | 281 | export function useRegenerateInstanceSecretMutation(pluginId: string) { | CODE |
| LOW⚡ | dashboard/src/hooks/queries.ts | 291 | export function useUpdateInstanceMutation(pluginId: string) { | CODE |
| LOW | dashboard/src/hooks/queries.ts | 302 | export function useDeleteInstanceMutation(pluginId: string) { | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 16 | def test_requires_base_url_and_api_key(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 22 | def test_sends_api_key_header(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 29 | def test_default_headers_cannot_override_api_key(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 53 | def test_path_segments_are_encoded(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 61 | def test_raw_request_escape_hatch(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 67 | def test_treats_unfollowed_redirect_as_error(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 111 | def test_exposes_all_resources(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 121 | def test_send_text_uses_send_text_path(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 503 | def test_client_exposes_all_resources(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 513 | def test_search_minimal_required_q(self): | CODE |
| LOW⚡ | sdk/python/tests/test_sdk.py | 522 | def test_search_forwards_all_optional_filters(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 87 | def test_strips_trailing_slash(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 93 | def test_query_params_skip_none(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 140 | def test_send_location_contact_template(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 155 | def test_send_template_accepts_template_name(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 160 | def test_list_returns_messages_total_wrapper(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 182 | def test_history_and_reactions_path(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 193 | def test_history_boolean_query_serializes_lowercase(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 201 | def test_bulk_and_batch_status(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 303 | def test_subject_description_invite(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 374 | def test_send_image_video_forward_nested_media_body(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 551 | def test_search_returns_hits_shape(self): | CODE |
| LOW | sdk/python/tests/test_sdk.py | 569 | def test_search_none_values_skipped_in_query(self): | CODE |
| LOW | sdk/php/tests/MessagesTest.php | 11 | public function testSendTextUsesSendTextPath(): void | CODE |
| LOW | sdk/php/tests/MessagesTest.php | 23 | public function testListReturnsMessagesPageEnvelope(): void | CODE |
| LOW | sdk/php/tests/MessagesTest.php | 55 | public function testMediaSegmentsUseCorrectPaths(string $method, string $segment): void | CODE |
| LOW | sdk/php/tests/MessagesTest.php | 63 | public function testReplyForwardReactDelete(): void | CODE |
| LOW | sdk/php/tests/MessagesTest.php | 81 | public function testHistoryAndReactionsPath(): void | CODE |
| LOW | sdk/php/tests/MessagesTest.php | 94 | public function testSendBulkBatchStatusCancelBatch(): void | CODE |
| LOW | sdk/php/tests/ResourcesTest.php | 13 | public function testSessionLifecyclePaths(): void | CODE |
| LOW | sdk/php/tests/ResourcesTest.php | 89 | public function testGroupSubjectDescriptionInvite(): void | CODE |
| LOW | sdk/php/tests/ResourcesTest.php | 187 | public function testStatusSendForwardsRequiredRecipientsAndNestedMedia(): void | CODE |
| LOW | sdk/php/tests/SearchTest.php | 11 | public function testSearchSendsGetWithQueryParams(): void | CODE |
| LOW | sdk/php/tests/SearchTest.php | 58 | public function testSearchDropsNullOptionalsFromQueryString(): void | CODE |
| LOW | sdk/php/tests/SearchTest.php | 83 | public function testSearchSendsDateAndNumericFilters(): void | CODE |
| LOW | sdk/php/tests/SearchTest.php | 108 | public function testSearchReturnsEmptyArrayOnNullBody(): void | CODE |
| LOW | sdk/php/tests/ClientTest.php | 15 | public function testRequiresBaseUrlAndApiKey(): void | CODE |
| LOW | sdk/php/tests/ClientTest.php | 37 | public function testDefaultHeadersApplledUnderAuth(): void | CODE |
| LOW | sdk/php/tests/ClientTest.php | 52 | public function testPathSegmentsAreEncoded(): void | CODE |
| LOW⚡ | sdk/php/tests/ClientTest.php | 63 | public function testRawRequestEscapeHatch(): void | CODE |
| LOW⚡ | sdk/php/tests/ClientTest.php | 72 | public function testBaseUrlPathPrefixIsPreserved(): void | CODE |
| LOW⚡ | sdk/php/tests/ClientTest.php | 81 | public function testTreatsUnfollowedRedirectAsError(): void | CODE |
| LOW | sdk/php/tests/ClientTest.php | 136 | public function testErrorCarriesStatusAndBody(): void | CODE |
| LOW | sdk/php/tests/ClientTest.php | 175 | public function testConnectionRefusedDoesNotMapToTimeoutException(): void | CODE |
| LOW | src/database/data-source.ts | 51 | export function buildPostgresDataSourceOptions(env: NodeJS.ProcessEnv = process.env): DataSourceOptions { | CODE |
| LOW | src/core/plugins/plugin-loader.service.ts | 113 | export function dispatchConversationMedia( | CODE |
| LOW | src/core/plugins/plugin.interfaces.ts | 338 | export function warnUnauthenticatedIngressRoutes( | CODE |
| LOW | src/core/plugins/conversation-send-facade.ts | 44 | export function buildConversationSendFacade(deps: ConversationSendDeps) { | CODE |
| LOW | src/core/plugins/search-provider-registration.util.ts | 27 | export function registerPluginSearchProvider(deps: RegisterPluginSearchProviderDeps): void { | CODE |
| LOW | src/core/plugins/search-provider-registration.util.ts | 36 | export function unregisterPluginSearchProvider(registry: SearchProviderRegistry | undefined, pluginId: string): void { | CODE |
| LOW | src/config/bootstrap-security.ts | 54 | export function isValidationErrorDetailEnabled(validationDetailEnv?: string, nodeEnv?: string): boolean { | CODE |
| LOW | src/config/bootstrap-security.ts | 67 | export function isUpgradeInsecureRequestsEnabled(cspEnv?: string, nodeEnv?: string): boolean { | CODE |
| LOW | src/config/bootstrap-security.ts | 109 | export function isApiKeyPepperMissingInProduction(nodeEnv?: string, apiKeyPepper?: string): boolean { | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | README.md | 232 | -H "X-API-Key: YOUR_API_KEY" \ | CODE |
| HIGH⚡ | README.md | 241 | -H "X-API-Key: YOUR_API_KEY" | CODE |
| HIGH⚡ | README.md | 245 | -H "X-API-Key: YOUR_API_KEY" | CODE |
| HIGH⚡ | README.md | 253 | -H "X-API-Key: YOUR_API_KEY" \ | CODE |
| HIGH | README.md | 265 | -H "X-API-Key: YOUR_API_KEY" \ | CODE |
| HIGH | README.md | 296 | "headers": { "Authorization": "Bearer YOUR_API_KEY" } | CODE |
| HIGH | docs/24-mcp-integration.md | 191 | "headers": { "Authorization": "Bearer YOUR_API_KEY" } | CODE |
| HIGH⚡ | docs/README.md | 135 | -H "X-API-Key: your-api-key" \ | CODE |
| HIGH⚡ | docs/README.md | 141 | -H "X-API-Key: your-api-key" | CODE |
| HIGH⚡ | docs/README.md | 145 | -H "X-API-Key: your-api-key" | CODE |
| HIGH⚡ | docs/README.md | 149 | -H "X-API-Key: your-api-key" \ | CODE |
| HIGH | docs/README.md | 160 | extraHeaders: { 'X-API-Key': 'your-api-key' }, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/python/tests/conftest.py | 8 | CODE | |
| LOW | sdk/python/tests/test_sdk.py | 3 | CODE | |
| LOW | sdk/python/openwa/_http.py | 10 | CODE | |
| LOW | sdk/python/openwa/_http.py | 17 | CODE | |
| LOW | sdk/python/openwa/client.py | 24 | CODE | |
| LOW | sdk/python/openwa/client.py | 27 | CODE | |
| LOW | sdk/python/openwa/client.py | 33 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 23 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 25 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/__init__.py | 26 | CODE | |
| LOW | sdk/python/openwa/types.py | 11 | CODE | |
| LOW | sdk/python/openwa/errors.py | 11 | CODE | |
| LOW | sdk/python/openwa/resources/catalog.py | 10 | CODE | |
| LOW | sdk/python/openwa/resources/catalog.py | 26 | CODE | |
| LOW | sdk/python/openwa/resources/labels.py | 8 | CODE | |
| LOW | sdk/python/openwa/resources/labels.py | 16 | CODE | |
| LOW | sdk/python/openwa/resources/sessions.py | 6 | CODE | |
| LOW | sdk/python/openwa/resources/sessions.py | 21 | CODE | |
| LOW | sdk/python/openwa/resources/contacts.py | 6 | CODE | |
| LOW | sdk/python/openwa/resources/contacts.py | 20 | CODE | |
| LOW | sdk/python/openwa/resources/health.py | 6 | CODE | |
| LOW | sdk/python/openwa/resources/health.py | 13 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 7 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 9 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 10 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 11 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 12 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 13 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 14 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 15 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 16 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 17 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 18 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 19 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 20 | CODE | |
| LOW | sdk/python/openwa/resources/__init__.py | 21 | CODE | |
| LOW | sdk/python/openwa/resources/groups.py | 6 | CODE | |
| LOW | sdk/python/openwa/resources/groups.py | 20 | CODE | |
| LOW | sdk/python/openwa/resources/templates.py | 6 | CODE | |
| LOW | sdk/python/openwa/resources/templates.py | 14 | CODE | |
| LOW | sdk/python/openwa/resources/messages.py | 7 | CODE | |
| LOW | sdk/python/openwa/resources/messages.py | 35 | CODE | |
| LOW | sdk/python/openwa/resources/search.py | 8 | CODE | |
| LOW | sdk/python/openwa/resources/search.py | 15 | CODE | |
| LOW | sdk/python/openwa/resources/chats.py | 7 | CODE | |
| LOW | sdk/python/openwa/resources/chats.py | 21 | CODE | |
| LOW | sdk/python/openwa/resources/channels.py | 7 | CODE | |
| LOW | sdk/python/openwa/resources/channels.py | 15 | CODE | |
| LOW | sdk/python/openwa/resources/webhooks.py | 6 | CODE | |
| LOW | sdk/python/openwa/resources/webhooks.py | 14 | CODE | |
| LOW | sdk/python/openwa/resources/status.py | 7 | CODE | |
| LOW | sdk/python/openwa/resources/status.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | docs/14-migration-guide.md | 96 | # Step 1: Export all Data DB tables | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 100 | # Step 2: Change database configuration in .env or Dashboard | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 105 | # Step 3: Restart with new configuration | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 108 | # Step 4: Import data to new database | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 151 | # Step 1: Check current storage file count | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 156 | # Step 2: Export all files as tar.gz | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 163 | # Step 3: Change storage configuration | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 168 | # Step 4: Restart with new configuration | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 171 | # Step 5: Import files to new storage | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 218 | # Step 1: Check queue status via Bull Board | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 221 | # Step 2: Wait until MESSAGE and WEBHOOK queues are empty | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 227 | # Step 3: Change Redis configuration | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 230 | # Step 4: Restart application | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 428 | # Step 1: Stop OpenWA | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 431 | # Step 2: Backup current data | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 435 | # Step 3: Setup PostgreSQL (if not exists) | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 438 | # Step 4: Run migration script | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 441 | # Step 5: Update environment | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 445 | # Step 6: Verify migration | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 449 | # Step 7: Start with PostgreSQL | COMMENT |
| LOW⚡ | docs/14-migration-guide.md | 452 | # Step 8: Verify functionality | COMMENT |
| LOW | dashboard/src/utils/messageFormatter.ts | 40 | // Step 1: peel off code segments, emit nodes between them. | COMMENT |
| LOW⚡ | dashboard/src/hooks/useChatScrollPosition.test.ts | 47 | // Step 1: switch A → B, B loading → save A, no restore. | COMMENT |
| LOW⚡ | dashboard/src/hooks/useChatScrollPosition.test.ts | 52 | // Step 2: same chat B, transitions to loaded → no save (prev === next), restore B to bottom (first visit). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openapi.json | 5680 | "example": "John Doe", | CODE |
| LOW | docs/06-api-specification.md | 1104 | { "chatId": "628123456789@c.us", "contactName": "John Doe", "contactNumber": "628987654321" } | CODE |
| LOW | docs/06-api-specification.md | 1396 | "name": "Jane Doe", | CODE |
| LOW | docs/06-api-specification.md | 1432 | "name": "Jane Doe", | CODE |
| LOW | docs/06-api-specification.md | 1491 | "name": "Jane Doe", | CODE |
| LOW | docs/07-api-collection.md | 320 | -d '{ "chatId": "628123456789@c.us", "contactName": "John Doe", "contactNumber": "628987654321" }' | CODE |
| LOW | dashboard/src/i18n/locales/zh-CN.json | 219 | "placeholder": "例如:marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/zh-CN.json | 842 | "placeholder": "搜索消息…", | CODE |
| LOW | dashboard/src/i18n/locales/en.json | 219 | "placeholder": "e.g., marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/en.json | 842 | "placeholder": "Search messages…", | CODE |
| LOW | dashboard/src/i18n/locales/zh-HK.json | 219 | "placeholder": "例如:marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/zh-HK.json | 842 | "placeholder": "搜尋訊息…", | CODE |
| LOW | dashboard/src/i18n/locales/it.json | 219 | "placeholder": "es., marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/it.json | 842 | "placeholder": "Cerca messaggi…", | CODE |
| LOW | dashboard/src/i18n/locales/fr.json | 219 | "placeholder": "ex : marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/fr.json | 842 | "placeholder": "Rechercher des messages…", | CODE |
| LOW | dashboard/src/i18n/locales/pt-BR.json | 219 | "placeholder": "ex.: bot-marketing", | CODE |
| LOW | dashboard/src/i18n/locales/pt-BR.json | 842 | "placeholder": "Pesquisar mensagens…", | CODE |
| LOW | dashboard/src/i18n/locales/ko.json | 219 | "placeholder": "예: marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/ko.json | 842 | "placeholder": "메시지 검색…", | CODE |
| LOW | dashboard/src/i18n/locales/he.json | 219 | "placeholder": "לדוגמה: marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/he.json | 843 | "placeholder": "חיפוש הודעות…", | CODE |
| LOW | dashboard/src/i18n/locales/te.json | 219 | "placeholder": "ఉదాహరణకు, marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/te.json | 842 | "placeholder": "సందేశాలను శోధించండి…", | CODE |
| LOW | dashboard/src/i18n/locales/es.json | 219 | "placeholder": "ej., bot-marketing", | CODE |
| LOW | dashboard/src/i18n/locales/es.json | 842 | "placeholder": "Buscar mensajes…", | CODE |
| LOW | dashboard/src/i18n/locales/ar.json | 219 | "placeholder": "مثال: marketing-bot", | CODE |
| LOW | dashboard/src/i18n/locales/ar.json | 846 | "placeholder": "ابحث في الرسائل…", | CODE |
| LOW⚡ | src/modules/message/message.service.spec.ts | 730 | contactName: 'John Doe', | CODE |
| LOW⚡ | src/modules/message/message.service.spec.ts | 737 | expect.objectContaining({ name: 'John Doe', number: '+628123456789' }), | CODE |
| LOW | src/modules/session/dto/session-response.dto.ts | 18 | @ApiPropertyOptional({ type: String, example: 'John Doe', nullable: true }) | CODE |
| LOW | src/engine/adapters/baileys.adapter.spec.ts | 537 | await adapter.sendContactMessage('628111@s.whatsapp.net', { name: 'John Doe', number: '+1 234-567' }); | CODE |
| LOW | src/engine/adapters/baileys.adapter.spec.ts | 542 | expect(call.contacts.displayName).toBe('John Doe'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.dev.yml | 1 | # OpenWA - Local smoke / quick-start compose | COMMENT |
| LOW | docker-entrypoint.sh | 1 | #!/bin/sh | COMMENT |
| LOW | docker-compose.yml | 101 | # NOTE: if you run the built-in Postgres MANUALLY (`docker compose --profile postgres up`) instead | COMMENT |
| LOW | docker-compose.yml | 121 | # Engine launch options (session data path, headless, browser args). Forwarded EMPTY by default | COMMENT |
| LOW | test/mcp-auth.e2e-spec.ts | 161 | // Triggering it in e2e needs > 60 same-key tool calls in 60s, making the | COMMENT |
| LOW | docs/10-devops-infrastructure.md | 441 | PORT=2785 | COMMENT |
| LOW | docs/10-devops-infrastructure.md | 461 | # =========================================== | COMMENT |
| LOW | docs/10-devops-infrastructure.md | 481 | COMMENT | |
| LOW | dashboard/src/pages/Chats.tsx | 461 | }; | COMMENT |
| LOW | dashboard/src/services/api.ts | 1 | // API Service Layer for OpenWA Dashboard | COMMENT |
| LOW | scripts/export-openapi.ts | 1 | // Generates the committed OpenAPI snapshot by bootstrapping the Nest app WITHOUT listening, | COMMENT |
| LOW | scripts/restore.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/pg-uuid-smoke.js | 1 | /* eslint-disable */ | COMMENT |
| LOW | scripts/backup.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/postgres-init-schema.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .github/workflows/split-php-sdk.yml | 1 | name: Split PHP SDK | COMMENT |
| LOW | src/main.ts | 101 | // Let Nest own every shutdown signal EXCEPT SIGTERM/SIGINT — those we route through the bounded | COMMENT |
| LOW | src/core/plugins/plugin-loader.service.ts | 841 | // identically. The worker can only ask; the host is the gatekeeper. | COMMENT |
| LOW | src/core/plugins/plugin.interfaces.ts | 61 | // Optional sandboxed-iframe config editor. `entry` is a plugin-relative path to a self-contained | COMMENT |
| LOW | src/core/plugins/plugin.interfaces.ts | 81 | COMMENT | |
| LOW | src/core/plugins/sandbox/plugin-worker-host.ts | 61 | // this in-flight set so a capability that re-fires the same event is short-circuited (HookManager's | COMMENT |
| LOW | src/core/plugins/sandbox/plugin-worker-host.ts | 81 | private readonly onWebhookSubscribe?: (route: string) => void, | COMMENT |
| LOW | src/config/configuration.ts | 61 | synchronize: process.env.MAIN_DATABASE_SYNCHRONIZE !== 'false', | COMMENT |
| LOW | src/modules/webhook/webhook.service.ts | 301 | w => (w.events.includes(event) || w.events.includes('*')) && evaluateFilters(w.filters, event, data, resolveLid), | COMMENT |
| LOW | src/modules/queue/processors/ingress.processor.ts | 21 | // serializes per instance instead (see orderingKeyFor in ../../integration/ordering-lock). | COMMENT |
| LOW | src/modules/session/session.service.ts | 121 | // Bounded cache for inline @lid -> phone resolution (#263), keyed `${sessionId}:${lid}`. Caches | COMMENT |
| LOW | src/modules/session/session.service.ts | 821 | }); | COMMENT |
| LOW | src/modules/session/session.service.ts | 1181 | ]); | COMMENT |
| LOW | src/engine/adapters/baileys.adapter.ts | 201 | // Without it, every session read/write hits disk directly with no protection against a | COMMENT |
| LOW | src/engine/adapters/baileys.adapter.ts | 241 | const sock = b.default({ | COMMENT |
| LOW | src/engine/interfaces/whatsapp-engine.interface.ts | 1 | // WhatsApp Engine Interface - Abstract layer for WA engines | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sdk/python/openwa/types.py | 717 | # provider returns waMessageId/snippet as "" when absent (always str, never null); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dashboard/src/utils/messageFormatter.ts | 40 | // Step 1: peel off code segments, emit nodes between them. | COMMENT |
| LOW⚡ | dashboard/src/hooks/useChatScrollPosition.test.ts | 47 | // Step 1: switch A → B, B loading → save A, no restore. | COMMENT |
| LOW⚡ | dashboard/src/hooks/useChatScrollPosition.test.ts | 52 | // Step 2: same chat B, transitions to loaded → no save (prev === next), restore B to bottom (first visit). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CHANGELOG.md | 190 | - **Dashboard primary buttons were invisible until hover in light mode.** A leftover Vite template rule — `:root:not([da | CODE |
| MEDIUM | docker-compose.yml | 294 | # Pin explicit volume names so the compose path and the Docker-API orchestration path (which uses | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/restore.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/backup.sh | 14 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/engine/adapters/baileys.adapter.ts | 1273 | // (Baileys integrity-checks content against the declared size, so this is a robust bound). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/python/openwa/__init__.py | 38 | __all__ = [ | CODE |
| LOW | sdk/python/openwa/resources/__init__.py | 23 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/python/openwa/client.py | 71 | except Exception: | CODE |