🚀 Open-source, self-hosted P2P WebRTC video conferencing for fast, private real-time communication. Create browser-based meeting rooms with no downloads or time limits, plus screen sharing, chat, whiteboard, recording, and collaboration.
This report summarizes scanner evidence for miroslavpejic85/mirotalk, a JavaScript project with 4,780 GitHub stars. SynthScan examined 98,820 lines of code across 186 source files, recording 150 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 5.1 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 103 finding(s).
Are imports declared and package/API names verified? 36 finding(s).
Are wrappers, guards, and repeated structures necessary? 101 finding(s).
Which changes need focused human review? 150 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 150 distinct pattern matches across 9 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 |
|---|---|---|---|---|
| CRITICAL | tests/test-noiseSuppression.js | 207 | context.window.AudioContext.prototype.audioWorklet.addModule.callsFake( | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 556 | tools.panel.hidden.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 558 | tools.panel.hidden.should.be.false(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 562 | tools.panel.hidden.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 563 | appearance.panel.hidden.should.be.false(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 566 | appearance.panel.hidden.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 580 | tools.panel.hidden.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 586 | tools.panel.hidden.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 592 | overlay.appearanceButton.firstChild.style.backgroundColor.should.equal('rgb(255, 23, 68)'); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 596 | overlay.widthPreview.style.height.should.equal('8px'); | CODE |
| CRITICAL | tests/test-videoDrawing.js | 711 | overlay.toolButtons.pencil.disabled.should.be.true(); | CODE |
| CRITICAL | tests/test-videoDrawing.js | 731 | overlay.toolButtons.pencil.disabled.should.be.false(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 745 | overlay.toolButtons.pencil.disabled.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 746 | overlay.undoButton.disabled.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 747 | overlay.clearButton.disabled.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 748 | overlay.visibilityButton.disabled.should.be.false(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 761 | overlay.toolButtons.pencil.disabled.should.be.false(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 770 | queued.toolButtons.pencil.disabled.should.be.true(); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 774 | dom.window.Overlay.pendingPermissions.size.should.equal(0); | CODE |
| CRITICAL⚡ | tests/test-videoDrawing.js | 784 | ownerOverlay.toolButtons.pencil.disabled.should.be.false(); | CODE |
| CRITICAL | tests/test-videoDrawing.js | 907 | saved.blob.size.should.be.above(0); | CODE |
| CRITICAL | tests/test-hostProtection.js | 171 | result.data.is_presenter.should.be.true(); | CODE |
| CRITICAL | tests/test-hostProtection.js | 196 | guestResult.data.is_presenter.should.be.false(); | CODE |
| CRITICAL | tests/test-validate.js | 281 | cfg.wbCanvasJson.objects.should.have.length(4); | CODE |
| CRITICAL | tests/test-presenterSecurity.js | 126 | presenterResult.data.is_presenter.should.be.true(); | CODE |
| CRITICAL | tests/test-presenterSecurity.js | 131 | participantResult.data.is_presenter.should.be.false(); | CODE |
| CRITICAL | tests/test-presenterSecurity.js | 192 | result.data.is_presenter.should.be.false(); | CODE |
| CRITICAL | tests/test-presenterSecurity.js | 203 | result.data.is_presenter.should.be.false(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | public/js/detectSpeaking.js | 20 | async function getMicrophoneVolumeIndicator(stream) { | CODE |
| LOW | public/js/client.js | 1015 | function refreshMainButtonsToolTipPlacement() { | CODE |
| LOW | public/js/client.js | 2434 | function attachCameraBackgroundStream(stream, previousStream) { | CODE |
| LOW | public/js/client.js | 2512 | async function loadCameraBackgroundImage(event) { | CODE |
| LOW | public/js/client.js | 2616 | async function updateInitLocalVideoMediaStream(camStream) { | CODE |
| LOW | public/js/client.js | 2706 | async function updateLocalVideoMediaStream(camStream) { | CODE |
| LOW | public/js/client.js | 2835 | function handleRNNoiseNotSupported() { | CODE |
| LOW | public/js/client.js | 2907 | function setMicrophoneNoiseSuppression(track, enabled, isCurrent) { | CODE |
| LOW | public/js/client.js | 2966 | function stopNoiseSuppressionPipeline() { | CODE |
| LOW | public/js/client.js | 3203 | async function handlePeersConnectionStatus(peer_id) { | CODE |
| LOW | public/js/client.js | 4114 | async function initEnumerateAudioDevices() { | CODE |
| LOW | public/js/client.js | 4132 | async function initEnumerateVideoDevices() { | CODE |
| LOW | public/js/client.js | 4258 | async function refreshMyAudioVideoDevices() { | CODE |
| LOW | public/js/client.js | 4423 | async function updateLocalVideoMediaStream(stream) { | CODE |
| LOW | public/js/client.js | 5747 | function createResponsiveDropdownItem(sourceButton, label, tier = 'secondary') { | CODE |
| LOW | public/js/client.js | 5762 | function createResponsiveDropdownRangeItem(sourceRange, label, iconClass) { | CODE |
| LOW | public/js/client.js | 6432 | function scheduleParticipantViewRestore() { | CODE |
| LOW | public/js/client.js | 6749 | function removeVideoPinMediaContainer(peer_id, force_remove = false) { | CODE |
| LOW | public/js/client.js | 7519 | function openPinnedParticipantsSidebar(announce = false) { | CODE |
| LOW | public/js/client.js | 7682 | function confirmTranscriptionStartWithAudioOff() { | CODE |
| LOW | public/js/client.js | 7709 | function applyWhisperUiAvailability() { | CODE |
| LOW | public/js/client.js | 8187 | async function documentPictureInPictureRestart() { | CODE |
| LOW | public/js/client.js | 8198 | async function documentPictureInPictureClose() { | CODE |
| LOW | public/js/client.js | 8209 | async function documentPictureInPictureOpen() { | CODE |
| LOW | public/js/client.js | 8278 | function observeElementClassChanges(element, observerName) { | CODE |
| LOW | public/js/client.js | 8585 | function updateSettingsExtraGroups() { | CODE |
| LOW | public/js/client.js | 8691 | function handleExitMenuOutsideClick(e) { | CODE |
| LOW | public/js/client.js | 9177 | function loadSettingsFromLocalStorage() { | CODE |
| LOW | public/js/client.js | 9280 | function handleUsernameEmojiPicker() { | CODE |
| LOW | public/js/client.js | 9599 | function createVideoLoadingSpinner(wrap, videoEl) { | CODE |
| LOW | public/js/client.js | 10112 | function getScreenShareConstraints() { | CODE |
| LOW | public/js/client.js | 10335 | async function handleToggleScreenException(reason, init) { | CODE |
| LOW | public/js/client.js | 10903 | function getAudioStreamFromAudioElements() { | CODE |
| LOW | public/js/client.js | 11217 | function setChatRoomAndCaptionForMobile() { | CODE |
| LOW | public/js/client.js | 11284 | function shouldDockParticipantsPanel() { | CODE |
| LOW | public/js/client.js | 11288 | function syncParticipantsListContainer(showParticipantsPanel = false) { | CODE |
| LOW | public/js/client.js | 11308 | function syncParticipantsPanelVisibility(forceVisible = null) { | CODE |
| LOW | public/js/client.js | 11384 | function toggleCaptionDropDownMenu() { | CODE |
| LOW | public/js/client.js | 11404 | function handleMsgerDropdownOutsidePress(event) { | CODE |
| LOW | public/js/client.js | 11424 | function toggleParticipantsDropDownMenu(activeMenu, siblingMenu = null) { | CODE |
| LOW | public/js/client.js | 11436 | function syncCaptionEveryoneButtons(isActive) { | CODE |
| LOW | public/js/client.js | 11779 | function hideChatRoomAndEmojiPicker() { | CODE |
| LOW | public/js/client.js | 12049 | function handleDataChannelChatReaction(dataMessage) { | CODE |
| LOW | public/js/client.js | 12145 | function handleDataChannelSpeechTranscript(config) { | CODE |
| LOW | public/js/client.js | 12211 | function showCaptionEmptyNoticeIfNoCaptions() { | CODE |
| LOW | public/js/client.js | 12421 | function isConversationCurrentlyVisible(type = 'public', peerName = '', peerId = '') { | CODE |
| LOW | public/js/client.js | 12481 | function filterMessagesByConversation() { | CODE |
| LOW | public/js/client.js | 12517 | function isChatGPTConversationActive() { | CODE |
| LOW | public/js/client.js | 12534 | function getConversationShareTarget(actionLabel = 'this item') { | CODE |
| LOW | public/js/client.js | 12557 | function ensureChatGPTConversationEntry() { | CODE |
| LOW | public/js/client.js | 12593 | function toggleMsgerParticipantsEmptyNotice() { | CODE |
| LOW | public/js/client.js | 12768 | function closeAllMsgerParticipantDropdownMenus() { | CODE |
| LOW | public/js/client.js | 12788 | function positionMsgerParticipantDropdownMenu(toggleEl, menuEl) { | CODE |
| LOW | public/js/client.js | 12830 | function openMsgerParticipantDropdownMenu(toggleEl, menuEl) { | CODE |
| LOW | public/js/client.js | 12843 | function toggleMsgerParticipantDropdownMenu(toggleEl, menuEl) { | CODE |
| LOW | public/js/client.js | 12854 | function handleMsgerParticipantDropdownDocumentClick(event) { | CODE |
| LOW | public/js/client.js | 12865 | function getMsgerParticipantDropdownActionMarkup(buttonId, iconClass, label, variant = 'default') { | CODE |
| LOW | public/js/client.js | 12881 | function getMsgerParticipantDropdownDividerMarkup() { | CODE |
| LOW | public/js/client.js | 12885 | function getMsgerRoomActionsDropdownMarkup(idSuffix = '') { | CODE |
| LOW | public/js/client.js | 12896 | function renderMsgerRoomActionsDropdown(dropdownContent, idSuffix = '') { | CODE |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | docker-compose-whisper.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | docker-compose-whisper.yml | 3 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | docker-compose-whisper.yml | 12 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docker-compose-whisper.yml | 14 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docker-compose-whisper.yml | 20 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docker-compose-whisper.yml | 22 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docker-compose-whisper.yml | 40 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | docker-compose-whisper.yml | 43 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docker-compose-whisper.yml | 45 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker-compose-whisper.yml | 67 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker-compose-whisper.yml | 69 | # ------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/src/scripts/extract-ui-lang.js | 23 | const ATTR_KEYS = ['title', 'placeholder', 'aria-label', 'data-tippy-content']; | CODE |
| LOW⚡ | tests/test-api.js | 44 | peerId1: { peer_name: 'John Doe' }, | CODE |
| LOW⚡ | tests/test-api.js | 45 | peerId2: { peer_name: 'John Doe' }, | CODE |
| LOW⚡ | tests/test-api.js | 48 | peerId1: { peer_name: 'John Doe' }, | CODE |
| LOW | tests/test-api.js | 94 | peer_name: 'John Doe', | CODE |
| LOW | tests/test-api.js | 139 | name: 'John Doe', | CODE |
| LOW | public/js/client.js | 15701 | const text = new fabric.IText('Lorem Ipsum', { | CODE |
| LOW | public/js/i18n.js | 60 | const ATTR_KEYS = ['title', 'placeholder', 'aria-label', 'data-tippy-content']; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | public/js/client.js | 10464 | // Enable/disable local audio as requested by caller | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose-whisper.yml | 1 | # ============================================================================= | COMMENT |
| LOW | docker-compose-whisper.yml | 21 | # Point MiroTalk P2P at this server | COMMENT |
| LOW | docker-compose.template.yml | 21 | # See https://doc.traefik.io/traefik/user-guides/docker-compose/basic-example/ | COMMENT |
| LOW | app/src/config.template.js | 201 | chatGPT: { | COMMENT |
| LOW | app/src/config.template.js | 221 | // lowest possible latency. The resulting text is distributed to peers over | COMMENT |
| LOW | public/css/client.css | 4241 | #myProfileAvatarUploadBtn, | COMMENT |
| LOW | public/js/helpers.js | 81 | // To start recording, call audioRecorder.getMixedAudioStream(audioStreams); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | docker-compose-whisper.yml | 5 | # Runs an OpenAI-compatible Whisper server so you can use the room | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webhook/README.md | 7 | ### Step 1: Enable Webhooks | COMMENT |
| LOW | webhook/README.md | 20 | ### Step 2: Run the Webhook Server | COMMENT |
| LOW | webhook/README.md | 36 | ### Step 3: Webhook Events | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/src/lib/whisper.js | 13 | // Stored normalized (lowercase, no spaces/punctuation) for robust matching. | COMMENT |