Berty is a secure peer-to-peer messaging app that works with or without internet access, cellular data or trust in the network
This report summarizes scanner evidence for berty/berty, a TypeScript project with 9,341 GitHub stars. SynthScan examined 420,195 lines of code across 2058 source files, recording 425 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.1 (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? 80 finding(s).
Are imports declared and package/API names verified? 345 finding(s).
Are wrappers, guards, and repeated structures necessary? 6 finding(s).
Which changes need focused human review? 425 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 425 distinct pattern matches across 8 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 | go/internal/discordlog/discord_test.go | 12 | err := ShareQRLink("go test -v", QRCodeRoom, "Lorem Ipsum", "https://berty.tech", "https://berty.tech") | CODE |
| LOW | go/pkg/banner/doc.go | 4 | // /\ / /\ ______ Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW | go/pkg/banner/doc.go | 4 | // /\ / /\ ______ Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | go/pkg/banner/banner_test.go | 23 | fmt.Println(Say(`Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | go/pkg/banner/banner_test.go | 23 | fmt.Println(Say(`Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | go/pkg/banner/banner_test.go | 26 | // /\ / /\ ______ Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | go/pkg/banner/banner_test.go | 26 | // /\ / /\ ______ Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW | berty-bridge-expo/mobile/src/navigation/stacks.tsx | 599 | title: t('settings.fake-data.title'), | CODE |
| LOW⚡ | …expo/mobile/src/screens/settings/FakeData/FakeData.tsx | 31 | name={t('settings.fake-data.contacts-button')} | CODE |
| LOW⚡ | …expo/mobile/src/screens/settings/FakeData/FakeData.tsx | 39 | name={t('settings.fake-data.multi-members-button')} | CODE |
| LOW⚡ | …expo/mobile/src/screens/settings/FakeData/FakeData.tsx | 47 | name={t('settings.fake-data.messages-button')} | CODE |
| LOW⚡ | …expo/mobile/src/screens/settings/FakeData/FakeData.tsx | 55 | name={t('settings.fake-data.delete-button')} | CODE |
| LOW | …ge-expo/mobile/src/components/inputs/Input.stories.tsx | 28 | placeholder={"placeholder"} | CODE |
| LOW | …ge-expo/mobile/src/components/inputs/Input.stories.tsx | 44 | placeholder={"placeholder"} | CODE |
| LOW | …ge-expo/mobile/src/components/inputs/Input.stories.tsx | 60 | placeholder={"placeholder"} | CODE |
| LOW | …ge-expo/mobile/src/components/inputs/Input.stories.tsx | 76 | placeholder={"placeholder"} | CODE |
| LOW | …ge-expo/mobile/src/components/inputs/Input.stories.tsx | 91 | placeholder={"placeholder"} | CODE |
| LOW | …ge-expo/mobile/src/components/inputs/Input.stories.tsx | 106 | placeholder={"placeholder"} | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/tr-TR/messages.json | 87 | "placeholder": "Takma adınızı seçin", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/tr-TR/messages.json | 138 | "placeholder": "Grup ismi", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/tr-TR/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/tr-TR/messages.json | 378 | "placeholder": "Tema adı...", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/fr-FR/messages.json | 87 | "placeholder": "Choisissez votre pseudo", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/fr-FR/messages.json | 138 | "placeholder": "Nom du groupe", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/fr-FR/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/fr-FR/messages.json | 378 | "placeholder": "Nom du thème...", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/de-DE/messages.json | 87 | "placeholder": "Wähle deinen Spitznamen", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/de-DE/messages.json | 138 | "placeholder": "Gruppenname", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/de-DE/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/de-DE/messages.json | 378 | "placeholder": "Theme-Name...", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/pl-PL/messages.json | 87 | "placeholder": "Wybierz swój pseudonim", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/pl-PL/messages.json | 138 | "placeholder": "Nazwa grupy", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/pl-PL/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/pl-PL/messages.json | 378 | "placeholder": "Nazwa motywu...", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/vi-VN/messages.json | 87 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/vi-VN/messages.json | 138 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/vi-VN/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/vi-VN/messages.json | 378 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/da-DK/messages.json | 87 | "placeholder": "Vælg dit kaldenavn", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/da-DK/messages.json | 138 | "placeholder": "Gruppenavn", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/da-DK/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/da-DK/messages.json | 378 | "placeholder": "Temanavn...", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/no-NO/messages.json | 87 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/no-NO/messages.json | 138 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/no-NO/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/no-NO/messages.json | 378 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/el-GR/messages.json | 87 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/el-GR/messages.json | 138 | "placeholder": "Όνομα ομάδας", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/el-GR/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/el-GR/messages.json | 378 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/es-ES/messages.json | 87 | "placeholder": "Elige tu apodo", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/es-ES/messages.json | 138 | "placeholder": "Nombre del grupo", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/es-ES/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/es-ES/messages.json | 378 | "placeholder": "Nombre del tema...", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/ru-RU/messages.json | 87 | "placeholder": "Выбери себе никнейм", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/ru-RU/messages.json | 138 | "placeholder": "Название группы", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/ru-RU/messages.json | 307 | "fake-data": { | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/ru-RU/messages.json | 378 | "placeholder": "Название темы...", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/ca-ES/messages.json | 87 | "placeholder": "", | CODE |
| LOW | …bridge-expo/mobile/src/i18n/locale/ca-ES/messages.json | 138 | "placeholder": "", | CODE |
| 281 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/cmd/berty/token.go | 1 | package main | COMMENT |
| LOW | go/cmd/welcomebot/main.go | 541 | // }) | COMMENT |
| LOW | go/internal/tools/tools.go | 1 | //go:build tools | COMMENT |
| LOW | go/internal/tools/tools_untool.go | 1 | //go:build !tools | COMMENT |
| LOW | go/internal/messengerpayloads/handlers_test.go | 1 | package messengerpayloads | COMMENT |
| LOW | go/internal/messengerpayloads/handlers_test.go | 21 | // for _, o := range opts { | COMMENT |
| LOW | go/internal/messengerpayloads/handlers_test.go | 41 | // s, serviceDispose = TestingService(ctx, t, &TestingServiceOpts{ | COMMENT |
| LOW | go/internal/messengerpayloads/handlers_test.go | 61 | // t.Skip("TODO") | COMMENT |
| LOW | go/internal/messengerpayloads/handlers_test.go | 81 | // t.Skip("TODO") | COMMENT |
| LOW | go/internal/messengerpayloads/handlers_test.go | 101 | // t.Skip("TODO") | COMMENT |
| LOW | go/internal/messengerpayloads/handlers_test.go | 121 | // t.Skip("TODO") | COMMENT |
| LOW | go/internal/messengerpayloads/handlers_test.go | 141 | // t.Skip("TODO") | COMMENT |
| LOW | go/internal/initutil/manager.go | 241 | m.SetNetManager(netmanager.NewNoopNetManager()) | COMMENT |
| LOW | go/internal/discordlog/doc.go | 1 | // discordlog is an unsafe package used during development to log info directly on the Berty's Discord server. | COMMENT |
| LOW | go/pkg/bertylinks/links.go | 21 | // MarshalLink returns shareable web and internal URLs. | COMMENT |
| LOW | go/pkg/bertylinks/links.go | 501 | DefaultChecksumSize = 1 // 1-byte length by default (should have ~1/256 false-positive in case of invalid password) | COMMENT |
| LOW | go/pkg/bertyreplication/testing.go | 161 | require.NoError(t, err) | COMMENT |
| LOW | go/pkg/messengertypes/messengertypes_grpc.pb.go | 701 | } | COMMENT |
| LOW | go/pkg/bertybridge/bertybridge.pb.go | 21 | // Verify that runtime/protoimpl is sufficiently up-to-date. | COMMENT |
| LOW | go/pkg/bertybridge/bertybridge.pb.go | 41 | // The gRPC framework will generate this error code in the above two | COMMENT |
| LOW | go/pkg/bertybridge/bertybridge.pb.go | 61 | // not found. | COMMENT |
| LOW | go/pkg/bertybridge/bertybridge.pb.go | 81 | // a per-user quota, or perhaps the entire file system is out of space. | COMMENT |
| LOW | go/pkg/bertybridge/bertybridge.pb.go | 101 | // should be returned since the client should not retry unless | COMMENT |
| LOW | go/pkg/bertybridge/bertybridge.pb.go | 121 | // | COMMENT |
| LOW | go/pkg/bertybridge/bertybridge.pb.go | 141 | // commonly, you will see this error code when a method implementation | COMMENT |
| LOW | go/pkg/bertybridge/bertybridge.pb.go | 161 | // This error code will be generated by the gRPC framework during | COMMENT |
| LOW | go/pkg/bertyaccount/service_account.go | 1121 | // torFlag = defaultConfig.Tor | COMMENT |
| LOW | go/pkg/bertyaccount/blackbox_test.go | 161 | if err == io.EOF { | COMMENT |
| LOW | go/pkg/bertyaccount/blackbox_test.go | 181 | // state:"in progress" doing:"stop-buf-server" progress:0.1923077 completed:2 total:13 delay:228 | COMMENT |
| LOW | go/pkg/bertyaccount/blackbox_test.go | 201 | // state:"in progress" doing:"close-ipfs-node" progress:0.8076923 completed:10 total:13 delay:561 | COMMENT |
| LOW | go/pkg/bertyaccount/blackbox_test.go | 281 | break | COMMENT |
| LOW | go/pkg/bertyaccount/blackbox_test.go | 301 | // state:"in progress" doing:"stop-buf-server" progress:0.1923077 completed:2 total:13 delay:231 | COMMENT |
| LOW | go/pkg/bertyaccount/blackbox_test.go | 441 | steps++ | COMMENT |
| LOW | go/pkg/bertyaccount/blackbox_test.go | 461 | // state:"in progress" doing:"stop-buf-server" progress:0.1923077 completed:2 total:13 delay:237 | COMMENT |
| LOW | go/pkg/banner/doc.go | 1 | // Package banner generates ASCII picture of the Berty logo with a message. | COMMENT |
| LOW | go/pkg/banner/banner_test.go | 1 | package banner | COMMENT |
| LOW | go/pkg/banner/banner_test.go | 21 | COMMENT | |
| LOW | berty-bridge-expo/plugin/src/appGroup.ts | 1 | // The App Group container is where the Go bridge stores its "shared" root | COMMENT |
| LOW | berty-bridge-expo/ios/BertyBridgeExpo-Bridging-Header.h | 1 | // | COMMENT |
| LOW | berty-bridge-expo/mobile/src/utils/messenger/clients.ts | 101 | // const typeName = action?.payload?.type || beapi.messenger.StreamEvent.Notified.Type.Unknown | COMMENT |
| LOW | …nents/chat/message/user-message/getUserMessageState.ts | 81 | // TODO: tmp comment to don't have user frustration when a message is not received | COMMENT |
| LOW | …ty-bridge-expo/mobile/src/hooks/faking/faking.hooks.ts | 41 | // export const useGenerateFakeMessages = () => { | COMMENT |
| LOW | …rty/bertybridgeexpo/gobridge/bledriver/PeerDevice.java | 881 | COMMENT | |
| LOW | js/tsconfig.json | 21 | // "outDir": "./", /* Redirect output structure to the directory. */ | COMMENT |
| LOW | js/ios/Berty/Berty-Bridging-Header.h | 1 | // | COMMENT |
| LOW | …ain/java/tech/berty/gobridge/bledriver/PeerDevice.java | 881 | COMMENT | |
| LOW | …nents/chat/message/user-message/getUserMessageState.ts | 81 | // TODO: tmp comment to don't have user frustration when a message is not received | COMMENT |
| LOW | js/packages/hooks/faking/faking.hooks.ts | 41 | // export const useGenerateFakeMessages = () => { | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 61 | # queries: ./path/to/local/query, your-org/your-repo/queries@main | COMMENT |
| LOW | tool/game-utils/game-dev-app/tsconfig.json | 21 | // "removeComments": true, /* Do not emit comments to output. */ | COMMENT |
| LOW | …ol/game-utils/game-dev-app/ios/miniGame/AppDelegate.mm | 1 | #import "AppDelegate.h" | COMMENT |
| LOW | …oid/app/src/main/jni/MainApplicationModuleProvider.cpp | 1 | #include "MainApplicationModuleProvider.h" | COMMENT |
| LOW | tool/tyber/go/parser/event.go | 81 | AppStep | COMMENT |
| LOW | tool/tyber/js/index.js | 21 | // registerRootComponent calls AppRegistry.registerComponent('main', () => App); | COMMENT |
| LOW | tool/metrics-compose/config/prometheus/prometheus.yml | 1 | # my global config | COMMENT |
| LOW | tool/mobile-logs/get-mobile-logs.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tool/infra-testing-tool/go/todo.go | 1 | package main | COMMENT |
| LOW | tool/infra-testing-tool/go/todo.go | 21 | // certain ports for certain protocols, etc | COMMENT |
| LOW | tool/infra-testing-tool/go/config/node.go | 161 | panic(fmt.Sprintf("nodegroup %s has no connections", c.Name)) | COMMENT |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | go/internal/initutil/ipfs.go | 228 | m.Node.Protocol.MDNS.DriverLocker.Lock() | CODE |
| CRITICAL | go/internal/initutil/ipfs.go | 371 | logger.Debug("local PeerID", logutil.PrivateString("PeerID", m.Node.Protocol.ipfsNode.Identity.String())) | CODE |
| CRITICAL | go/internal/initutil/ipfs.go | 578 | cfg.Addresses.Swarm = append(cfg.Addresses.Swarm, m.Node.Protocol.Nearby.Driver.DefaultAddr()) | CODE |
| CRITICAL | go/internal/initutil/ipfs.go | 734 | m.Node.Protocol.MDNS.DriverLocker.Unlock() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | berty-bridge-expo/plugin/src/withBlePermissions.ts | 54 | function addLocationPermissionToManifest(androidManifest: AndroidManifest) { | CODE |
| LOW | berty-bridge-expo/plugin/src/withBlePermissions.ts | 98 | function addScanPermissionToManifest(androidManifest: AndroidManifest) { | CODE |
| LOW | …bridge-expo/mobile/src/components/chat/MessageList.tsx | 36 | const CenteredActivityIndicator: React.FC<ActivityIndicatorProps> = React.memo(function CenteredActivityIndicator(props) | CODE |
| LOW | …ithub/workflows/utils/get-self-hosted-runner-status.js | 5 | async function getSelfHostedRunnersStatus() { | CODE |
| LOW | …ithub/workflows/utils/get-self-hosted-runner-status.js | 43 | async function getSelfHostedRunnersOnlineCount() { | CODE |
| LOW | …ithub/workflows/utils/get-self-hosted-runner-status.js | 68 | async function isSelfHostedRunnerAvailable() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …actions/self-hosted-runners/xcode-cookie/gen_cookie.sh | 7 | # Check if env it set correctly | COMMENT |
| LOW | …actions/self-hosted-runners/xcode-cookie/gen_cookie.sh | 13 | # Check if fastlane cookie is still valid | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tool/tyber/js/web/index.html | 107 | Feel free to customize this however you'd like. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/go.yml | 310 | # TODO: consider adding various GOARCH check per OS. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tool/mobile-logs/get-mobile-logs.sh | 11 | # Usage: | COMMENT |