AI Slop Code Risk Monitor

NixOS/nixpkgs

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

Nix Packages collection & NixOS

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for NixOS/nixpkgs, a Nix project with 26,666 GitHub stars. SynthScan examined 884,079 lines of code across 3368 source files, recording 934 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 1.4 (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.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
26.7K
Stars
Nix
Language
884.1K
Lines of Code
3.4K
Files
934
Pattern Hits
2026-10-31
Scan Date
0.01
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 4.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

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

Agent Over-Engineering Ratio 2.5/100 · LOW

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

PR Review Velocity Impact 7.0/100 · LOW

Which changes need focused human review? 934 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 0HIGH 30MEDIUM 104LOW 800

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 934 distinct pattern matches across 23 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.

Hyper-Verbose Identifiers233 hits · 234 pts
SeverityFileLineSnippetContext
LOWci/github-script/check-target-branch.ts111async function postPossibleMassRebuildReview(facts: TargetBranchReviewFacts) {CODE
LOWci/github-script/lint-commits.ts94 function makeConventionalCommitRegex(CODE
LOWci/github-script/check-target-branch-policy.ts51export function evaluateTargetBranchPolicy({CODE
LOWmaintainers/scripts/update.py89async def attr_instantiation_worker(CODE
LOWmaintainers/scripts/kde/utils.py107 def from_repo_metadata_checkout(cls, repo_metadata: pathlib.Path, unstable=False):CODE
LOW…preters/python/hooks/python-runtime-deps-check-hook.py36def get_manifest_text_from_wheel(wheel: str) -> str:CODE
LOWpkgs/development/tools/simavr/setup-hook-darwin.sh28function runFixupCFlagsForDarwinLast() {CODE
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py148def tag_from_github_atom_href(href: str) -> str | None:CODE
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py359 def _get_recent_tags_from_atom(self) -> list[str]:CODE
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py382 def _get_latest_tag_from_fallbacks(self) -> str | None:CODE
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py639def normalize_release_version(tag: str) -> str | None:CODE
LOW…/python-modules/gradio/conftest-skip-network-errors.py10def pytest_runtest_makereport(item, call):CODE
LOW…es/nvidia-matmul-heuristics/test_nvmatmulheuristics.py40def test_runtime_scales_with_problem_size():CODE
LOWpkgs/development/compilers/llvm/update-git.py20def get_latest_chromium_build():CODE
LOWpkgs/desktops/gnome/extensions/update-extensions.py94def generate_extension_versions(CODE
LOWpkgs/by-name/se/segger-jlink/update.py24def find_latest_jlink_version() -> str:CODE
LOW…/vs/vscode-extension-update/vscode_extension_update.py110 def get_supported_nix_systems(self) -> list[str]:CODE
LOW…/vs/vscode-extension-update/vscode_extension_update.py136 def _get_nix_vscode_extension_src_hash(self, system: str) -> str:CODE
LOW…/vs/vscode-extension-update/vscode_extension_update.py190 def _get_nix_vscode_extension_version(self) -> str:CODE
LOW…/vs/vscode-extension-update/vscode_extension_update.py198 def _get_nix_vscode_extension_platforms(self) -> list[str]:CODE
LOW⚡…/vs/vscode-extension-update/vscode_extension_update.py218 def _get_nix_vscode_extension_publisher(self) -> str:CODE
LOW⚡…/vs/vscode-extension-update/vscode_extension_update.py224 def _get_nix_vscode_extension_name(self) -> str:CODE
LOW⚡…/vs/vscode-extension-update/vscode_extension_update.py230 def get_marketplace_extension_data(self, extension_id: str) -> dict:CODE
LOW…/vs/vscode-extension-update/vscode_extension_update.py242 def _version_passed_validation(self, version_info: dict) -> bool:CODE
LOW…/vs/vscode-extension-update/vscode_extension_update.py257 def find_compatible_extension_version(CODE
LOW…/vs/vscode-extension-update/vscode_extension_update.py317 def update_version_for_default_nix(self, content: str, new_version: str):CODE
LOWpkgs/by-name/di/discord/update.py46def distro_manifest_url_for_variant(variant: Variant) -> str:CODE
LOW…-name/ni/nixos-render-docs/src/tests/test_redirects.py106 def test_leaf_identifier_moved_to_different_file(self):CODE
LOW…-name/ni/nixos-render-docs/src/tests/test_redirects.py132 def test_non_leaf_identifier_moved_to_different_file(self):CODE
LOW…-name/ni/nixos-render-docs/src/tests/test_redirects.py196 def test_basic_redirect_matching(self):CODE
LOW…-name/ni/nixos-render-docs/src/tests/test_redirects.py211 def test_advanced_redirect_matching(self):CODE
LOW…-name/ni/nixos-render-docs/src/tests/test_redirects.py246 def test_client_redirects_to_ghost_paths(self):CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py128def test_attr_span_in_heading() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py250def test_inline_comment_basic() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py277def test_inline_comment_does_not_nest_in_code() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py292def test_inline_comment_does_not_nest_elsewhere() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py311def test_inline_comment_can_be_escaped() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py454def test_gfm_alert_basic_structure_preserved() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py478def test_gfm_alert_multi_paragraph() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py500def test_gfm_alert_whitespace_tolerant() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_plugins.py506def test_gfm_alert_empty_body_allowed() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_options.py31def test_options_commonmark_legacy_anchors() -> None:CODE
LOW…by-name/ni/nixos-render-docs/src/tests/test_options.py54def test_options_commonmark_admonition_style(style, expected_file):CODE
LOW…y-name/ni/nixos-render-docs/src/tests/test_headings.py61def test_heading_id_incomplete() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py6def test_shift_headings_basic() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py16def test_shift_headings_preserves_multiline_and_endings() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py21def test_shift_headings_ignores_fenced_nix_comments() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py27def test_shift_headings_tilde_fence() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py33def test_shift_headings_indented_heading_shifted() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py38def test_shift_headings_four_space_indent_not_a_heading() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py91def test_one_section_per_group_in_declared_order() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py96def test_group_heading_carries_anchor() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py101def test_group_description_headings_are_shifted() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py108def test_entry_heading_carries_attr_path_and_anchor() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py115def test_entry_anchor_drops_characters_an_anchor_cannot_hold() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py130def test_entry_description_headings_are_shifted_below_entry() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py135def test_fenced_nix_comment_is_not_shifted() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py139def test_entries_are_grouped_by_declared_group() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py145def test_located_at_links_to_the_revision() -> None:CODE
LOW⚡…/by-name/ni/nixos-render-docs/src/tests/test_nixdoc.py153def test_unsupported_schema_version_raises() -> None:CODE
173 more matches not shown…
Over-Commented Block232 hits · 214 pts
SeverityFileLineSnippetContext
LOWci/github-script/prepare.ts81 // commits. In this case we pick the "best" candidate by a fixed ordering of branches,COMMENT
LOWci/github-script/bot.ts321 // We intentionally don't use the mergeable or mergeable_state attributes.COMMENT
LOWmaintainers/scripts/update-channel-branches.sh61 # then the version is not annotated in git version. This sedCOMMENT
LOWmaintainers/scripts/copy-tarballs.pl1#! /usr/bin/env nix-shellCOMMENT
LOWmaintainers/scripts/nix-diff.sh1#!/usr/bin/env nix-shellCOMMENT
LOW…ntainers/scripts/bootstrap-files/refresh-tarballs.bash1#!/usr/bin/env nix-shellCOMMENT
LOW…ntainers/scripts/bootstrap-files/refresh-tarballs.bash221 info "Writing '${target_file}'"COMMENT
LOWmaintainers/scripts/haskell/update-stackage.sh1#! /usr/bin/env nix-shellCOMMENT
LOW…cripts/haskell/upload-nixos-package-list-to-hackage.sh1#! /usr/bin/env nix-shellCOMMENT
LOWmaintainers/scripts/haskell/update-hackage.sh1#! /usr/bin/env nix-shellCOMMENT
LOWmaintainers/scripts/doc/escape-code-markup.py81 # as if it was supposed to be usable standalone.COMMENT
LOWmaintainers/scripts/auto-rebase/run.sh41 # This does two things:COMMENT
LOW…gs/os-specific/bsd/openbsd/pkgs/compat/include/fcntl.h1#pragma onceCOMMENT
LOW…s-specific/bsd/openbsd/pkgs/compat/include/sys/types.h1#include_next <sys/types.h>COMMENT
LOW…-specific/bsd/openbsd/pkgs/compat/include/sys/endian.h1// Seems to be the only header for htonlCOMMENT
LOW…s-specific/bsd/openbsd/pkgs/compat/include/sys/cdefs.h1#include_next <sys/cdefs.h>COMMENT
LOW…os-specific/linux/minimal-bootstrap/mes/gen-sources.sh1#!/usr/bin/env nix-shellCOMMENT
LOW…s/os-specific/linux/minimal-bootstrap/heirloom/stubs.h41 return 0;COMMENT
LOW…s/os-specific/linux/minimal-bootstrap/heirloom/stubs.h61#define _PC_PATH_MAX PATH_MAXCOMMENT
LOWpkgs/os-specific/linux/net-tools/config.h21 */COMMENT
LOWpkgs/os-specific/linux/net-tools/config.h41#define HAVE_AFBLUETOOTH 0COMMENT
LOWpkgs/os-specific/linux/net-tools/config.h61#define HAVE_HWFDDI 0COMMENT
LOWpkgs/os-specific/linux/kernel/generate-config.pl1# This script runs `make config' to generate a Linux kernelCOMMENT
LOW…gs/os-specific/darwin/by-name/si/signingUtils/utils.sh1# Work around for some odd behaviour where we can't codesign a fileCOMMENT
LOWpkgs/tools/typesetting/tex/texlive/build-tex-env.sh1# shellcheck shell=bashCOMMENT
LOWpkgs/tools/typesetting/tex/texlive/build-tex-env.sh161 # configure the paper sizeCOMMENT
LOW…nt/interpreters/python/hooks/python-relax-deps-hook.sh1# shellcheck shell=bashCOMMENT
LOW…nt/interpreters/python/hooks/python-relax-deps-hook.sh21# …COMMENT
LOW…evelopment/python-modules/setuptools-scm/setup-hook.sh1# Let built package know its version.COMMENT
LOWpkgs/development/python-modules/pysdl3/setup-hook.sh1# See alsoCOMMENT
LOW…pment/python-modules/jupyterlab/seed-core-meta-hook.sh1# `jupyter labextension build` (jupyter-builder) needs @jupyterlab/core-meta'sCOMMENT
LOWpkgs/development/libraries/gmime/iconv-detect.h1/* This is an auto-generated header, DO NOT EDIT! */COMMENT
LOWpkgs/development/libraries/gmime/musl-iconv-detect.h1/* This is an auto-generated header, DO NOT EDIT! */COMMENT
LOW…ect-introspection/wrappers/g-ir-scanner-qemuwrapper.sh1#! @bash@/bin/bashCOMMENT
LOW…cuda-modules/packages/setupCudaHook/setup-cuda-hook.sh81COMMENT
LOW…nt/haskell-modules/configuration-hackage2nix/main.yaml1# pkgs/development/haskell-modules/configuration-hackage2nix/main.yamlCOMMENT
LOW…nt/haskell-modules/configuration-hackage2nix/main.yaml21# at version 1.4.6.0 and `aeson_1_5_0_0` at version 1.5.0.0.COMMENT
LOW…/development/compilers/ios-cross-compile/alt_wrapper.c21#ifndef NIX_APPLE_FRAMEWORKSCOMMENT
LOW…elopment/compilers/graalvm/community-edition/update.sh1#!/usr/bin/env nix-shellCOMMENT
LOWpkgs/development/compilers/dotnet/binary/update.sh101}COMMENT
LOWpkgs/development/compilers/ghc/subopt.bash1#!@shell@COMMENT
LOWpkgs/by-name/se/service-wrapper/service-wrapper.sh1#!@shell@COMMENT
LOWpkgs/by-name/se/service-wrapper/service-wrapper.sh21# This program is distributed in the hope that it will be useful,COMMENT
LOWpkgs/by-name/sw/switch-to-configuration-ng/src/main.rs61COMMENT
LOWpkgs/by-name/sp/spotify/update.sh1#!/usr/bin/env nix-shellCOMMENT
LOWpkgs/by-name/sp/spago-legacy/update.sh1#!/usr/bin/env nix-shellCOMMENT
LOWpkgs/by-name/pl/plex-desktop/update.sh1#!/usr/bin/env nix-shellCOMMENT
LOWpkgs/by-name/pl/plex-htpc/update.sh1#!/usr/bin/env nix-shellCOMMENT
LOWpkgs/by-name/us/userborn-import-legacy/src/main.rs1//! One-shot migration from `update-users-groups.pl` state in `/var/lib/nixos`COMMENT
LOWpkgs/by-name/go/google-cloud-sdk/alpha__init__.py1# Copyright 2013 Google Inc. All Rights Reserved.COMMENT
LOWpkgs/by-name/go/google-cloud-sdk/beta__init__.py1# Copyright 2013 Google Inc. All Rights Reserved.COMMENT
LOWpkgs/by-name/hy/hylafaxplus/post-install.sh1# Parts of the `install` make target don'tCOMMENT
LOW…/ni/nixos-render-docs/src/nixos_render_docs/manpage.py61COMMENT
LOWpkgs/by-name/ni/nixos-init/src/etc_overlay.rs1use std::{COMMENT
LOW…ame/ni/nixos-rebuild-ng/src/nixos_rebuild/constants.py1# mypy: disable-error-code=comparison-overlapCOMMENT
LOW…y-name/ni/nixos-rebuild-ng/src/nixos_rebuild/tmpdir.py21# [0]: https://github.com/openssh/openssh-portable/blob/V_10_3_P1/sshconnect.h#L70COMMENT
LOW…y-name/ni/nixos-rebuild-ng/src/nixos_rebuild/tmpdir.py41# It's common for system configured temp dirs to be moreCOMMENT
LOW…gs/by-name/ma/makeBinaryWrapper/make-binary-wrapper.sh21# (if unset or empty, defaults to EXECUTABLE)COMMENT
LOWpkgs/by-name/ap/applgrid/TFileStringLinkDef.h1#ifdef __CLING__COMMENT
LOWpkgs/by-name/ap/applgrid/TFileVectorLinkDef.h1#ifdef __CLING__COMMENT
172 more matches not shown…
Self-Referential Comments39 hits · 115 pts
SeverityFileLineSnippetContext
MEDIUMmaintainers/scripts/update-typst-packages.py4# This file is formatted with `ruff format`.COMMENT
MEDIUMmaintainers/scripts/haskell/update-stackage.sh67# Create a simple yaml version of the file.COMMENT
MEDIUMmaintainers/scripts/haskell/update-stackage.sh80# This file is auto-generated byCOMMENT
MEDIUM…intainers/scripts/haskell/update-cabal2nix-unstable.sh19 echo "# This file defines $1-unstable, used by maintainers/scripts/haskell/regenerate-hackage-packages.sh." > "$outputCODE
MEDIUM…ripts/haskell/regenerate-transitive-broken-packages.sh16# This file is automatically generated byCOMMENT
MEDIUMpkgs/development/interpreters/python/wrap.sh13 # Create an empty table of python paths (see doc on _addToPythonPathCOMMENT
MEDIUMpkgs/development/interpreters/lua-5/utils.sh121# # Create an empty table of paths (see doc on loadFromPropagatedInputsCOMMENT
MEDIUMpkgs/development/interpreters/octave/wrap.sh99 # Create an empty table of Octave paths.COMMENT
MEDIUM…opment/python-modules/emerge/tests/first-simulation.py3mm = 0.001 # Define a millimeterCODE
MEDIUM…dules/configuration-hackage2nix/transitive-broken.yaml1# This file is automatically generated byCOMMENT
MEDIUM…askell-modules/configuration-hackage2nix/stackage.yaml2# This file is auto-generated byCOMMENT
MEDIUM…ent/compilers/dart/source/unbundle/replace_gn_files.py47 # Create a backup copy for --undo.COMMENT
MEDIUMpkgs/by-name/sd/sdlpop/prince.sh12# Create the data symlink or update it (in case it is a symlink, else the userCOMMENT
MEDIUMpkgs/by-name/ad/adguardhome/update.sh4# This file is based on /pkgs/servers/gotify/update.shCOMMENT
MEDIUMpkgs/by-name/ni/nixos-install/nixos-install.sh318 # Create a bind mount for each of the mount points inside the target fileCOMMENT
MEDIUMpkgs/by-name/in/installShellFiles/setup-hook.sh80 # Create the out-pathCOMMENT
MEDIUMpkgs/by-name/co/coder/update.sh13# Define the platformsCOMMENT
MEDIUM…a/calamares-nixos-extensions/src/modules/nixos/main.py269 # Define a user account. Don't forget to set a password with ‘passwd’.COMMENT
MEDIUMpkgs/by-name/st/steamcmd/steamcmd.sh9# Create a facsimile Steam root if it doesn't exist.COMMENT
MEDIUMpkgs/by-name/me/melos/update.sh39# Create a temporary directoryCOMMENT
MEDIUMpkgs/by-name/fo/foundry/update-svm-lists.sh21# Create the directory (no error if it already exists)COMMENT
MEDIUMpkgs/stdenv/generic/setup.sh1172# This function is useful for debugging broken Nix builds. It dumps all environment variables to aCOMMENT
MEDIUM…s/applications/networking/cluster/k3s/update-script.sh93# Create a JSON object for each airgap images file and prefetch all download URLs in the processCOMMENT
MEDIUM…ons/editors/vscode/extensions/update_installed_exts.sh37 # Create a tempdir for the extension download.COMMENT
MEDIUMpkgs/build-support/fetchdocker/fetchdocker-builder.sh7# Create a tar archive of a docker image's layers, docker image configCOMMENT
MEDIUMpkgs/build-support/buildenv/builder.pl281# Create the symlinks.COMMENT
MEDIUMpkgs/servers/dict/wordnet_structures.py3# This file is part of wordnet_tools.COMMENT
MEDIUMpkgs/servers/sql/postgresql/pg_config.sh12# This file is a combination of the following two files:COMMENT
MEDIUM.github/labeler-no-sync.yml1# This file is used by .github/workflows/bot.ymlCOMMENT
MEDIUM.github/labeler.yml1# This file is used by .github/workflows/bot.ymlCOMMENT
MEDIUM.github/zizmor.yml1# This file defines the ignore rules for zizmor.COMMENT
MEDIUM.github/labeler-development-branches.yml1# This file is used by .github/workflows/bot.ymlCOMMENT
MEDIUMlib/fileset/tests.sh233# Create the tree structure declared in the tree variable, usage:COMMENT
MEDIUMlib/fileset/tests.sh280 # Create the treeCOMMENT
MEDIUMlib/fileset/tests.sh526# This function is mainly tested in checkFilesetCOMMENT
MEDIUMlib/fileset/benchmark.sh119# Create a fairly populated treeCOMMENT
MEDIUMnixos/tests/scion/freestanding-deployment/bootstrap.sh22# Create the TRC (Trust Root Configuration)COMMENT
MEDIUMnixos/lib/test-script-prepend.py1# This file contains type hints that can be prepended to Nix test scripts so they can be typeCOMMENT
MEDIUMnixos/lib/test-driver/src/test_driver/driver.py461 # Create a thread for each machine's start methodCOMMENT
Deep Nesting98 hits · 98 pts
SeverityFileLineSnippetContext
LOWci/eval/compare/cmp-stats.py14CODE
LOWci/eval/compare/cmp-stats.py56CODE
LOWci/eval/compare/cmp-stats.py215CODE
LOWmaintainers/scripts/update-typst-packages.py139CODE
LOWmaintainers/scripts/update-typst-packages.py190CODE
LOWmaintainers/scripts/sha-to-sri.py135CODE
LOWmaintainers/scripts/sha-to-sri.py136CODE
LOWmaintainers/scripts/sha-to-sri.py214CODE
LOWmaintainers/scripts/remove-old-aliases.py61CODE
LOWmaintainers/scripts/remove-old-aliases.py120CODE
LOWmaintainers/scripts/kde/generate-sources.py76CODE
LOWmaintainers/scripts/kde/collect-missing-deps.py124CODE
LOW…preters/python/hooks/python-runtime-deps-check-hook.py36CODE
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py1394CODE
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py200CODE
LOWpkgs/desktops/gnome/extensions/update-extensions.py255CODE
LOW…/vs/vscode-extension-update/vscode_extension_update.py317CODE
LOWpkgs/by-name/vu/vulkan-cts/vk-cts-sources.py23CODE
LOWpkgs/by-name/ac/acli/update.py11CODE
LOW…/ni/nixos-render-docs/src/nixos_render_docs/options.py257CODE
LOW…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py445CODE
LOW…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py475CODE
LOW…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py502CODE
LOW…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py535CODE
LOW…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py450CODE
LOW…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py482CODE
LOW…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py506CODE
LOW…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py544CODE
LOW…-render-docs/src/nixos_render_docs/manual_structure.py188CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py137CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py886CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py907CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py976CODE
LOW…i/nixos-render-docs/src/nixos_render_docs/redirects.py91CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/nixdoc.py126CODE
LOW…/by-name/ni/nix-required-mounts/nix_required_mounts.py146CODE
LOW…ame/ni/nix-required-mounts/test_nix_required_mounts.py25CODE
LOWpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_nix.py87CODE
LOWpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_nix.py93CODE
LOWpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py217CODE
LOWpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py919CODE
LOWpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py1475CODE
LOWpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py223CODE
LOWpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py928CODE
LOWpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py1479CODE
LOW…y-name/ni/nixos-rebuild-ng/src/nixos_rebuild/models.py61CODE
LOW…-redirects/src/nixos_render_docs_redirects/__init__.py67CODE
LOWpkgs/by-name/ma/maubot/plugins/update.py28CODE
LOWpkgs/by-name/oc/ocis_5-bin/update.py155CODE
LOW…a/calamares-nixos-extensions/src/modules/nixos/main.py595CODE
LOW…a/calamares-nixos-extensions/src/modules/nixos/main.py473CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py383CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py637CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py756CODE
LOW…/up/update-python-libraries/update-python-libraries.py379CODE
LOW…/up/update-python-libraries/update-python-libraries.py395CODE
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py160CODE
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py349CODE
LOWpkgs/by-name/lu/luarocks-packages-updater/updater.py341CODE
LOWpkgs/by-name/lu/luarocks-packages-updater/updater.py386CODE
38 more matches not shown…
Excessive Try-Catch Wrapping72 hits · 94 pts
SeverityFileLineSnippetContext
LOWmaintainers/scripts/update.py97 except Exception as e:CODE
LOWmaintainers/scripts/sha-to-sri.py191 except Exception:CODE
LOWmaintainers/scripts/sha-to-sri.py228 except Exception as exn:CODE
LOWmaintainers/scripts/hydra-eval-failures.py111 except Exception as e:CODE
MEDIUMmaintainers/scripts/hydra-eval-failures.py33def get_maintainers(attr_name):CODE
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py236 except Exception as e: # noqa: BLE001CODE
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py458 except Exception as e:STRING
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py1390 except Exception as e: # noqa: BLE001CODE
MEDIUM…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py200def get_latest_tag(self) -> str | None:CODE
MEDIUM…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py293def has_submodules(self) -> bool:CODE
LOWpkgs/desktops/gnome/find-latest-version.py280 except Exception as error:CODE
LOWpkgs/by-name/he/helix/generate_grammars.py95 except Exception as e:CODE
MEDIUMpkgs/by-name/he/helix/generate_grammars.py130 print(f"Error: {args.languages_toml} not found", file=sys.stderr)CODE
LOWpkgs/by-name/ac/acli/update.py83 except Exception as e:CODE
MEDIUMpkgs/by-name/ac/acli/update.py84 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUMpkgs/by-name/ac/acli/update.py68def main():CODE
LOW…/ni/nixos-render-docs/src/nixos_render_docs/options.py160 except Exception as e:CODE
LOW…ni/nixos-render-docs/src/nixos_render_docs/__init__.py52 except Exception as e:CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py51 except Exception as e:CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py160 except Exception as e:CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py218 except Exception as e:CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py602 except Exception as e:STRING
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py696 except Exception as e:STRING
LOW…name/ni/nixos-rebuild-ng/src/nixos_rebuild/services.py69 except Exception:CODE
LOW…name/ni/nixos-rebuild-ng/src/nixos_rebuild/__init__.py450 except Exception as ex:CODE
LOW…-redirects/src/nixos_render_docs_redirects/__init__.py109 except Exception as error:CODE
LOWpkgs/by-name/ap/apache-airflow/update-providers.py198 except Exception as e:CODE
MEDIUMpkgs/by-name/mu/music-assistant/update-providers.py147 print(f"Error parsing {fn}", ex)STRING
MEDIUMpkgs/by-name/oc/ocis_5-bin/update.py161 print("Error: No versions fetched from GitHub API")CODE
LOWpkgs/by-name/oc/ocis_5-bin/update.py211 except Exception as e:CODE
LOWpkgs/by-name/oc/ocis_5-bin/update.py237 except Exception as e:CODE
MEDIUMpkgs/by-name/ed/edopro/update.py32 print("Error: No valid version tags found.", file=sys.stderr)CODE
MEDIUMpkgs/by-name/ed/edopro/update.py49 print("Error: Dep file not found.", file=sys.stderr)CODE
LOWpkgs/by-name/we/wechat/update.py279 except Exception as exc:CODE
MEDIUMpkgs/by-name/ro/roon-server/update.py96 print("Error: Failed to get version information from Roon Labs API")CODE
LOWpkgs/by-name/ro/roon-server/update.py125 except Exception as e:CODE
MEDIUMpkgs/by-name/ro/roon-server/update.py126 print(f"Error: {e}")CODE
MEDIUMpkgs/by-name/ro/roon-bridge/update.py115 print("Error: Failed to get version information from Roon Labs API")CODE
LOWpkgs/by-name/ro/roon-bridge/update.py147 except Exception as e:CODE
MEDIUMpkgs/by-name/ro/roon-bridge/update.py148 print(f"Error: {e}")CODE
MEDIUMpkgs/by-name/ya/yazi/plugins/update.py80 print(f"Error fetching repository data: {e}")CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py451 except Exception as e:CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py550 except Exception as e:CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py555 except Exception as e:CODE
LOW⚡pkgs/by-name/ya/yazi/plugins/update.py677 except Exception as e:CODE
MEDIUM⚡pkgs/by-name/ya/yazi/plugins/update.py678 print(f"Error updating plugin {plugin_name}: {e}")CODE
LOW⚡pkgs/by-name/ya/yazi/plugins/update.py681 except Exception as e:CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py741 except Exception as e:CODE
MEDIUMpkgs/by-name/ya/yazi/plugins/update.py742 print(f"Error committing changes for {plugin['name']}: {e}")CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py781 except Exception as e:CODE
MEDIUMpkgs/by-name/ya/yazi/plugins/update.py782 print(f"Error: {e}")CODE
LOW…/up/update-python-libraries/update-python-libraries.py276 except Exception as e:CODE
MEDIUM…ons/networking/browsers/chromium/get-commit-message.py53print("Error: No match.")CODE
LOW…ors/jetbrains/updater/jetbrains_nix_updater/fetcher.py96 except Exception as e: # noqa: BLE001 -- Intentional safety net for unhandled fetch exceptionsCODE
LOWpkgs/applications/gis/qgis/test.py59except Exception as e:STRING
MEDIUMpkgs/applications/gis/qgis/test.py62 print("Error message: {}".format(e))STRING
LOWpkgs/data/fonts/maple-font/update.py44 except Exception as e:CODE
LOWpkgs/data/fonts/maple-font/update.py59 except Exception as e:CODE
MEDIUMpkgs/data/fonts/maple-font/update.py60 print(f"Error: {str(e)}")CODE
MEDIUMpkgs/servers/web-apps/discourse/update.py109 print("Error while fetching new hash with nix build")CODE
12 more matches not shown…
Unused Imports89 hits · 89 pts
SeverityFileLineSnippetContext
LOWci/eval/compare/cmp-stats.py4CODE
LOWmaintainers/scripts/sha-to-sri.py8CODE
LOWpkgs/os-specific/linux/kernel/update-zen.py7CODE
LOWpkgs/development/interpreters/python/run_setup.py3CODE
LOWpkgs/development/tools/electron/update.py32CODE
LOWpkgs/development/tools/electron/update.py40CODE
LOWpkgs/development/tools/electron/binary/update.py29CODE
LOWpkgs/development/tools/electron/binary/update.py32CODE
LOW…lopment/python-modules/emerge/tests/resonant-cavity.py2CODE
LOWpkgs/development/compilers/llvm/update-git.py4CODE
LOWpkgs/development/compilers/llvm/update-git.py12CODE
LOW…ment/julia-modules/python/find_package_implications.py3CODE
LOW…ment/julia-modules/python/find_package_implications.py5CODE
LOWpkgs/development/julia-modules/python/sources_nix.py5CODE
LOW…s/development/julia-modules/python/minimal_registry.py8CODE
LOW…s/development/julia-modules/python/minimal_registry.py10CODE
LOW…s/development/julia-modules/python/minimal_registry.py12CODE
LOWpkgs/desktops/gnome/find-latest-version.py2CODE
LOWpkgs/by-name/vu/vulkan-cts/vk-cts-sources.py8CODE
LOWpkgs/by-name/_1/_1password-gui/update-sources.py8CODE
LOW…-name/ni/nixos-render-docs/src/tests/test_redirects.py1CODE
LOW…ame/ni/nixos-render-docs/src/tests/test_html_header.py3CODE
LOW…/ni/nixos-render-docs/src/nixos_render_docs/options.py1CODE
LOW…/ni/nixos-render-docs/src/nixos_render_docs/options.py6CODE
LOW…-render-docs/src/nixos_render_docs/manual_structure.py1CODE
LOW…i/nixos-render-docs/src/nixos_render_docs/redirects.py3CODE
LOW…/by-name/ni/nix-required-mounts/nix_required_mounts.py9CODE
LOW…ame/ni/nix-required-mounts/test_nix_required_mounts.py2CODE
LOW…ame/ni/nix-required-mounts/test_nix_required_mounts.py3CODE
LOW…ame/ni/nix-required-mounts/test_nix_required_mounts.py5CODE
LOW…ame/ni/nix-required-mounts/test_nix_required_mounts.py5CODE
LOW…ame/ni/nix-required-mounts/test_nix_required_mounts.py14CODE
LOW…-name/ni/nixos-rebuild-ng/src/nixos_rebuild/elevate.py17CODE
LOWpkgs/by-name/ma/maubot/plugins/update.py9CODE
LOWpkgs/by-name/ma/maubot/plugins/update.py11CODE
LOWpkgs/by-name/jo/joplin-desktop/update.py5CODE
LOWpkgs/by-name/jo/joplin-desktop/update.py6CODE
LOWpkgs/by-name/jo/joplin-desktop/update.py10CODE
LOWpkgs/by-name/jo/joplin-desktop/update.py10CODE
LOWpkgs/by-name/jo/joplin-desktop/update.py10CODE
LOWpkgs/by-name/ed/edopro/update.py8CODE
LOWpkgs/by-name/fl/flet-client-flutter/update-lockfiles.py1CODE
LOW…nces-graph/src/flatten_references_graph/split_paths.py4CODE
LOWpkgs/by-name/ro/roon-server/update.py12CODE
LOWpkgs/by-name/st/stash/update.py5CODE
LOW…pu/pulumi/plugins/pulumi-python/smoke-test/__main__.py4CODE
LOWpkgs/by-name/so/sommelier/update.py8CODE
LOWpkgs/by-name/so/sommelier/update.py10CODE
LOWpkgs/by-name/so/sommelier/update.py10CODE
LOWpkgs/by-name/so/sommelier/update.py10CODE
LOWpkgs/by-name/an/anyk/patch_paths.py3CODE
LOWpkgs/by-name/ba/backgroundremover/test-script.py4CODE
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py14CODE
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py15CODE
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py16CODE
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py22CODE
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py22CODE
LOW…gs/by-name/hu/hunspell/update-chromium-dictionaries.py12CODE
LOWpkgs/by-name/gc/gclient2nix/gclient2nix.py4CODE
LOWpkgs/by-name/gc/gclient2nix/gclient2nix.py9CODE
29 more matches not shown…
AI Slop Vocabulary27 hits · 61 pts
SeverityFileLineSnippetContext
LOWpkgs/os-specific/linux/nvidia-x11/builder.sh161 # We can't just use ldconfig, because it does not create libfoo.so symlinks,COMMENT
LOWpkgs/development/python-modules/semgrep/update.sh9# or just set your token by hand:COMMENT
MEDIUM…velopment/ruby-modules/bundled-common/gen-bin-stubs.rb32# this file is here to facilitate running it.COMMENT
MEDIUMpkgs/development/ruby-modules/gem/nix-bundle-install.rb141# this file is here to facilitate running it.COMMENT
MEDIUMpkgs/development/ruby-modules/gem/gem-post-build.rb64# this file is here to facilitate running it.COMMENT
MEDIUMpkgs/by-name/sw/switch-to-configuration-ng/src/main.rs66// To be robust against interruption, record what units need to be started etc. We read these filesCOMMENT
LOW…ni/nixos-render-docs/src/nixos_render_docs/parallel.py2# and markdown-it is pure python code. ideally we'd just use thread pools, butCOMMENT
MEDIUMpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py43 # -S without --elevate implies sudoCOMMENT
MEDIUMpkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py47 # explicit --elevate wins over the --sudo aliasCOMMENT
MEDIUM…name/ni/nixos-rebuild-ng/src/nixos_rebuild/__init__.py272 # Map the elevate flags onto an Elevator. The password itself isCOMMENT
MEDIUM…-name/ni/nixos-rebuild-ng/src/nixos_rebuild/elevate.py417#: Singleton used as the default ``elevate=`` argument throughout.COMMENT
MEDIUMpkgs/by-name/in/installShellFiles/setup-hook.sh129# This command accepts multiple shell flags in conjunction with multiple paths if you wish toCOMMENT
LOWpkgs/by-name/ca/cacert/setup-hook.sh3 # If we inherited an unreadable cert file path, just use the bundled oneCOMMENT
LOWpkgs/by-name/au/authelia/update.sh31# or just set your token by hand:COMMENT
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py141 # Otherwise, we simply return whether the ABIs are identical.COMMENT
LOWpkgs/stdenv/generic/setup.sh900# doesn't have closures, so it's easier to just pass this in.COMMENT
LOWpkgs/build-support/fetchurl/builder.sh136 # Direct URL: just add it and we're doneCOMMENT
MEDIUM…-support/bintools-wrapper/add-darwin-ldflags-before.sh30# To be robust, make sure we always have the correct set of roles.COMMENT
LOW…support/dotnet/build-dotnet-module/hook/dotnet-hook.sh50 # arrays, so instead we just pass a variable to indicate that we don’t haveCOMMENT
MEDIUMpkgs/servers/nextcloud/packages/33.json126 "description": "## **End-to-End Encryption**\n\n### For End Users\n\n**Protect your most sensitive files with strongCODE
MEDIUMpkgs/servers/nextcloud/packages/34.json126 "description": "## **End-to-End Encryption**\n\n### For End Users\n\n**Protect your most sensitive files with strongCODE
MEDIUMpkgs/servers/nextcloud/packages/35.json126 "description": "## **End-to-End Encryption**\n\n### For End Users\n\n**Protect your most sensitive files with strongCODE
MEDIUMnixos/tests/acme/python-utils.py6# BackoffTracker provides a robust system for handling test retriesCOMMENT
MEDIUMnixos/tests/systemd-confinement/checkperms.py32 # Essentially full permissions, the kind of accessibility we want to avoidCOMMENT
LOWnixos/lib/test-driver/src/test_driver/vlan.py33 # so we cannot just return to the `select`, as it may block, despite there being moreCOMMENT
MEDIUMnixos/modules/installer/tools/nixos-generate-config.pl158 if (# Mass-storage controller. Definitely important.CODE
MEDIUMnixos/modules/installer/tools/nixos-generate-config.pl245 if (# Mass-storage controller. Definitely important.CODE
Empty Error Handlers12 hits · 60 pts
SeverityFileLineSnippetContext
HIGH…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py140except InvalidVersion:CODE
HIGHpkgs/by-name/mi/minecraft-server/update.py133except requests.RequestException as e:CODE
HIGH…/up/update-python-libraries/update-python-libraries.py204except InvalidVersion:CODE
HIGHpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py196except ELFError:CODE
HIGH…ors/jetbrains/updater/jetbrains_nix_updater/fetcher.py143except HTTPError:CODE
HIGHpkgs/servers/asterisk/update.py36except:CODE
HIGHpkgs/servers/dict/wiktionary/wiktionary2dict.py234except StopIteration:CODE
HIGHnixos/tests/systemd-confinement/checkperms.py134except FileNotFoundError:CODE
HIGHnixos/tests/systemd-confinement/checkperms.py75except PermissionError:CODE
HIGHnixos/lib/test-driver/src/test_driver/logger.py382except Empty:CODE
HIGH…/test-driver/src/test_driver/machine/nspawn_display.py89except (FileNotFoundError, ConnectionRefusedError, TimeoutError):CODE
HIGH…os/lib/test-driver/src/test_driver/machine/__init__.py1242except KeyboardInterrupt:CODE
Cross-Language Confusion11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHpkgs/development/julia-modules/python/sources_nix.py38 src = null; # Overridden: will fill in laterCODE
HIGH…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py370 token = state.push("attr_span_begin", "span", 1)CODE
HIGH…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py380 state.push("attr_span_end", "span", -1)CODE
HIGH…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py500 md.core.ruler.push("compact_list_attr", compact_list_attr)CODE
HIGH…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py533 md.core.ruler.push("block_attr", block_attr)CODE
HIGH…-name/ni/nixos-render-docs/src/nixos_render_docs/md.py578 md.core.ruler.push(f"{block}_titles", block_titles)CODE
HIGH…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py448 .filter((h) => h.id && links.has(h.id))CODE
HIGH…-name/ni/nixos-rebuild-ng/src/nixos_rebuild/elevate.py331 '[ -z "$agent" ] && command -v "$a" >/dev/null 2>&1 && agent="$a"; 'CODE
HIGH…a/calamares-nixos-extensions/src/modules/nixos/main.py71 "/boot/crypto_keyfile.bin" = null;CODE
HIGHpkgs/applications/editors/kakoune/plugins/update.py43 tag = value.src.tag or null;CODE
HIGHpkgs/applications/editors/kakoune/plugins/update.py46 null;CODE
Fake / Example Data30 hits · 38 pts
SeverityFileLineSnippetContext
LOWmaintainers/README.md94 email = "user@example.com";CODE
LOWmaintainers/README.md133 email = "user@example.com";CODE
LOW…/by-name/ni/nixos-rebuild-ng/src/tests/test_process.py295 "user@example.org": "user@example.org",CODE
LOW⚡pkgs/stdenv/generic/setup.sh465# $ flags="lorem ipsum dolor sit amet"COMMENT
LOW⚡pkgs/stdenv/generic/setup.sh465# $ flags="lorem ipsum dolor sit amet"COMMENT
LOW⚡pkgs/stdenv/generic/setup.sh469# $ flags=("lorem ipsum" "dolor" "sit amet")COMMENT
LOW⚡pkgs/stdenv/generic/setup.sh471# lorem ipsum;dolor;sit ametCOMMENT
LOW⚡pkgs/stdenv/generic/setup.sh474# $ flags=("lorem ipsum" "dolor" "sit amet")COMMENT
LOW⚡pkgs/stdenv/generic/setup.sh476# lorem ipsum and dolor and sit ametCOMMENT
LOWnixos/doc/manual/configuration/config-file.section.md25 services.httpd.adminAddr = "alice@example.org";CODE
LOWnixos/doc/manual/configuration/config-file.section.md47 adminAddr = "alice@example.org";CODE
LOWnixos/doc/manual/configuration/modularity.section.md68{ services.httpd.adminAddr = pkgs.lib.mkForce "bob@example.org"; }CODE
LOWnixos/doc/manual/configuration/abstractions.section.md10 adminAddr = "alice@example.org";CODE
LOWnixos/doc/manual/configuration/abstractions.section.md16 adminAddr = "alice@example.org";CODE
LOWnixos/doc/manual/configuration/abstractions.section.md28 adminAddr = "alice@example.org";CODE
LOWnixos/doc/manual/configuration/abstractions.section.md80 adminAddr = "alice@example.org";CODE
LOW…manual/administration/imperative-containers.section.md92 services.httpd.adminAddr = "foo@example.org";CODE
LOWnixos/modules/services/mail/mailman.md32 siteOwner = "mailman@example.org";CODE
LOWnixos/modules/services/mail/mailman.md66 siteOwner = "mailman@example.org";CODE
LOWnixos/modules/services/networking/prosody.md32 admins = [ "root@example.org" ];CODE
LOWnixos/modules/services/networking/prosody.md63 email = "root@example.org";CODE
LOWnixos/modules/services/networking/prosody.md68 email = "root@example.org";CODE
LOWnixos/modules/services/monitoring/certspotter.md17 emailRecipients = [ "webmaster@example.org" ];CODE
LOWnixos/modules/services/web-apps/discourse.md15 email = "admin@example.com";CODE
LOWnixos/modules/services/web-apps/discourse.md47 email = "admin@example.com";CODE
LOWnixos/modules/services/web-apps/discourse.md95 email = "admin@example.com";CODE
LOWnixos/modules/services/web-apps/discourse.md179 email = "admin@example.com";CODE
LOWnixos/modules/services/web-apps/discourse.md272 email = "admin@example.com";CODE
LOWnixos/modules/services/web-apps/strfry.md28 defaults.email = "foo@bar.com";CODE
LOWnixos/modules/services/web-apps/akkoma.md29 email = "admin@example.com";CODE
Redundant / Tautological Comments21 hits · 30 pts
SeverityFileLineSnippetContext
LOW…lopment/interpreters/python/hooks/pytest-check-hook.sh64 # Check if every path glob matches at least one pathCOMMENT
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py1014 # Check if plugin is a Plugin object and has normalized_name attributeCOMMENT
LOWpkgs/development/compilers/dotnet/binary/update.sh280 # Check if a patch was specified as an argument.COMMENT
LOW…s/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/nix.py431 # Check if repo is dirtyCOMMENT
LOWpkgs/by-name/in/installShellFiles/setup-hook.sh54 # Check if path is emptyCOMMENT
LOWpkgs/by-name/cu/cursor-cli/update.sh7# Check if release matches the pattern YYYY.MM.DD-{commithash}COMMENT
LOW…a/calamares-nixos-extensions/src/modules/nixos/main.py426 # Check if root is actually btrfsSTRING
LOW…a/calamares-nixos-extensions/src/modules/nixos/main.py626 # Check if root filesystem is btrfsCOMMENT
LOW…a/calamares-nixos-extensions/src/modules/nixos/main.py926 # Check if unfree packages are allowedCOMMENT
LOW…a/calamares-nixos-extensions/src/modules/nixos/main.py997 # Check if any extraModulePackages are defined, and remove if only free packages are allowedCOMMENT
LOWpkgs/by-name/ya/yazi-unwrapped/update.sh40# Set cargoHash to an empty stringCOMMENT
LOWpkgs/by-name/ki/kiro/update.sh71# Check if update is neededCOMMENT
LOWpkgs/by-name/au/autoPatchelfHook/auto-patchelf.sh62 # Check if ignoreMissingDepsArray contains "1" and if so, replace it withCOMMENT
LOWpkgs/by-name/br/breakpointHook/attach.sh26 # Close the file descriptorCOMMENT
LOWpkgs/by-name/lu/luarocks-packages-updater/updater.py428 # Check if this plugin was processed in this runCOMMENT
LOWpkgs/stdenv/generic/setup.sh1179 # Set umask to create env-vars file with 0600 permissions (owner read/write only)COMMENT
LOW…gs/servers/home-assistant/update-component-packages.py281 # Check if package advertises extra requirementsCOMMENT
LOW.github/workflows/check.yml248 # Set this to "notowned,avoid-shadowing" to check that all files are owned by somebodyCOMMENT
LOWnixos/modules/installer/tools/nixos-generate-config.pl291# Check if we're a VirtualBox guest. If so, enable the guestCOMMENT
LOWnixos/modules/installer/tools/nixos-generate-config.pl297# Check if we're a Parallels guest. If so, enable the guest additions.COMMENT
LOWnixos/modules/installer/tools/nixos-generate-config.pl321# Check if we're on bare metal, not in a VM/container.COMMENT
Modern AI Meta-Vocabulary11 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMpkgs/by-name/sc/schildi-revenge/deps.json3685 "org/jetbrains/compose/hot-reload#hot-reload-orchestration/1.2.0": {CODE
MEDIUMpkgs/by-name/ru/rush-lyrics/deps.json2598 "org/jetbrains/compose/hot-reload#hot-reload-orchestration/1.2.0": {CODE
MEDIUMpkgs/by-name/st/stirling-pdf/deps.json1064 "com/google/cloud#google-cloud-orchestration-airflow-bom/1.64.0": {CODE
MEDIUMpkgs/by-name/an/animeko/deps.json2641 "org/jetbrains/compose/hot-reload#hot-reload-orchestration/1.0.0-rc01": {CODE
MEDIUMpkgs/by-name/ne/nextflow/deps.json1007 "com/google/cloud#google-cloud-orchestration-airflow-bom/1.51.0": {CODE
MEDIUMpkgs/by-name/tr/traccar/deps.json1426 "com/google/cloud#google-cloud-orchestration-airflow-bom/1.51.0": {CODE
MEDIUMpkgs/by-name/tr/traccar/deps.json1429 "com/google/cloud#google-cloud-orchestration-airflow-bom/1.97.0": {CODE
MEDIUM…editors/vim/plugins/hooks/neovim-require-check-hook.sh153# Main entry point: orchestrates discovery, require checks, and summaryCOMMENT
MEDIUMdoc/redirects.json3488 "index.html#ssec-factor-scaffolding"CODE
MEDIUMdoc/languages-frameworks/factor.section.md34### Scaffolding and the `work` vocabulary root {#ssec-factor-scaffolding}COMMENT
MEDIUMdoc/languages-frameworks/factor.section.md51`work` is routed to `/var/lib/factor` and is not shipped nor referenced in the nix store, see the section on [scaffoldinCODE
Slop Phrases12 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMpkgs/development/python-modules/semgrep/update.sh7# if you use gh cli you can use:COMMENT
LOWpkgs/development/compilers/dotnet/binary/update.sh122# Due to this, make sure to check if new SDK versions introduce any new packages.COMMENT
LOW…a/calamares-nixos-extensions/src/modules/nixos/main.py269 # Define a user account. Don't forget to set a password with ‘passwd’.COMMENT
LOWpkgs/by-name/p7/p7zip/update.sh33# make sure to nuke the unfree src from the updater's machineCOMMENT
MEDIUMpkgs/by-name/pi/pihole-ftl/pihole.toml546 # With this option, you can change how (and if) hourly PTR requests are made to checkCOMMENT
MEDIUMpkgs/by-name/au/authelia/update.sh29# if you use gh cli you can use:COMMENT
MEDIUMpkgs/servers/nextcloud/packages/33.json336 "description": "# OpenID Connect Login\n\nProvides user creation and login via one single OpenID Connect provider. ECODE
LOWpkgs/servers/nextcloud/packages/33.json366 "description": "# PhoneTrack Nextcloud application\n\n📱 PhoneTrack is a Nextcloud application to track and store mobCODE
MEDIUMpkgs/servers/nextcloud/packages/34.json336 "description": "# OpenID Connect Login\n\nProvides user creation and login via one single OpenID Connect provider. ECODE
LOWpkgs/servers/nextcloud/packages/34.json366 "description": "# PhoneTrack Nextcloud application\n\n📱 PhoneTrack is a Nextcloud application to track and store mobCODE
MEDIUMpkgs/servers/nextcloud/packages/35.json336 "description": "# OpenID Connect Login\n\nProvides user creation and login via one single OpenID Connect provider. ECODE
LOWpkgs/servers/nextcloud/packages/35.json366 "description": "# PhoneTrack Nextcloud application\n\n📱 PhoneTrack is a Nextcloud application to track and store mobCODE
Modern Structural Boilerplate22 hits · 22 pts
SeverityFileLineSnippetContext
LOWpkgs/development/tools/electron/update.py53logger = logging.getLogger(__name__)CODE
LOWpkgs/development/tools/electron/update.py206def update_source(version: str, commit: bool, force: bool) -> None:CODE
LOWpkgs/development/tools/electron/update.py259def update_all(commit: bool, force: bool) -> None:CODE
LOWpkgs/development/tools/electron/binary/update.py41logger = logging.getLogger(__name__)CODE
LOWpkgs/development/tools/electron/binary/update.py144def update_binary(major_version: str, commit: bool, chromedriver: bool) -> None:CODE
LOWpkgs/development/tools/electron/binary/update.py187def update_chromedriver(version: str, commit: bool) -> None:CODE
LOWpkgs/development/tools/electron/binary/update.py201def update_all(commit: bool) -> None:CODE
LOW…/ni/nixos-render-docs/src/tests/test_auto_id_prefix.py8def set_prefix(token: Token, ident: str) -> None:CODE
LOW…e/ni/nixos-render-docs/src/nixos_render_docs/manual.py91 def set_token_ident(token: Token, ident: str) -> None:CODE
LOWpkgs/by-name/gi/gitlab/update.py20logger = logging.getLogger(__name__)CODE
LOWpkgs/by-name/ya/yazi/plugins/update.py496def update_nix_file(default_nix_path: str, candidate: UpdateCandidate, new_hash: str) -> None:CODE
LOWpkgs/by-name/gc/gclient2nix/gclient2nix.py23logger = logging.getLogger(__name__)CODE
LOWpkgs/by-name/az/azure-cli/extensions-tool.py22logger = logging.getLogger(__name__)CODE
LOWpkgs/servers/home-assistant/update.py191 async def update_core(self, old_version: str, new_version: str) -> None:CODE
LOWpkgs/servers/home-assistant/update.py205 async def update_frontend(self, old_version: str, new_version: str) -> None:CODE
LOWpkgs/servers/web-apps/discourse/update.py23logger = logging.getLogger(__name__)CODE
LOWnixos/lib/test-driver/src/test_driver/logger.py71 def set_log_level(self, level: LogLevel) -> None:CODE
LOWnixos/lib/test-driver/src/test_driver/logger.py148 def set_log_level(self, level: LogLevel) -> None:CODE
LOWnixos/lib/test-driver/src/test_driver/logger.py230 def set_log_level(self, level: LogLevel) -> None:CODE
LOWnixos/lib/test-driver/src/test_driver/logger.py293 def set_log_level(self, level: LogLevel) -> None:CODE
LOWnixos/lib/test-driver/src/test_driver/logger.py363 def set_log_level(self, level: LogLevel) -> None:CODE
LOWnixos/lib/test-driver/src/test_driver/machine/qmp.py11logger = logging.getLogger(__name__)CODE
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM…gs/by-name/ma/makeBinaryWrapper/make-binary-wrapper.sh479# ------------------------------------------------------------------------------------COMMENT
MEDIUM…gs/by-name/ma/makeBinaryWrapper/make-binary-wrapper.sh487# ------------------------------------------------------------------------------------COMMENT
MEDIUMpkgs/by-name/ti/timidity/timidity.cfg5# ----------------------------------------COMMENT
MEDIUMpkgs/by-name/ti/timidity/timidity.cfg16# ----------------------------------------COMMENT
MEDIUMpkgs/build-support/testers/expect-failure.sh18# ------------------------COMMENT
MEDIUMpkgs/build-support/testers/expect-failure.sh35# -----------------------------------------COMMENT
MEDIUMpkgs/build-support/testers/expect-failure.sh72# ------------------------------------------------------COMMENT
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHpkgs/by-name/ra/radarr/update.py0p: { dir = dirof p.meta.position; version = p.version; sourcehash = p.src.src.outputhash; yarnhash = p.yarnofflinecache.STRING
HIGHpkgs/by-name/pr/prowlarr/update.py0p: { dir = dirof p.meta.position; version = p.version; sourcehash = p.src.src.outputhash; yarnhash = p.yarnofflinecache.STRING
HIGHpkgs/by-name/so/sonarr/update.py0p: { dir = dirof p.meta.position; version = p.version; sourcehash = p.src.src.outputhash; yarnhash = p.yarnofflinecache.STRING
HIGHpkgs/by-name/li/lidarr/update.py0p: { dir = dirof p.meta.position; version = p.version; sourcehash = p.src.src.outputhash; yarnhash = p.yarnofflinecache.STRING
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…nt/haskell-modules/configuration-hackage2nix/main.yaml38 # 2026-02-04: as requested by ghcide >= 2.13COMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…elopment/compilers/graalvm/community-edition/update.sh4# Usage:COMMENT
LOWpkgs/by-name/ru/rustdesk-flutter/build-runner.sh8# Usage:COMMENT
LOWpkgs/by-name/ru/rustdesk-flutter/build-runner.sh37# Usage:COMMENT
LOW…/dart/build-dart-application/hooks/dart-config-hook.sh23 # Usage:COMMENT
LOW…/dart/build-dart-application/hooks/dart-config-hook.sh52 # Usage:COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpkgs/by-name/pi/pihole-ftl/pihole.toml756 # at http://<ip>/pihole/admin/ instead of http://<ip>/admin/. In this example, theCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdoc/styleguide.md463Replace sensitive values with placeholders: `<YOUR-KEY>`, `<YOUR-HOST>`, `<YOUR-TOKEN>`.CODE
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…gs-plugin-update/src/nixpkgs_plugin_update/__init__.py290CODE
LOW…/up/update-python-libraries/update-python-libraries.py538CODE
LOWpkgs/by-name/au/auto-patchelf/source/auto-patchelf.py494CODE
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpkgs/stdenv/generic/setup.sh70# NOTE: This function is only every meant to be called from the nix*Log family of functions.COMMENT
LOW…rrayUtilities/getRunpathEntries/getRunpathEntries.bash7# NOTE: This function does not check if path is a valid ELF file.COMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…os/lib/test-driver/src/test_driver/machine/__init__.py723CODE