← Back to scan
File as GitHub Issue repo: mongodb/docs

Push this scan report to mongodb/docs

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self._test_movie_aggregation` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH MINED108 [MINED108] `self.assertLess` used but never assigned in __init__: Method `test_large_data… code-example-tests/python/pymongo/utils…:252
HIGH MINED108 [MINED108] `self._test_with_generated_data` used but never assigned in __init__: Method `… code-example-tests/python/pymongo/utils…:205
HIGH MINED108 [MINED108] `self._test_analytics_aggregation` used but never assigned in __init__: Method… code-example-tests/python/pymongo/utils…:203
HIGH MINED108 [MINED108] `self._test_restaurant_aggregation` used but never assigned in __init__: Metho… code-example-tests/python/pymongo/utils…:201
HIGH MINED108 [MINED108] `self._test_movie_aggregation` used but never assigned in __init__: Method `te… code-example-tests/python/pymongo/utils…:199
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_neighborho… code-example-tests/python/pymongo/utils…:187
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_restaurant… code-example-tests/python/pymongo/utils…:181
HIGH MINED108 [MINED108] `self.skipTest` used but never assigned in __init__: Method `setUp` of class `… code-example-tests/python/pymongo/utils…:175
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_transactio… code-example-tests/python/pymongo/utils…:165
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_customer_a… code-example-tests/python/pymongo/utils…:155
HIGH MINED108 [MINED108] `self.skipTest` used but never assigned in __init__: Method `test_check_availa… code-example-tests/python/pymongo/utils…:138
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_check_avai… code-example-tests/python/pymongo/utils…:136
HIGH MINED108 [MINED108] `self.check_sample_data_available` used but never assigned in __init__: Method… code-example-tests/python/pymongo/utils…:135
HIGH MINED108 [MINED108] `self.get_available_sample_databases` used but never assigned in __init__: Met… code-example-tests/python/pymongo/utils…:126
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_with_mixin… code-example-tests/python/pymongo/utils…:122
HIGH MINED108 [MINED108] `self.ensure_sample_data` used but never assigned in __init__: Method `test_wi… code-example-tests/python/pymongo/utils…:118
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_specific_c… code-example-tests/python/pymongo/utils…:87
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_cross_data… code-example-tests/python/pymongo/utils…:74
HIGH MINED108 [MINED108] `self._test_with_mock_data` used but never assigned in __init__: Method `test_… code-example-tests/python/pymongo/utils…:53
HIGH MINED108 [MINED108] `self._test_with_sample_data` used but never assigned in __init__: Method `tes… code-example-tests/python/pymongo/utils…:49
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_programmat… code-example-tests/python/pymongo/utils…:42
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_movies_and… code-example-tests/python/pymongo/utils…:33
HIGH MINED108 [MINED108] `self.assertTrue` used but never assigned in __init__: Method `test_basic_movi… code-example-tests/python/pymongo/utils…:26
HIGH MINED106 [MINED106] Phantom test coverage: test_adaptive_aggregation: Test function `test_adaptive… code-example-tests/python/pymongo/utils…:193
HIGH MINED134 [MINED134] Binary file `content/kotlin/current/examples/gradle/wrapper/gradle-wrapper.jar… content/kotlin/current/examples/gradle/…:1
HIGH MINED134 [MINED134] Binary file `content/kotlin/upcoming/examples/gradle/wrapper/gradle-wrapper.ja… content/kotlin/upcoming/examples/gradle…:1
HIGH MINED121 [MINED121] requirements.txt installs from `http://<opsmanagerhost>:8090/health...` (git/U… content/ops-manager/current/source/incl…:73
HIGH MINED121 [MINED121] requirements.txt installs from `http://<opsmanagerhost>:8090/health...` (git/U… content/ops-manager/upcoming/source/inc…:73
HIGH MINED121 [MINED121] requirements.txt installs from `http://<opsmanagerhost>:8090/health...` (git/U… content/ops-manager/v7.0/source/include…:73
HIGH MINED118 [MINED118] Dockerfile FROM `node:12-slim` not pinned by digest: `FROM node:12-slim` resol… content/realm/.github/actions/push-to-a…:1
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… content/node/v6.x/.github/workflows/cop…:21
HIGH MINED115 [MINED115] Action `MongoCaleb/pr-description-action` pinned to mutable ref `@master`: `us… content/node/v6.x/.github/workflows/add…:52
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… content/node/v6.x/.github/workflows/add…:15
HIGH MINED115 [MINED115] Action `errata-ai/vale-action` pinned to mutable ref `@reviewdog`: `uses: erra… content/node/v6.x/.github/workflows/val…:40
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@master`: `uses: actions/chec… content/node/v6.x/.github/workflows/val…:27
HIGH MINED115 [MINED115] Action `masesgroup/retrieve-changed-files` pinned to mutable ref `@v2`: `uses:… content/node/v6.x/.github/workflows/val…:22
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@master`: `uses: actions/chec… content/node/v6.x/.github/workflows/val…:13
HIGH MINED115 [MINED115] Action `errata-ai/vale-action` pinned to mutable ref `@reviewdog`: `uses: erra… content/mongodb-vscode/.github/workflow…:37
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@master`: `uses: actions/chec… content/mongodb-vscode/.github/workflow…:24
HIGH MINED115 [MINED115] Action `masesgroup/retrieve-changed-files` pinned to mutable ref `@v2`: `uses:… content/mongodb-vscode/.github/workflow…:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@master`: `uses: actions/chec… content/mongodb-vscode/.github/workflow…:16
HIGH MINED115 [MINED115] Action `tibdex/backport` pinned to mutable ref `@v2`: `uses: tibdex/backport@v… content/mongoid/current/.github/workflo…:24
HIGH MINED115 [MINED115] Action `MongoCaleb/pr-description-action` pinned to mutable ref `@master`: `us… content/mongoid/current/.github/workflo…:52
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… content/mongoid/current/.github/workflo…:15
HIGH MINED115 [MINED115] Action `errata-ai/vale-action` pinned to mutable ref `@reviewdog`: `uses: erra… content/mongoid/current/.github/workflo…:36
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… content/mongoid/current/.github/workflo…:24
HIGH MINED115 [MINED115] Action `masesgroup/retrieve-changed-files` pinned to mutable ref `@v2`: `uses:… content/mongoid/current/.github/workflo…:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… content/mongoid/current/.github/workflo…:13
HIGH MINED115 [MINED115] Action `tibdex/backport` pinned to mutable ref `@v2`: `uses: tibdex/backport@v… content/mongoid/upcoming/.github/workfl…:24
HIGH MINED115 [MINED115] Action `MongoCaleb/pr-description-action` pinned to mutable ref `@master`: `us… content/mongoid/upcoming/.github/workfl…:52
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… content/mongoid/upcoming/.github/workfl…:15
HIGH MINED115 [MINED115] Action `errata-ai/vale-action` pinned to mutable ref `@reviewdog`: `uses: erra… content/mongoid/upcoming/.github/workfl…:36
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… content/mongoid/upcoming/.github/workfl…:24
HIGH MINED115 [MINED115] Action `masesgroup/retrieve-changed-files` pinned to mutable ref `@v2`: `uses:… content/mongoid/upcoming/.github/workfl…:19
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… content/mongoid/upcoming/.github/workfl…:13
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… platform/tools/cdnLogParser/Dockerfile:1
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… code-example-tests/openapi/Dockerfile:1
MED MINED109 [MINED109] Mutable default argument in `measure_latency_with_varying_topk` (list): `def m… content/vector-search/source/includes/a…:1
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… content/atlas/source/includes/fts/tutor…:41
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… content/atlas/source/includes/ai-integr…:111
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… content/atlas/source/includes/ai-integr…:68
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… content/atlas/source/includes/ai-integr…:52
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… content/atlas/source/includes/ai-integr…:128
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… content/compass/conf.py:156
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:240
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:212
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:348
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:465
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:122
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:647
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:823
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:753
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:283
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:803
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:909
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… code-example-tests/python/pymongo/utils…:796
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … code-example-tests/python/pymongo/utils…:182
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… code-example-tests/python/pymongo/utils…:61
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … code-example-tests/java/driver-sync/sni…:63
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … code-example-tests/go/driver/snip.js:62
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … code-example-tests/csharp/driver/snip.js:81
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… content/app-services/source/authenticat…:15
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… code-example-tests/csharp/driver/Utilit…:18
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… code-example-tests/csharp/driver/Exampl…:67
MED COMP001 [COMP001] High cognitive complexity: Function `convert` has cognitive complexity 25 (Sona… .claude/skills/language-tabs-to-composa…:106
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED MINED124 [MINED124] requirements.txt: `The agents connect to |mms| on port ``443``. Whether you pr… content/cloud-manager/source/includes/r…:9
MED MINED124 [MINED124] requirements.txt: `Required Outbound Access` has no version pin: Unpinned pip … content/cloud-manager/source/includes/r…:6
MED MINED124 [MINED124] requirements.txt: `|mms| requires access on the following IP address ranges an… content/cloud-manager/source/includes/r…:4
MED MINED124 [MINED124] requirements.txt: `~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` has no version pin: Unpinne… content/cloud-manager/source/includes/r…:2
MED MINED124 [MINED124] requirements.txt: `Accessible Addresses and Ports` has no version pin: Unpinne… content/cloud-manager/source/includes/r…:1
MED MINED124 [MINED124] requirements.txt: `openai` has no version pin: Unpinned pip requirement means … ext-source/docs-notebooks/voyageai/apps…:8
MED MINED124 [MINED124] requirements.txt: `anthropic` has no version pin: Unpinned pip requirement mea… ext-source/docs-notebooks/voyageai/apps…:7
MED MINED124 [MINED124] requirements.txt: `python-dotenv` has no version pin: Unpinned pip requirement… ext-source/docs-notebooks/voyageai/apps…:6
MED MINED124 [MINED124] requirements.txt: `pypdf` has no version pin: Unpinned pip requirement means e… ext-source/docs-notebooks/voyageai/apps…:5
MED MINED124 [MINED124] requirements.txt: `langchain-text-splitters` has no version pin: Unpinned pip … ext-source/docs-notebooks/voyageai/apps…:4
MED MINED124 [MINED124] requirements.txt: `langchain-community` has no version pin: Unpinned pip requi… ext-source/docs-notebooks/voyageai/apps…:3
MED MINED124 [MINED124] requirements.txt: `numpy` has no version pin: Unpinned pip requirement means e… ext-source/docs-notebooks/voyageai/apps…:2
MED MINED124 [MINED124] requirements.txt: `voyageai` has no version pin: Unpinned pip requirement mean… ext-source/docs-notebooks/voyageai/apps…:1
MED MINED124 [MINED124] requirements.txt: `openai` has no version pin: Unpinned pip requirement means … ext-source/docs-notebooks/voyageai/apps…:9
MED MINED124 [MINED124] requirements.txt: `anthropic` has no version pin: Unpinned pip requirement mea… ext-source/docs-notebooks/voyageai/apps…:8
MED MINED124 [MINED124] requirements.txt: `python-dotenv` has no version pin: Unpinned pip requirement… ext-source/docs-notebooks/voyageai/apps…:7
MED MINED124 [MINED124] requirements.txt: `pypdf` has no version pin: Unpinned pip requirement means e… ext-source/docs-notebooks/voyageai/apps…:6
MED MINED124 [MINED124] requirements.txt: `langchain-text-splitters` has no version pin: Unpinned pip … ext-source/docs-notebooks/voyageai/apps…:5
MED MINED124 [MINED124] requirements.txt: `langchain-community` has no version pin: Unpinned pip requi… ext-source/docs-notebooks/voyageai/apps…:4
MED MINED124 [MINED124] requirements.txt: `pymongo` has no version pin: Unpinned pip requirement means… ext-source/docs-notebooks/voyageai/apps…:3
MED MINED124 [MINED124] requirements.txt: `numpy` has no version pin: Unpinned pip requirement means e… ext-source/docs-notebooks/voyageai/apps…:2
MED MINED124 [MINED124] requirements.txt: `voyageai` has no version pin: Unpinned pip requirement mean… ext-source/docs-notebooks/voyageai/apps…:1
MED MINED124 [MINED124] requirements.txt: `typing_extensions` has no version pin: Unpinned pip require… requirements.txt:3
MED MINED124 [MINED124] requirements.txt: `pygithub` has no version pin: Unpinned pip requirement mean… requirements.txt:2
MED MINED124 [MINED124] requirements.txt: `typer` has no version pin: Unpinned pip requirement means e… requirements.txt:1
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER platform/tools/cdnLogParser/Dockerfile:1
MED DKR001 Docker final stage has no non-root USER content/realm/.github/actions/push-to-a…:1
MED AIC001 Parallel implementation file sits beside a canonical file content/code-examples/tested/csharp/dri…:1
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AIC004 Suspicious implementation file appears unreferenced content/vector-search/source/includes/q…:1
MED AIC004 Suspicious implementation file appears unreferenced content/vector-search/source/includes/c…:1
MED JRN003 Frontend API reference is not matched by discovered backend routes platform/nextjs-extension/src/ui/App.tsx:17
MED JRN003 Frontend API reference is not matched by discovered backend routes platform/nextjs-extension/src/endpoints…:10
MED JRN003 Frontend API reference is not matched by discovered backend routes content/landing/static/css/landing.min.…:1
MED JRN003 Frontend API reference is not matched by discovered backend routes content/drivers/source/includes/node-fr…:23
MED JRN003 Frontend API reference is not matched by discovered backend routes content/drivers/source/includes/node-fr…:7
MED JRN003 Frontend API reference is not matched by discovered backend routes content/drivers/source/includes/node-fr…:7
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 21.9% of discovered …
MED AGT015 Remote install command pipes network code directly to a shell .github/lint-docs/README.md:19
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … platform/docs-nextjs/src/app/api/markdo…:19
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … platform/docs-nextjs/src/app/api/invent…:7
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … platform/docs-nextjs/src/app/api/banner…:21
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … platform/docs-nextjs/src/app/api/search…:17
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … platform/docs-nextjs/src/app/api/feedba…:42
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … platform/docs-nextjs/src/app/api/offlin…:6
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … platform/docs-nextjs/src/app/api/docume…:10
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … platform/docs-nextjs/src/app/api/produc…:16
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… content/django-mongodb/upcoming/source/…:21
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… content/django-mongodb/upcoming/source/…:15
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… content/app-services/source/tutorial/ba…:18
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… code-example-tests/java/utilities/sampl…:50
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. code-example-tests/go/driver/examples/a…:26
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. code-example-tests/go/driver/examples/a…:28
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. code-example-tests/go/atlas-sdk/interna…:120
LOW COMP001 [COMP001] High cognitive complexity: Function `composable_selections` has cognitive compl… .claude/skills/language-tabs-to-composa…:36
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 14 (SonarSo… .claude/skills/language-tabs-to-composa…:191
LOW AIC003 Duplicated implementation block across source files code-example-tests/python/pymongo/snip.…:13
LOW AIC003 Duplicated implementation block across source files code-example-tests/python/pymongo/snip.…:10
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:2
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:2
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:1
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:13
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:93
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:22
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:2
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:22
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:1
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:2
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:2
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:18
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:21
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:2
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:6
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/ut…:16
LOW AIC003 Duplicated implementation block across source files code-example-tests/javascript/driver/sn…:22
LOW AIC003 Duplicated implementation block across source files code-example-tests/java/utilities/compa…:34
LOW AIC003 Duplicated implementation block across source files code-example-tests/java/utilities/compa…:117
LOW AIC003 Duplicated implementation block across source files code-example-tests/java/utilities/compa…:23
LOW AIC003 Duplicated implementation block across source files code-example-tests/java/driver-sync/sni…:8
LOW AIC003 Duplicated implementation block across source files code-example-tests/go/driver/snip.js:7
LOW AIC003 Duplicated implementation block across source files code-example-tests/command-line/mongosh…:94
LOW AIC003 Duplicated implementation block across source files code-example-tests/command-line/mongosh…:22
LOW AIC003 Duplicated implementation block across source files .github/lint-docs/seo-lint-cli.ts:55
LOW AIC003 Duplicated implementation block across source files .github/lint-docs/seo-lint-cli.ts:5
LOW AIC003 Duplicated implementation block across source files .github/lint-docs/redirect-lint-cli.ts:85
LOW AIC003 Duplicated implementation block across source files .github/lint-docs/nested-components-lin…:43
LOW DKR010 Dockerfile leaves apt package indexes in the image layer content/realm/.github/actions/push-to-a…:3
LOW DKR011 Dockerfile installs recommended OS packages content/realm/.github/actions/push-to-a…:3
LOW AIC002 Source file name looks like an AI patch artifact platform/docs-nextjs/scripts/offline-ui…:1
LOW AIC002 Source file name looks like an AI patch artifact content/vector-search/source/includes/q…:1
LOW AIC002 Source file name looks like an AI patch artifact content/vector-search/source/includes/c…:1
LOW AIC002 Source file name looks like an AI patch artifact content/table-of-contents/docset-data/d…:1
LOW AIC002 Source file name looks like an AI patch artifact content/code-examples/tested/command-li…:1
LOW CORE_NO_LICENSE No LICENSE file
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. code-example-tests/python/pymongo/utils…:25
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… code-example-tests/python/pymongo/examp…:250
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… code-example-tests/python/pymongo/examp…:78
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… code-example-tests/python/pymongo/examp…:38
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… code-example-tests/go/atlas-sdk/example…:31
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… code-example-tests/go/atlas-sdk/example…:34
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… code-example-tests/go/atlas-sdk/example…:34
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… code-example-tests/csharp/driver/Exampl…:74
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… code-example-tests/csharp/driver/Exampl…:112
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… code-example-tests/csharp/driver/Exampl…:137
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… code-example-tests/command-line/mongosh…:8
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… code-example-tests/command-line/mongosh…:154
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… code-example-tests/command-line/mongosh…:53
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… code-example-tests/command-line/mongosh…:101
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/lint-docs/nested-components-lin…:42
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/lint-docs/findability-lint-cli.…:55
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/lint-docs/404-lint-cli.ts:266
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… .github/agents/atlas-release-notes/fetc…:87
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. .github/agents/atlas-release-notes/fetc…:135
Reset to top 5 200 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `mongodb/docs`

**Score: 68/100 (C+)**  ·  300 findings  ·  scanned 2026-06-05 17:10 UTC  ·  209,775 LOC

| Severity | Count |
|---|---|
| CRITICAL | 45 |
| HIGH | 82 |
| MEDIUM | 79 |
| LOW | 45 |

📊 [Full filterable report](https://repobility.com/scan/45647a76-006d-4191-82bd-1fd4610c4659/)  ·  ![scorecard](https://repobility.com/scan/45647a76-006d-4191-82bd-1fd4610c4659/report.png?v=1780679444-s2)

### Top findings

1. **HIGH** `MINED108` — `self.assertLess` used but never assigned in __init__
   `code-example-tests/python/pymongo/utils/sample_data/examples/example_tests.py:252` · ✓ Repobility
2. **HIGH** `MINED108` — `self._test_with_generated_data` used but never assigned in __init__
   `code-example-tests/python/pymongo/utils/sample_data/examples/example_tests.py:205` · ✓ Repobility
3. **HIGH** `MINED108` — `self._test_analytics_aggregation` used but never assigned in __init__
   `code-example-tests/python/pymongo/utils/sample_data/examples/example_tests.py:203` · ✓ Repobility
4. **HIGH** `MINED108` — `self._test_restaurant_aggregation` used but never assigned in __init__
   `code-example-tests/python/pymongo/utils/sample_data/examples/example_tests.py:201` · ✓ Repobility
5. **HIGH** `MINED108` — `self._test_movie_aggregation` used but never assigned in __init__
   `code-example-tests/python/pymongo/utils/sample_data/examples/example_tests.py:199` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/45647a76-006d-4191-82bd-1fd4610c4659/_
Megaproject â high spam risk
Could not determine 'mongodb/docs' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
155/321 findings (48%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.