AI Slop Code Risk Monitor

microsoft/vcpkg

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

C++ Library Manager for Windows, Linux, and MacOS

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for microsoft/vcpkg, a CMake project with 27,557 GitHub stars. SynthScan examined 369,517 lines of code across 6829 source files, recording 171 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
27.6K
Stars
CMake
Language
369.5K
Lines of Code
6.8K
Files
171
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 1.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 1.6/100 · LOW

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

PR Review Velocity Impact 3.0/100 · LOW

Which changes need focused human review? 171 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 3MEDIUM 19LOW 149

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 171 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block72 hits · 72 pts
SeverityFileLineSnippetContext
LOWscripts/vcpkg_completion.bash1#!/usr/bin/env bashCOMMENT
LOWscripts/ci.baseline.txt1###########################################################################COMMENT
LOWscripts/ci.baseline.txt21##COMMENT
LOWscripts/ci.feature.baseline.txt1###########################################################################COMMENT
LOWscripts/ci.feature.baseline.txt21## feature-fails - The listed feature do not build. They are therefore excludedCOMMENT
LOWscripts/azure-pipelines/linux/provision-image.sh161COMMENT
LOWscripts/get_cmake_vars/CMakeLists.txt201COMMENT
LOWscripts/get_cmake_vars/CMakeLists.txt221# CMAKE_SHARED_LINKER_FLAGSCOMMENT
LOW…rts/vcpkg-ci-libigl/project/stb_image_implementation.c1#define STB_IMAGE_IMPLEMENTATIONCOMMENT
LOWscripts/test_ports/try-compile/try/try-compile.c1COMMENT
LOW…ports/vcpkg-ci-vcpkg-make/test-cl_cpp_wrapper/source.c1#ifdef EXPECT_SUCCESSCOMMENT
LOW…/vcpkg-ci-alibabacloud-oss-cpp-sdk-v2/project/main.cpp1#include <alibabacloud/oss2/ClientConfiguration.h>COMMENT
LOWscripts/test_ports/vcpkg-ci-subversion/project/main.cpp1#include <svn_client.h>COMMENT
LOWscripts/test_ports/vcpkg-ci-highway/project/scale.hpp1#pragma onceCOMMENT
LOW…ripts/test_ports/vcpkg-ci-qtwebengine/project/main.cpp1#ifdef REQUIRE_PDFCOMMENT
LOW…ipts/test_ports/vcpkg-ci-dawn/project/webgpu_glfw3.cpp1//COMMENT
LOW…ipts/test_ports/vcpkg-ci-dawn/project/webgpu_glfw3.cpp21#define DAWN_USE_X11COMMENT
LOWscripts/test_ports/vcpkg-ci-dawn/project/main.cpp1//COMMENT
LOW.github/workflows/untrustedPR.yml81 git commit -m "tmp" --allow-emptyCOMMENT
LOWports/libuuid/config.linux.h1#define HAVE_DECL__SC_HOST_NAME_MAX 1COMMENT
LOWports/cityhash/config.h61#define PACKAGE_URL ""COMMENT
LOWports/igraph/arith_osx.h1/* Suitable for macOS on x86_64 and arm64 */COMMENT
LOWports/igraph/arith_win64.h1/* Windows 64-bit */COMMENT
LOWports/igraph/arith_win32.h1/* Windows 32-bit */COMMENT
LOWports/angle/cmake-buildsystem/CMakeLists.txt141# is being used as a compiler or as a GLES implementation.COMMENT
LOWports/xmlsec/CMakeLists.txt61#define XMLSEC_NO_FTP 1COMMENT
LOWports/foonathan-memory/config_impl.hpp1#ifndef Z_VCPKG_FOONATHAN_MEMORY_DEBUGCOMMENT
LOWports/libmspack/config.h1#define HAVE_LIMITS_H 1COMMENT
LOWports/pdal/h3api.h1#include <h3/h3api.h>COMMENT
LOWports/cgns/cgnsconfig.h1#ifndef CGNSCONFIG_HCOMMENT
LOWports/lua/CMakeLists.txt1# Lua can be compiled as either C or C++.COMMENT
LOWports/openblas/openblas_common.h1#pragma onceCOMMENT
LOWports/openblas/openblas_common.h41typedef BLASLONG blasint;COMMENT
LOW…rts/vcpkg-cmake-get-vars/cmake_get_vars/CMakeLists.txt221 endif()COMMENT
LOW…rts/vcpkg-cmake-get-vars/cmake_get_vars/CMakeLists.txt241# CMAKE_CXX_COMPILERCOMMENT
LOW…rts/vcpkg-cmake-get-vars/cmake_get_vars/CMakeLists.txt261# Additional information:COMMENT
LOWports/7zip/CMakeLists.txt1cmake_minimum_required(VERSION 3.19)COMMENT
LOWports/clapack/arith_osx.h1/* Suitable for macOS on x86_64 and arm64 */COMMENT
LOWports/clapack/arith_win64.h1/* Windows 64-bit */COMMENT
LOWports/clapack/arith_linux64.h1#define IEEE_8087COMMENT
LOWports/clapack/arith_win32.h1/* Windows 32-bit */COMMENT
LOWports/libu2f-server/u2f-server-version.h81#define U2FS_VERSION_PATCH 0COMMENT
LOWports/chartdir/chartdir.h1#ifndef __CHARTDIR_H__COMMENT
LOWports/qca/mk-ca-bundle.pl1#!/usr/bin/perl -wCOMMENT
LOWports/qca/mk-ca-bundle.pl21# *COMMENT
LOWports/qca/mk-ca-bundle.pl401## file (certdata.txt). This file can be found in the mozilla source tree:COMMENT
LOWports/vulkan-sdk-components/LICENSE.txt81While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of COMMENT
LOWports/vulkan-sdk-components/LICENSE.txt101//COMMENT
LOWports/vulkan-sdk-components/LICENSE.txt121#=============================================================================COMMENT
LOWports/vulkan-sdk-components/LICENSE.txt141//COMMENT
LOWports/vulkan-sdk-components/LICENSE.txt161// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTCOMMENT
LOWports/vulkan-sdk-components/LICENSE.txt221COMMENT
LOWports/vulkan-sdk-components/LICENSE.txt241# contributors may be used to endorse or promote products derivedCOMMENT
LOWports/vulkan-sdk-components/LICENSE.txt541/// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)COMMENT
LOWports/webrtc/absl-labels.txt1//third_party/abseil-cpp:abslCOMMENT
LOWports/webrtc/absl-labels.txt21//third_party/abseil-cpp/absl/base:prefetchCOMMENT
LOWports/webrtc/absl-labels.txt41//third_party/abseil-cpp/absl/container:hashtable_debug_hooksCOMMENT
LOWports/webrtc/absl-labels.txt61//third_party/abseil-cpp/absl/debugging:debugging_internalCOMMENT
LOWports/webrtc/absl-labels.txt81//third_party/abseil-cpp/absl/log/internal:conditionsCOMMENT
LOWports/webrtc/absl-labels.txt101//third_party/abseil-cpp/absl/log:initializeCOMMENT
12 more matches not shown…
Decorative Section Separators18 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUMscripts/update_kf6.py15# ============================================================COMMENT
MEDIUMscripts/update_kf6.py17# ============================================================COMMENT
MEDIUMscripts/update_kf6.py58# ============================================================COMMENT
MEDIUMscripts/update_kf6.py60# ============================================================COMMENT
MEDIUM⚡scripts/update_kf6.py187# ============================================================COMMENT
MEDIUM⚡scripts/update_kf6.py189# ============================================================COMMENT
MEDIUMports/irrlicht/CMakeLists.txt10# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMports/irrlicht/CMakeLists.txt16# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMports/irrlicht/CMakeLists.txt29# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMports/irrlicht/CMakeLists.txt41# -------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡ports/irrlicht/CMakeLists.txt61# -------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡ports/irrlicht/CMakeLists.txt68# -------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡ports/irrlicht/CMakeLists.txt76# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMports/irrlicht/CMakeLists.txt129# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMports/irrlicht/CMakeLists.txt176# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMports/irrlicht/CMakeLists.txt231# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMports/vulkan-sdk-components/LICENSE.txt121#=============================================================================COMMENT
MEDIUMports/vulkan-sdk-components/LICENSE.txt131#=============================================================================COMMENT
Hyper-Verbose Identifiers47 hits · 51 pts
SeverityFileLineSnippetContext
LOWscripts/buildsystems/osx/applocal.py206def normalize_loaderpath_name(filename):CODE
LOWports/webrtc/generate_external_third_party.py388def make_trivial_group_build_gn(*group_names: str) -> str:STRING
LOWports/webrtc/generate_external_third_party.py393def make_config_only_build_gn(config_name: str,STRING
LOWports/webrtc/generate_external_third_party.py405def make_linked_source_set_build_gn(STRING
LOWports/webrtc/generate_external_absl.py37def build_imported_cmake_targets(CODE
LOWports/webrtc/generate_external_absl.py217def should_exclude_imported_target(cmake_body: str) -> bool:CODE
LOWports/webrtc/generate_external_absl.py244def cmake_target_to_gn_lib_name(target: str) -> str:CODE
LOWports/webrtc/generate_external_absl.py253def render_cmake_targets_from_imported_targets(CODE
LOWports/webrtc/generate_external_third_party_test.py33 def test_make_header_forwarder_renders_expected_include(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py39 def test_make_linked_source_set_build_gn_renders_expected_sections(CODE
LOW⚡ports/webrtc/generate_external_third_party_test.py62 def test_resolve_spec_normalizes_optional_fields(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_third_party_test.py72 def test_resolve_spec_rejects_missing_required_key(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_third_party_test.py82 def test_resolve_spec_rejects_invalid_optional_type(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py96 def test_build_generation_plan_normalizes_output_and_files(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py120 def test_build_generation_plan_renders_tool_path(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py139 def test_build_generation_plan_renders_windows_tool_path(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py157 def test_build_generation_plan_preserves_root_flag(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py174 def test_plan_generation_uses_resolved_spec(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py192 def test_plan_generation_exposes_copied_files_tuple(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py206 def test_apply_generation_plan_writes_planned_files(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py224 def test_generate_external_dep_applies_plan(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py240 def test_write_tree_generates_libsrtp_with_substitution(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py257 def test_write_tree_preserves_existing_root_when_requested(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py272 def test_write_tree_renders_nasm_tool_path(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py285 def test_write_tree_generates_nested_testing_tree(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py302 def test_main_generates_representative_output_tree(self) -> None:CODE
LOWports/webrtc/generate_external_third_party_test.py325 def test_argparse_rejects_unknown_dep(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_absl_test.py89 def test_make_generation_plan_rejects_unexpected_root_target(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_absl_test.py97 def test_split_label_returns_path_and_target(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_absl_test.py107 def test_split_label_rejects_invalid_prefix(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_absl_test.py111 def test_split_label_rejects_missing_target_separator(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_absl_test.py115 def test_read_cmake_targets_parses_static_and_interface_targets(CODE
LOW⚡ports/webrtc/generate_external_absl_test.py151 def test_read_cmake_targets_rejects_empty_exports(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_absl_test.py160 def test_read_cmake_targets_rejects_unparseable_exports(self) -> None:CODE
LOW⚡ports/webrtc/generate_external_absl_test.py169 def test_render_cmake_targets_preserves_static_lib_mapping(self) -> None:CODE
LOWports/webrtc/generate_external_absl_test.py23 def test_read_labels_filters_deduplicates_and_sorts(self) -> None:CODE
LOWports/webrtc/generate_external_absl_test.py42 def test_build_imported_cmake_targets_normalizes_target_groups(CODE
LOWports/webrtc/generate_external_absl_test.py63 def test_make_generation_plan_exposes_normalized_model(self) -> None:CODE
LOWports/webrtc/generate_external_absl_test.py132 def test_read_cmake_targets_excludes_targets_with_forbidden_link_libraries(CODE
LOWports/webrtc/generate_external_absl_test.py192 def test_render_absl_gni_contains_templates(self) -> None:CODE
LOWports/webrtc/generate_external_absl_test.py199 def test_render_root_build_includes_configs_and_generated_targets(CODE
LOWports/webrtc/generate_external_absl_test.py214 def test_render_subdir_build_includes_targets_and_configs(self) -> None:CODE
LOWports/webrtc/generate_external_absl_test.py221 def test_render_cmake_targets_includes_imported_target_lists(self) -> None:CODE
LOWports/webrtc/generate_external_absl_test.py233 def test_render_cmake_targets_from_imported_targets_uses_plan_model(CODE
LOWports/webrtc/generate_external_absl_test.py247 def test_cmake_target_to_gn_lib_name_uses_current_prefix_mapping(CODE
LOWports/webrtc/generate_external_absl_test.py256 def test_main_generates_expected_files(self) -> None:CODE
LOWports/webrtc/generate_external_absl_test.py312 def test_main_rejects_unexpected_root_label(self) -> None:CODE
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHports/webrtc/generate_external_third_party.py60if ((is_mac || is_ios) && (current_cpu == "x86" || current_cpu == "x64")) {CODE
HIGHports/webrtc/generate_external_third_party.py76} else if (is_posix || is_fuchsia) {CODE
HIGHports/webrtc/generate_external_third_party.py306 enable_libaom = !(is_android && current_cpu != "arm64" &&CODE
Structural Annotation Overuse7 hits · 10 pts
SeverityFileLineSnippetContext
LOW.github/skills/evaluate-new-port/SKILL.md35### Step 1: Read the Port MetadataCOMMENT
LOW.github/skills/evaluate-new-port/SKILL.md59### Step 2: Clean the Local Working StateCOMMENT
LOW.github/skills/evaluate-new-port/SKILL.md75### Step 3: Install the PortCOMMENT
LOW.github/skills/evaluate-new-port/SKILL.md105### Step 4: Determine the Installed Triplet DirectoryCOMMENT
LOW.github/skills/evaluate-new-port/SKILL.md117### Step 5: Audit the Extracted Source TreeCOMMENT
LOW.github/skills/evaluate-new-port/SKILL.md161### Step 6: Audit Installed Content Against the Declared License MetadataCOMMENT
LOW.github/skills/evaluate-new-port/SKILL.md180### Step 7: Review the Portfile for Packaging SuggestionsCOMMENT
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWscripts/generateBaseline.py14CODE
LOWscripts/generateBaseline.py32CODE
LOWscripts/update_suitesparse.py41CODE
LOWscripts/update_suitesparse.py60CODE
LOWscripts/update_kf6.py112CODE
LOWscripts/buildsystems/osx/applocal.py244CODE
LOWscripts/buildsystems/osx/applocal.py344CODE
LOWports/shader-slang/update_shas.py31CODE
LOWports/shader-slang/update_shas.py74CODE
Unused Imports9 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/generatePortVersionsDb.py4CODE
LOWscripts/generatePortVersionsDb.py6CODE
LOWscripts/generateBaseline.py6CODE
LOWscripts/update_kf6.py7CODE
LOWscripts/update_kf6.py13CODE
LOWports/webrtc/generate_external_third_party.py2CODE
LOWports/webrtc/generate_external_absl.py2CODE
LOWports/webrtc/generate_external_third_party_test.py2CODE
LOWports/webrtc/generate_external_absl_test.py2CODE
Excessive Try-Catch Wrapping6 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMscripts/generateBaseline.py62 print(f'Error: Decoding {port_file_path}\n{e}\n')CODE
LOWscripts/update_kf6.py106 except Exception as e:CODE
LOWscripts/update_kf6.py157 except Exception as e:CODE
LOW⚡scripts/update_kf6.py182 except Exception as e:CODE
LOWscripts/buildsystems/osx/applocal.py69 except Exception as exc:CODE
LOWports/shader-slang/update_shas.py133 except Exception as exc:CODE