AI Slop Code Risk Monitor

keybase/client

SlopCodeMonitor badge for keybase/client Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for keybase/client, a Go project with 9,266 GitHub stars. SynthScan examined 1,282,299 lines of code across 5520 source files, recording 1102 pattern matches distributed across 16 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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
9.3K
Stars
Go
Language
1.3M
Lines of Code
5.5K
Files
1.1K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 3.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 933 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

Are imports declared and package/API names verified? 84 finding(s).

Agent Over-Engineering Ratio 1.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 117 finding(s).

PR Review Velocity Impact 5.4/100 · LOW

Which changes need focused human review? 1102 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 15HIGH 2MEDIUM 90LOW 995

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 1102 distinct pattern matches across 16 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.

Over-Commented Block838 hits · 808 pts
SeverityFileLineSnippetContext
LOWpackaging/lib.sh101 echo "Invalid PLATFORM: ${PLATFORM:-}" >&2COMMENT
LOWpackaging/desktop/make_dmg.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/linux/post_install.sh41 # Keybase supports running with and without systemd. In order for `su`COMMENT
LOWpackaging/linux/inside_docker_main.sh21# Copy the SSH configs to the home dir. We copy instead of sharing directlyCOMMENT
LOWpackaging/linux/docker_build.sh1#! /usr/bin/env bashCOMMENT
LOWpackaging/windows/osexeccheck.go1// On Windows, the default algorithm for searching for executable files involves looking in the currentCOMMENT
LOWgo/pinentry/pinentry_nix.go21//COMMENT
LOWgo/uidmap/uidmap.go341// worked, but might be arbitrarily out of date (depending on the cachedAtCOMMENT
LOWgo/uidmap/servicemap.go81}COMMENT
LOWgo/tools/tfilt/tfilt.go1// Copyright 2015 Keybase, Inc. All rights reserved. Use ofCOMMENT
LOWgo/install/install_unix.go21// Keybase launches when that user logs in. The second step is done the firstCOMMENT
LOWgo/terminalescaper/escaper.go81COMMENT
LOWgo/chat/journey_card_manager.go501// Condition: Only in #general channelCOMMENT
LOWgo/chat/boxer.go301 if ok {COMMENT
LOWgo/chat/boxer.go441 }COMMENT
LOWgo/chat/boxer.go461 // decrypt the message, twiddle your signature into another valid signatureCOMMENT
LOWgo/chat/boxer.go1521 b.G().MetaContext(ctx), tlfName, msg.ClientHeader.Conv.Tlfid,COMMENT
LOWgo/chat/prev.go1package chatCOMMENT
LOWgo/chat/boxer_test.go1861 // import hmacCOMMENT
LOWgo/chat/server_test.go1681COMMENT
LOWgo/chat/s3/multi.go41//COMMENT
LOWgo/chat/s3/multi.go421 }COMMENT
LOWgo/chat/s3/s3.go61 // A value of zero means no timeout.COMMENT
LOWgo/chat/s3/s3.go661// The delim parameter causes the response to group all of the keys thatCOMMENT
LOWgo/chat/s3/s3.go681//COMMENT
LOWgo/chat/s3/s3.go701// Name: "sample-bucket",COMMENT
LOWgo/chat/signencrypt/codec.go1// This is a construction for encrypting and signing a message, using aCOMMENT
LOWgo/chat/signencrypt/codec.go21//COMMENT
LOWgo/chat/signencrypt/codec.go41// 8) Concatenate all the ciphertexts from #7 into the output.COMMENT
LOWgo/chat/signencrypt/codec.go61//COMMENT
LOWgo/chat/signencrypt/codec.go81// man-in-the-middle can re-sign an encrypted payload with their own keyCOMMENT
LOWgo/chat/signencrypt/codec.go101// crypto, so that it's impossible to forget to check it.COMMENT
LOWgo/chat/storage/storage_test.go281 // Check that the body of the edit is *also* is deleted.COMMENT
LOWgo/chat/storage/storage_test.go461 setExpected("K", msgK, true, 0) // delh can't be deletedCOMMENT
LOWgo/chat/search/indexer.go441// The caller completes the op's callback with that error so every op has exactlyCOMMENT
LOWgo/chat/search/storage.go1021 seenIDs := md.SeenIDsCOMMENT
LOWgo/chat/attachments/preview_darwin.go1//go:build darwinCOMMENT
LOWgo/chat/attachments/crypt.go21 // constant nonce.COMMENT
LOWgo/auth/credential_authority.go121 // Deleted users are loaded by default.COMMENT
LOWgo/emails/utils.go21 return splitCOMMENT
LOWgo/gregor/interface.go161COMMENT
LOWgo/gregor/storage/mem_sm.go41COMMENT
LOWgo/externals/proof_service_reddit.go41 return nil, CheckProofPvl(mctx, keybase1.ProofType_REDDIT, rc.proof, h, pvlU)COMMENT
LOWgo/updater/util/unzip.go41 // Different error, don't retryCOMMENT
LOWgo/updater/osx/Updater/AppDelegate.h1//COMMENT
LOWgo/updater/osx/Updater/Prompt.m1//COMMENT
LOWgo/updater/osx/Updater/Defines.h1//COMMENT
LOWgo/updater/osx/Updater/main.m1//COMMENT
LOWgo/updater/osx/Updater/AppDelegate.m1//COMMENT
LOWgo/updater/watchdog/watchdog_test.go81 require.NoError(t, err)COMMENT
LOWgo/updater/keybase/context.go101COMMENT
LOW…WpfPrompter/WpfApplication1/Properties/AssemblyInfo.cs21// COM, set the ComVisible attribute to true on that type.COMMENT
LOW…WpfPrompter/WpfApplication1/Properties/AssemblyInfo.cs41)]COMMENT
LOW…mpter/WpfApplication1/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWgo/sigid/sigid.go41}COMMENT
LOWgo/sigid/sigid.go61//COMMENT
LOWgo/protocol/keybase1/simple_fs.go2481 // Begin list of items in directory at path.COMMENT
LOWgo/protocol/keybase1/simple_fs.go2501 SimpleFSCopy(context.Context, SimpleFSCopyArg) errorCOMMENT
LOWgo/protocol/keybase1/simple_fs.go2521 // Read (possibly partial) contents of open file,COMMENT
LOWgo/protocol/keybase1/simple_fs.go2561 // writer-TLF pair. They are in descending order by the modification timeCOMMENT
778 more matches not shown…
Decorative Section Separators61 hits · 183 pts
SeverityFileLineSnippetContext
MEDIUMshared/settings/typography.tsx39// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx41// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx119// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx121// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx153// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx155// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx192// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx194// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx246// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx248// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx278// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx280// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx299// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx301// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx333// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx335// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx350// ─────────────────────────────────────────────COMMENT
MEDIUMshared/settings/typography.tsx352// ─────────────────────────────────────────────COMMENT
MEDIUMshared/router-v2/router.tsx99// ─── Desktop ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/router-v2/router.tsx318// ─── Native ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/misc.tsx13// ─── openURL ────────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/misc.tsx27// ─── openSMS ────────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/misc.tsx43// ─── clearLocalLogs ──────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/misc.tsx50// ─── editAvatar ──────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/misc.tsx77// ─── pickImages ──────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/misc.tsx96// ─── pickFiles ──────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/misc.tsx109// ─── pickSave ────────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/misc.tsx121// ─── NotifyPopup ─────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/util/electron.tsx165// ─── Desktop implementation ────────────────────────────────────────────────COMMENT
MEDIUMshared/constants/platform.tsx9// ─── Mobile runtime imports ────────────────────────────────────────────────COMMENT
MEDIUMshared/constants/platform.tsx23// ─── Platform detection ────────────────────────────────────────────────────COMMENT
MEDIUMshared/constants/platform.tsx41// ─── Mobile-only exports ──────────────────────────────────────────────────COMMENT
MEDIUMshared/constants/platform.tsx88// ─── Desktop-only path helpers ────────────────────────────────────────────COMMENT
MEDIUMshared/constants/init/index.tsx23// platform.native — native keeps require() for Metro importAll ordering) ─────COMMENT
MEDIUMshared/constants/init/index.tsx40// ─── Location tracking (native only) ─────────────────────────────────────────COMMENT
MEDIUMshared/constants/init/index.tsx198// ─── Startup details (native only) ───────────────────────────────────────────COMMENT
MEDIUMshared/constants/init/index.tsx276// ─── onEngineIncoming ─────────────────────────────────────────────────────────COMMENT
MEDIUMshared/constants/init/index.tsx377// ─── initPlatformListener ─────────────────────────────────────────────────────COMMENT
MEDIUMshared/constants/init/shared.tsx95// ─── Bootstrap steps ──────────────────────────────────────────────────────────COMMENT
MEDIUMshared/common-adapters/box2-desktop-parity.test.tsx42// ─── desktop: box.css plus the inline style ───────────────────────────────────COMMENT
MEDIUMshared/common-adapters/box2-desktop-parity.test.tsx183// ─── native: the flattened style as Yoga reads it ─────────────────────────────COMMENT
MEDIUMshared/common-adapters/box2-desktop-parity.test.tsx213// ─── sweeps ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/common-adapters/box2-desktop-parity.test.tsx270// ─── pointer-events down a chain of boxes ─────────────────────────────────────COMMENT
MEDIUMshared/common-adapters/avatar/index.tsx43// ── Placeholder img-set resolution ───────────────────────────────────────────COMMENT
MEDIUMshared/common-adapters/avatar/index.tsx127// ── Native-only ──────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/common-adapters/avatar/index.tsx151// ── Desktop-only ─────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/common-adapters/avatar/index.tsx165// ── Component ────────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx9// ─── Global margins ───────────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx138// ─── Font definitions ─────────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx204// ─── Utility styles ───────────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx225// ─── Platform-specific style collections ──────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx253// ─── Transition helpers ───────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx258// ─── Desktop initializer (DOM manipulation — desktop only) ────────────────────COMMENT
MEDIUMshared/styles/index.tsx316// ─── hairlineWidth ────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx320// ─── collapseStyles ───────────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx369// ─── Platform constants ───────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx375// ─── Path utilities ───────────────────────────────────────────────────────────COMMENT
MEDIUMshared/styles/index.tsx404// ─── Re-exports ───────────────────────────────────────────────────────────────COMMENT
MEDIUMshared/team-building/service-tab-bar.tsx41// ── Native-only helpers ──────────────────────────────────────────────────────COMMENT
MEDIUMshared/team-building/service-tab-bar.tsx225// ── Desktop-only helpers ─────────────────────────────────────────────────────COMMENT
1 more matches not shown…
Hallucination Indicators15 hits · 150 pts
SeverityFileLineSnippetContext
CRITICALgo/chat/server.go3164 TeamID: keybase1.TeamID(conv.Conv.Metadata.IdTriple.Tlfid.String()),CODE
CRITICALgo/chat/convsource.go598 teamID, err := keybase1.TeamIDFromString(conv.Conv.Metadata.IdTriple.Tlfid.String())CODE
CRITICALgo/chat/uiinboxloader.go482 bt = newBigTeam(name, conv.Conv.Metadata.IdTriple.Tlfid.TLFIDStr())CODE
CRITICALgo/chat/teamchannelsource.go217 tlfID := rc.Conv.Metadata.IdTriple.Tlfid.TLFIDStr()CODE
CRITICALgo/chat/storage/inbox.go595 if conv.Conv.Metadata.IdTriple.Tlfid.Eq(tlfID) && conv.GetMembersType() == membersType &&CODE
CRITICALgo/chat/storage/inbox.go920 conv.Conv.Metadata.IdTriple.Tlfid.Eq(tlfID) {CODE
CRITICALgo/chat/storage/inbox.go1864 if teamMemberRoleUpdate != nil && conv.Conv.Metadata.IdTriple.Tlfid.Eq(teamMemberRoleUpdate.TlfID) {CODE
CRITICALgo/kbfs/libdokan/symlink.go34 _, _, err = s.parent.folder.fs.config.KBFSOps().Lookup(CODE
CRITICALgo/kbfs/libfuse/symlink.go40 s.parent.folder.fs.vlog.CLogf(ctx, libkb.VLog1, "Symlink Attr")CODE
CRITICALgo/kbfs/libfuse/symlink.go43 _, de, err := s.parent.folder.fs.config.KBFSOps().Lookup(CODE
CRITICALgo/kbfs/libfuse/symlink.go66 s.parent.folder.fs.vlog.CLogf(ctx, libkb.VLog1, "Symlink Readlink")CODE
CRITICALgo/kbfs/libfuse/symlink.go69 _, de, err := s.parent.folder.fs.config.KBFSOps().Lookup(CODE
CRITICAL…p/src/main/java/io/keybase/ossifrage/KBPushNotifier.kt121 io.keybase.ossifrage.modules.NativeLogger.error("KBPushNotifier.displayChatNotification failed: " + e.meCODE
CRITICAL…p/src/main/java/io/keybase/ossifrage/KBPushNotifier.kt175 io.keybase.ossifrage.modules.NativeLogger.error("KBPushNotifier.displayChatNotification2 notifications are dCODE
CRITICAL…p/src/main/java/io/keybase/ossifrage/KBPushNotifier.kt184 io.keybase.ossifrage.modules.NativeLogger.error("KBPushNotifier.displayChatNotification2 exception: " + e.meCODE
Fake / Example Data69 hits · 76 pts
SeverityFileLineSnippetContext
LOWgo/kbtest/kbtest.go484 email := fmt.Sprintf("%s@example.org", hex.EncodeToString(buf))CODE
LOW⚡go/chat/prev_test.go50 hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go55 hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go59 Hash: []byte("placeholder"),CODE
LOWgo/chat/prev_test.go79 hash: []byte("placeholder"),CODE
LOWgo/chat/prev_test.go84 hash: []byte("placeholder"),CODE
LOWgo/chat/prev_test.go96 hash: []byte("placeholder"),CODE
LOWgo/chat/prev_test.go109 hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go127 hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go131 Hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go137 hash: []byte("placeholder"),CODE
LOWgo/chat/prev_test.go150 hash: []byte("placeholder"),CODE
LOWgo/chat/prev_test.go154 Hash: []byte("placeholder"),CODE
LOWgo/chat/prev_test.go168 hash: []byte("placeholder"),CODE
LOWgo/chat/prev_test.go172 hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go190 hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go195 hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go199 Hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go206 hash: []byte("placeholder"),CODE
LOW⚡go/chat/prev_test.go210 Hash: []byte("placeholder"),CODE
LOW⚡go/chat/unfurl/testcases/reddit0.html1375 </script><script id="data">window.___r = {"accountManagerModalData":{},"activeModalId":null,"ads":{},"alpha":{"nCODE
LOWgo/emails/user_test.go21 email := fmt.Sprintf("%s@example.org", hex.EncodeToString(buf))CODE
LOWgo/emails/utils.go33// this case: { "jan@example.com", "alice@example.org" }.COMMENT
LOWgo/systests/contacts_test.go178 const randomEmail = "doesnotexist@example.org"CODE
LOWgo/kbfs/libkbfs/tlf_journal_test.go254 Name: "fake_user",CODE
LOWgo/kbfs/libkbfs/cr_chains_test.go153 uid.AsUserOrTeam(): "fake_user",CODE
LOWgo/kbfs/search/indexer_test.go174 const aText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOWgo/kbfs/search/indexer_test.go174 const aText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOWgo/kbfs/search/indexer_test.go283 const a1Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOWgo/kbfs/search/indexer_test.go283 const a1Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOWgo/service/contacts_test.go77 contacts.MakeEmailComponent("email", "alice@example.org"),CODE
LOWgo/service/contacts_test.go170 Query: "alice@example.org",CODE
LOWgo/service/contacts_test.go194 contacts.MakeEmailComponent("email", "alice@example.org"),CODE
LOWgo/service/contacts_test.go221 all.contactsMock.Emails["alice@example.org"] = contacts.MakeMockLookupUser("alice", "")CODE
LOWgo/service/contacts_test.go226 contacts.MakeEmailComponent("email", "alice@example.org"),CODE
LOWgo/service/kvstore_test.go63 cleartextSecret := "lorem ipsum blah blah blah" //nolint:gosec // G101: Test data string, not real credentialsCODE
LOWgo/service/kvstore_test.go80 updatedSecret := `Contrary to popular belief, Lorem Ipsum is not simplyCODE
LOWgo/service/usersearch_test.go432 makeContact(makeContactArg{index: 0, name: "Alice", email: "a@example.org", username: "alice"}),CODE
LOWgo/service/usersearch_test.go864 "alice@example.org",CODE
LOWgo/service/usersearch_test.go929 require.Equal(t, "alice@example.org", ret[0].Input)CODE
LOWgo/service/usersearch_test.go931 require.Equal(t, "alice@example.org", ret[0].AssertionValue)CODE
LOWgo/engine/pgp_warnings_test.go25name of Lorem Ipsum decided to leave for the far World of Grammar. The Big OxmoxCODE
LOWskill/playwright-cli/SKILL.md38playwright-cli fill e5 "user@example.com"CODE
LOWskill/playwright-cli/SKILL.md232playwright-cli fill e1 "user@example.com"CODE
LOWskill/playwright-cli/references/test-generation.md21playwright-cli fill e1 "user@example.com"CODE
LOWskill/playwright-cli/references/test-generation.md23# await page.getByRole('textbox', { name: 'Email' }).fill('user@example.com');COMMENT
LOWskill/playwright-cli/references/test-generation.md44 await page.getByRole('textbox', { name: 'Email' }).fill('user@example.com');CODE
LOWskill/playwright-cli/references/running-code.md214 await page.fill('input[name=email]', 'user@example.com');CODE
LOW⚡skill/playwright-cli/references/storage-state.md238playwright-cli fill e1 "user@example.com"CODE
LOWskill/playwright-cli/references/session-management.md17playwright-cli -s=auth fill e1 "user@example.com"CODE
LOWshared/chat/conversation/thread-message-state.tsx297 if (_m.type === 'placeholder') {CODE
LOWshared/chat/conversation/thread-message-state.tsx299 if (old && old.type !== 'placeholder') {CODE
LOWshared/chat/conversation/thread-message-state.tsx598 if (m && m.type !== 'deleted' && m.type !== 'placeholder') {CODE
LOWshared/chat/conversation/messages/row-metadata.tsx66 const provisional = !inWindow || (!!previous && (!previousMessage || previousMessage.type === 'placeholder'))CODE
LOWshared/chat/conversation/messages/separator.tsx31 !!orangeOrdinal && s.messageMap.has(orangeOrdinal) && orangeMessage?.type !== 'placeholder'CODE
LOW…red/chat/conversation/messages/message-popup/index.tsx86 case 'placeholder':CODE
LOWshared/chat/conversation/messages/wrapper/index.tsx49 case 'placeholder':CODE
LOWshared/signup/email.stories.tsx24 email: 'user@example.com',CODE
LOWshared/constants/types/chat/message.tsx122 readonly type: 'placeholder'CODE
LOWshared/constants/chat/message.tsx55 message.type === 'placeholder' ||CODE
9 more matches not shown…
Excessive Try-Catch Wrapping24 hits · 45 pts
SeverityFileLineSnippetContext
LOWgo/tools/airdrop-setup/airdrop-setup.py74 except Exception as e:CODE
MEDIUMgo/kbfs/libkbfs/prefetcher_test.go194 assert.Fail(t, fmt.Sprint("Error notifying sync channel. Stack:\n"+getStack()))CODE
MEDIUMgo/kbfs/libdokan/noexec_test.go81 require.NoError(t, err, fmt.Sprint("Error finding go.exe: ", err))CODE
MEDIUMgo/kbfs/libdokan/noexec_test.go87 require.NoError(t, err, fmt.Sprint("Error copying go.exe to kbfs: ", err))CODE
MEDIUMgo/engine/list_tracking_test.go64 require.NoError(t, err, fmt.Sprint("Error in ListTrackingEngine:", err))CODE
MEDIUMgo/engine/list_tracking_test.go67 require.NoError(t, err, fmt.Sprint("Error in tracking engine result entries verification:", err))CODE
MEDIUMgo/engine/list_tracking_test.go79 require.NoError(t, err, fmt.Sprint("Error in ListTrackingEngine:", err))CODE
MEDIUMgo/engine/list_tracking_test.go82 require.NoError(t, err, fmt.Sprint("Error in tracking engine result entries verification:", err))CODE
MEDIUMgo/engine/list_tracking_test.go100 require.NoError(t, err, fmt.Sprint("Error in ListTrackingEngine:", err))CODE
MEDIUMgo/engine/list_tracking_test.go124 require.NoError(t, err, fmt.Sprint("Error in ListTrackingEngine:", err))CODE
MEDIUMgo/engine/list_tracking_test.go149 require.NoError(t, err, fmt.Sprint("Error in ListTrackingEngine:", err))CODE
MEDIUMgo/engine/list_tracking_test.go171 require.NoError(t, err, fmt.Sprint("Error in ListTrackingEngine:", err))CODE
MEDIUMgo/engine/list_tracking_test.go185 require.NoError(t, err, fmt.Sprint("Error in ListTrackingEngine:", err))CODE
MEDIUMgo/engine/list_tracking_test.go237 require.NoError(t, err, fmt.Sprint("Error in ListTrackingEngine:", err))CODE
MEDIUM⚡go/engine/pgp_update_test.go59 require.NoError(t, err, fmt.Sprint("Error initializing GpgCLI", err))CODE
MEDIUM⚡go/engine/pgp_update_test.go68 require.NoError(t, err, fmt.Sprint("Error in PGPUpdateEngine:", err))CODE
MEDIUM⚡go/engine/pgp_update_test.go76 require.NoError(t, err, fmt.Sprint("Error in PGPUpdateEngine:", err))CODE
MEDIUMskill/update-dependencies/check-dupes.py18 print(f'Error: {root} not found. Run from shared/.', file=sys.stderr)CODE
LOWskill/update-dependencies/check-dupes.py76 except Exception:CODE
MEDIUMskill/update-dependencies/check-audit.py20 print('Error: yarn.lock not found. Run from shared/.', file=sys.stderr)CODE
LOWskill/update-dependencies/check-outdated.py153 except Exception as e:CODE
LOWshared/tools/fonts/font_tool.py233 except Exception:CODE
LOWshared/tools/fonts/font_tool.py639 except Exception as e:CODE
LOWshared/tools/fonts/font_tool.py771 except Exception as e:CODE
Hyper-Verbose Identifiers31 hits · 33 pts
SeverityFileLineSnippetContext
LOWgo/tools/airdrop-setup/airdrop-setup.py84def create_user_with_disclaimer(*_):CODE
LOWshared/chat/inbox-and-conversation-shared.tsx26export function InboxAndConversationShell(props: Props) {CODE
LOWshared/chat/conversation/center-context.tsx72export const ConversationCenterProvider = function ConversationCenterProvider(p: {CODE
LOW…nversation/messages/system-invite-accepted/wrapper.tsx12function SystemInviteAcceptedContainer(p: OwnProps) {CODE
LOW…t/conversation/messages/system-new-channel/wrapper.tsx10function SystemNewChannelContainer(p: OwnProps) {CODE
LOW…t/conversation/messages/system-create-team/wrapper.tsx15function SystemCreateTeamContainer(p: OwnProps) {CODE
LOW…conversation/messages/system-added-to-team/wrapper.tsx17function SystemAddedToTeamContainer(p: OwnProps) {CODE
LOW⚡…chat/conversation/messages/cards/team-journey/util.tsx7function computeWelcomeMessageTextHelper(set: boolean, text: string, cannotWrite: boolean): string {CODE
LOW⚡…chat/conversation/messages/cards/team-journey/util.tsx16function computeWelcomeMessageTextRaw(message: T.RPCChat.WelcomeMessage, cannotWrite: boolean): string {CODE
LOW⚡…chat/conversation/messages/cards/team-journey/util.tsx20function computeWelcomeMessageText(message: T.RPCChat.WelcomeMessageDisplay, cannotWrite: boolean): string {CODE
LOW⚡…chat/conversation/messages/cards/team-journey/util.tsx27function removeWhitespaceOnlyLines(x: string): string {CODE
LOW…versation/messages/system-change-retention/wrapper.tsx14function SystemChangeRetentionContainer(p: OwnProps) {CODE
LOW…ersation/messages/system-simple-to-complex/wrapper.tsx11function SystemSimpleToComplexContainer(p: OwnProps) {CODE
LOW…rsation/messages/text/unfurl/prompt-list/container.tsx12function UnfurlPromptListContainer({messageID}: {messageID: T.Chat.MessageID}) {CODE
LOW…tion/messages/system-users-added-to-conv/container.tsx10function UsersAddedToConversationContainer(p: OwnProps) {CODE
LOWshared/chat/conversation/info-panel/menu.tsx36const InfoPanelMenuConnectorVisible = function InfoPanelMenuConnectorVisible(p: OwnProps) {CODE
LOWshared/chat/conversation/header-area/index.tsx73const HeaderBranchContainerInner = function HeaderBranchContainerInner(props: HeaderConversationProps) {CODE
LOWshared/chat/conversation/normal/container.test.tsx71function mockConversationThreadLoadStatusProvider(CODE
LOWshared/chat/conversation/input-area/input-state.tsx402export function useConversationInputDispatchOptional(): ConversationInputDispatch | undefined {CODE
LOWshared/util/qr-code.tsx61function getErrorCorrectPolynomial(ecLength: number): number[] {CODE
LOWshared/util/timestamp.tsx47export function formatTimeForConversationList(time: number, nowOverride?: number | null): string {CODE
LOWshared/util/timestamp.tsx188export function formatTimeForAssertionPopup(time: number): string {CODE
LOWshared/util/timestamp.tsx193export function formatTimeForDeviceTimeline(time: number): string {CODE
LOWshared/util/util.tsx3function renderElementOrComponentOrNot(CODE
LOWshared/util/platform-specific/index.tsx83export async function saveAttachmentToCameraRoll(filePath: string, mimeType: string): Promise<void> {CODE
LOWshared/common-adapters/text.styles.tsx4function fontSizeToSizeStyleDesktop(fontSize: 12 | 13 | 14 | 15 | 16 | 17 | 18 | 20 | 24 | 28) {CODE
LOWshared/common-adapters/text.styles.tsx22function fontSizeToSizeStyleNative(fontSize: number): {fontSize: number; lineHeight: number} {CODE
LOWshared/people/index.tsx104function ResentEmailVerificationBanner(props: {CODE
LOWshared/team-building/service-tab-bar.tsx57const TabletBottomBorderExtension = function TabletBottomBorderExtension(props: {CODE
LOWprotocol/bin/swift.rb191def json_return_statement_for_array(rpc_method, item_cname)CODE
LOWprotocol/bin/generate-ts.ts881function camelcaseWithSpecialHandlings(s: string, shouldCapitalize: boolean): string {CODE
AI Slop Vocabulary10 hits · 27 pts
SeverityFileLineSnippetContext
LOWgo/test/check_or_start_kbweb.sh18# If there's already a server listening on port 3000, just use itCOMMENT
MEDIUM⚡go/chat/unfurl/testcases/reddit0.html1375 </script><script id="data">window.___r = {"accountManagerModalData":{},"activeModalId":null,"ads":{},"alpha":{"nCODE
LOW⚡go/chat/unfurl/testcases/reddit0.html1375 </script><script id="data">window.___r = {"accountManagerModalData":{},"activeModalId":null,"ads":{},"alpha":{"nCODE
MEDIUMgo/kbfs/libgit/rpc.go179 // TODO: cancel outstanding timers on shutdown, if we ever utilizeCOMMENT
MEDIUMgo/kbfs/data/file_data.go632 // but this is more robust and easy.COMMENT
MEDIUMgo/engine/saltpack_sender_identify.go62 // Essentially nothing that this key/basics.json endpoint tells us isCOMMENT
MEDIUM…d/chat/conversation/input-area/suggestors/commands.tsx210 // we can't do a more robust check on `text` because it can be out of date.COMMENT
MEDIUM…odules/react-native-kb/cpp/tests/frame-parser-test.cpp7#include "test-harness.h"COMMENT
MEDIUM…modules/react-native-kb/cpp/tests/jsi-convert-test.cpp20#include "test-harness.h"COMMENT
MEDIUM…eact-native-kb/cpp/tests/engine-reset-backoff-test.cpp9#include "test-harness.h"COMMENT
TODO Padding14 hits · 20 pts
SeverityFileLineSnippetContext
LOWgo/kbtest/chat.go201 // TODO: implement rest when we need itCOMMENT
LOWgo/kbfs/libkbfs/key_manager.go840 // TODO: Add test coverage for this.COMMENT
LOWgo/kbfs/libkbfs/keybase_daemon_rpc_test.go109// TODO: Add tests for Favorite* methods, too.COMMENT
LOWgo/kbfs/libkbfs/folder_branch_ops.go7983 // TODO: implement a "forced" option that rekeys even when theCOMMENT
LOWgo/kbfs/libkbfs/folder_branch_status.go63// TODO: implement magical status update like FolderBranchStatusCOMMENT
LOWgo/kbfs/libkbfs/mdcache.go111 // TODO: implement our own LRU where we can replace the old dataCOMMENT
LOWgo/kbfs/tlfhandle/identify_util.go308 // TODO: implement a version of errgroup with limited concurrency.COMMENT
LOWgo/kbfs/tlfhandle/identify_util.go328 // TODO: implement concurrency limited version of errgroup.COMMENT
LOWgo/kbfs/libfuse/fs_darwin.go120// TODO: implement per-TLF "trash" location, and have this type figureCOMMENT
LOWgo/engine/common_test.go323// TODO: Add tests that use testEngineWithSecretStore for every engineCOMMENT
LOWosx/KBKit/KBKit/UI/Search/KBSearchControl.m86 // TODO: Handle error, retry buttonCOMMENT
LOWosx/KBKit/KBKit/App/KBAppExtension.m47 // TODO: Handle errorCOMMENT
LOWosx/KBKit/KBKit/RPC/KBRObject.m37 NSDictionary *dict = [MTLJSONAdapter JSONDictionaryFromModel:self error:nil]; // TODO: Handle errorCODE
LOWshared/util/platform-specific/kbfs-notifications.tsx210 // TODO: implement the special popup window (DESKTOP-3637)COMMENT
Structural Annotation Overuse10 hits · 16 pts
SeverityFileLineSnippetContext
LOWgo/systests/team_list_test.go27 // Step 1 - create the initial team with mix of normal members,COMMENT
LOWgo/doc/context.md73## Step 1: Use NIST Tokens for Session EstablishmentCOMMENT
LOWgo/doc/context.md88## Step 2: Propagate MetaContext from libkb outwardCOMMENT
LOWgo/doc/context.md111## Step 3: Retire LoginStateCOMMENT
LOWgo/kbfs/libkbfs/conflict_resolver.go3649 // Step 1: Build the chains for each branch, as well as the pathsCOMMENT
LOWgo/kbfs/libkbfs/conflict_resolver.go3725 // Step 2: Figure out which actions need to be taken in the mergedCOMMENT
LOWgo/kbfs/libkbfs/conflict_resolver.go3753 // Step 3: Apply the actions by looking up the correspondingCOMMENT
LOWgo/kbfs/libkbfs/conflict_resolver.go3801 // Step 4: finish up by syncing all the blocks, computing andCOMMENT
LOW⚡skill/playwright-cli/references/storage-state.md235# Step 1: Login and save stateCOMMENT
LOW⚡skill/playwright-cli/references/storage-state.md245# Step 2: Later, restore state and skip loginCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ompter/WpfApplication1/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…mpter/WpfApplication1/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Example Usage Blocks8 hits · 12 pts
SeverityFileLineSnippetContext
LOWpackaging/linux/deb/package_binaries.sh7# Usage:COMMENT
LOWpackaging/linux/rpm/package_binaries.sh7# Usage:COMMENT
LOWgo/stellar/stellarsvc/service.go67// Example usage:COMMENT
LOWshared/tests/e2e/run-ios-appium.sh6# Usage:COMMENT
LOWshared/tests/e2e/run-ios-chat.sh4# Usage:COMMENT
LOWshared/tests/e2e/run-android-appium.sh5# Usage:COMMENT
LOWshared/tests/e2e/run-ios-share.sh4# Usage:COMMENT
LOWshared/tests/e2e/run-ios-lifecycle.sh4# Usage:COMMENT
Verbosity Indicators6 hits · 9 pts
SeverityFileLineSnippetContext
LOWgo/teams/transactions.go838// The purpose of this function is to complete social invites when user isCOMMENT
LOWgo/kbfs/libkbfs/conflict_resolver.go3649 // Step 1: Build the chains for each branch, as well as the pathsCOMMENT
LOWgo/kbfs/libkbfs/conflict_resolver.go3725 // Step 2: Figure out which actions need to be taken in the mergedCOMMENT
LOWgo/kbfs/libkbfs/conflict_resolver.go3753 // Step 3: Apply the actions by looking up the correspondingCOMMENT
LOWgo/kbfs/libkbfs/conflict_resolver.go3801 // Step 4: finish up by syncing all the blocks, computing andCOMMENT
LOWgo/client/chat_cli_flag_utils.go247// The purpose of this function is to provide more information inCOMMENT
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWskill/keybase-rpc-log-analysis/scripts/rpc-report.py21CODE
LOWskill/keybase-rpc-log-analysis/scripts/kblog.py64CODE
LOWskill/keybase-rpc-log-analysis/scripts/rpc-why.py28CODE
LOWskill/electron-profile/scripts/tracelib.py10CODE
LOWshared/tools/fonts/font_tool.py27CODE
LOWshared/tools/fonts/font_tool.py138CODE
LOWshared/tools/fonts/font_tool.py463CODE
LOWshared/tools/fonts/font_tool.py508CODE
Self-Referential Comments2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMgo/install/install_unix.go31const autostartFileText = `# This file is generated by Keybase, along with a sentinelCODE
MEDIUMosx/Helper/SMJobBlessUtil.py212 # Create a map from the tool name (not path) to its designated requirement.COMMENT
Slop Phrases3 hits · 5 pts
SeverityFileLineSnippetContext
LOW⚡go/chat/unfurl/testcases/reddit0.html1375 </script><script id="data">window.___r = {"accountManagerModalData":{},"activeModalId":null,"ads":{},"alpha":{"nCODE
MEDIUMgo/chat/utils/utils_test.go591 " I'm curious; I'm trying to use `keybase encrypt` from the cli (as the feature isn't on mobile *yet*) and I'm unable CODE
LOWgo/sig3/sig3.go203 // Make sure to replace them on the way out of the function, even in an error.COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWskill/react-devtools-profile/scripts/rdtlib.py8CODE