GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.
This report summarizes scanner evidence for aldinokemal/go-whatsapp-web-multidevice, a Go project with 4,986 GitHub stars. SynthScan examined 99,835 lines of code across 382 source files, recording 68 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 41 finding(s).
Are imports declared and package/API names verified? 27 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 68 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 68 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/ui/mcp/route.go | 21 | // DeviceMiddleware); a per-call device_id tool argument overrides it (see | COMMENT |
| LOW | src/ui/rest/chatwoot_webhook_auth.go | 81 | // chatwootUnsignedWarning logs the explicit open-webhook opt-in once. | COMMENT |
| LOW | src/ui/rest/chatwoot_webhook_auth.go | 181 | } | COMMENT |
| LOW | src/ui/rest/chatwoot_webhook_auth.go | 241 | return true, nil | COMMENT |
| LOW | src/ui/rest/chatwoot.go | 181 | // 2. Contact custom attribute gowa_device_id (explicit operator override). | COMMENT |
| LOW | src/ui/rest/chatwoot_webhook_replay.go | 61 | // failure is handled. While a reservation is held, an identical request is not | COMMENT |
| LOW | src/domains/chatstorage/interfaces.go | 61 | // GetLatestChatwootMessageLinkByConversation resolves a conversation to its | COMMENT |
| LOW | src/domains/chatstorage/interfaces.go | 101 | ClaimExpiredScheduledSend(now, leaseUntil time.Time, leaseToken string) (*ScheduledSend, error) | COMMENT |
| LOW | src/config/settings.go | 101 | ChatwootAccountID = 0 | COMMENT |
| LOW | src/config/settings.go | 121 | // the media file (e.g., URL expired). When true, inserts a localized | COMMENT |
| LOW | src/config/settings.go | 141 | // previous open behavior and must be set explicitly. | COMMENT |
| LOW | src/infrastructure/chatwoot/sync.go | 781 | syncServicesMu sync.RWMutex | COMMENT |
| LOW | src/infrastructure/chatwoot/sync.go | 881 | } | COMMENT |
| LOW | src/infrastructure/chatwoot/client.go | 201 | }() | COMMENT |
| LOW | src/infrastructure/chatwoot/client.go | 281 | resp, err := t.RoundTripper.RoundTrip(req) | COMMENT |
| LOW | src/infrastructure/chatwoot/client.go | 741 | // land in. sourceID is the WhatsApp chat JID, forwarded to CreateConversation | COMMENT |
| LOW | src/infrastructure/chatwoot/client.go | 981 | } | COMMENT |
| LOW | src/infrastructure/chatwoot/url_validation.go | 81 | // media and preview fetches: loopback, private, link-local (including | COMMENT |
| LOW | src/infrastructure/chatwoot/pgimport/writer.go | 21 | // remaining messages that will all fail. | COMMENT |
| LOW | src/infrastructure/chatwoot/pgimport/writer.go | 301 | // and then re-imported from WhatsApp reuses the same row instead of | COMMENT |
| LOW | src/infrastructure/chatwoot/pgimport/conn.go | 1 | // Package pgimport implements the direct-Postgres history importer for | COMMENT |
| LOW | src/infrastructure/chatwoot/pgimport/conn.go | 61 | // postgresql://postgres:secret@chatwoot-db:5432/chatwoot_production?sslmode=disable | COMMENT |
| LOW | src/infrastructure/whatsapp/history_sync.go | 421 | // arrives empty for many of them, and for some it carries the account owner's | COMMENT |
| LOW | src/infrastructure/whatsapp/own_sender.go | 1 | package whatsapp | COMMENT |
| LOW | src/infrastructure/whatsapp/event_message.go | 181 | } | COMMENT |
| LOW | src/infrastructure/whatsapp/event_message.go | 521 | // media on *every* card: reusing those fields would have each card's | COMMENT |
| LOW | src/infrastructure/whatsapp/database.go | 241 | // checks. A non-empty first value is preserved, including disable, require, | COMMENT |
| LOW | src/infrastructure/whatsapp/reachout_error.go | 1 | package whatsapp | COMMENT |
| LOW | src/infrastructure/whatsapp/webhook_forward.go | 41 | // 1:1 JID from the WhatsApp contact store. It is a seam so tests can stub | COMMENT |
| LOW | src/usecase/message.go | 421 | COMMENT | |
| LOW | src/usecase/schedule.go | 441 | if err := s.processJob(ctx, job); err != nil { | COMMENT |
| LOW | src/pkg/utils/chatwoot.go | 61 | // IsNewsletterJID reports whether jid belongs to a WhatsApp channel | COMMENT |
| LOW | src/pkg/utils/chatwoot.go | 81 | // The transforms use paired, non-greedy delimiters, so a lone unmatched | COMMENT |
| LOW | src/pkg/utils/chatwoot.go | 101 | // <https://x.example/> -> https://x.example/ | COMMENT |
| LOW | src/pkg/utils/chatwoot.go | 121 | // lazy ("??") so the pair closes at the first run that can close it. | COMMENT |
| LOW | src/pkg/utils/image_bounds.go | 21 | MaxImageEdge = 32768 | COMMENT |
| LOW | src/pkg/utils/business_message.go | 381 | lines = append(lines, value) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/webhook-payload.md | 251 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 270 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 291 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1246 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1263 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1284 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1305 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1326 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1343 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1364 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1385 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1402 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1423 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1446 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1561 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1583 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1645 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1667 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1694 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1715 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1735 | "from_name": "John Doe", | CODE |
| LOW | docs/webhook-payload.md | 1755 | "from_name": "John Doe", | CODE |
| LOW | docs/openapi.yaml | 1183 | example: 'John Doe' | CODE |
| LOW | docs/openapi.yaml | 5669 | example: 'John Doe' | CODE |
| LOW | docs/openapi.yaml | 5791 | example: 'John Doe' | CODE |
| LOW | docs/openapi.yaml | 6337 | example: "John Doe" | CODE |
| LOW | docs/openapi.yaml | 6475 | example: 'John Doe' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/chatwoot.md | 135 | ### Step 1: Create an API Channel Inbox | COMMENT |
| LOW⚡ | docs/chatwoot.md | 147 | ### Step 2: Get Your API Token | COMMENT |
| LOW⚡ | docs/chatwoot.md | 153 | ### Step 3: Find Your Account ID | COMMENT |
| LOW⚡ | docs/chatwoot.md | 160 | ### Step 4: Configure the API Channel Webhook | COMMENT |