AI Slop Code Risk Monitor

upx/upx

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

UPX - the Ultimate Packer for eXecutables

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for upx/upx, a C++ project with 17,980 GitHub stars. SynthScan examined 195,295 lines of code across 367 source files, recording 539 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
18.0K
Stars
C++
Language
195.3K
Lines of Code
367
Files
539
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 9.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 13.8/100 · LOW

Which changes need focused human review? 539 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 4MEDIUM 10LOW 525

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 539 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 Block508 hits · 372 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#COMMENT
LOWmisc/podman/rebuild-stubs/20-image-run-shell.sh41fiCOMMENT
LOWmisc/podman/rebuild-stubs/20-image-run-shell.sh61# ./build/extra/gcc/release/upx --versionCOMMENT
LOWmisc/podman/rebuild-stubs/20-image-run-shell.sh81# cd /home/upx/src/upx/docCOMMENT
LOWmisc/testsuite/upx_testsuite_1.sh1#! /usr/bin/env bashCOMMENT
LOWmisc/testsuite/mimic_ctest_sigsegv.sh1#! /usr/bin/env bashCOMMENT
LOWmisc/testsuite/mimic_ctest.sh1#! /usr/bin/env bashCOMMENT
LOWmisc/testsuite/test_symlinks.sh1#! /usr/bin/env bashCOMMENT
LOW.github/workflows/github-close-stale-issues.yml1# Copyright (C) Markus Franz Xaver Johannes OberhumerCOMMENT
LOWsrc/p_w32pe_i386.cpp161COMMENT
LOWsrc/p_ps1.cpp41static const CLANG_FORMAT_DUMMY_STATEMENTCOMMENT
LOWsrc/p_ps1.cpp61#define MIPS_LO(a) ((a) &0xffff)COMMENT
LOWsrc/p_ps1.cpp341#define OPCODE(x) (((x) >> 10) & 0x7)COMMENT
LOWsrc/version.h1#pragma onceCOMMENT
LOWsrc/MAX_ELF_HDR.h1#pragma onceCOMMENT
LOWsrc/bele_policy.h221#error "ACC_ABI_ENDIAN"COMMENT
LOWsrc/bele.h281#if (ACC_ABI_BIG_ENDIAN)COMMENT
LOWsrc/bele.h1101#define ne32_compare_signed be32_compare_signedCOMMENT
LOWsrc/help.cpp41static constexpr int has_cpp_attribute = 1;COMMENT
LOWsrc/help.cpp61static constexpr int has_warning = 1;COMMENT
LOWsrc/help.cpp521 if (v != nullptr && v[0])COMMENT
LOWsrc/help.cpp601 cf_print("ACC_CC_GNUC", "0x%06llx", ACC_CC_GNUC + 0, 3);COMMENT
LOWsrc/help.cpp641 // architectureCOMMENT
LOWsrc/help.cpp661 cf_print("__riscv_misaligned_fast", "%lld", __riscv_misaligned_fast + 0, 4);COMMENT
LOWsrc/help.cpp681 cf_print("_WIN32_WINNT", "0x%04llx", _WIN32_WINNT + 0);COMMENT
LOWsrc/help.cpp701 cf_print("__GLIBC_MINOR__", "%lld", __GLIBC_MINOR__ + 0);COMMENT
LOWsrc/help.cpp761#endifCOMMENT
LOWsrc/conf.h41#if !defined(__has_builtin)COMMENT
LOWsrc/conf.h81#endifCOMMENT
LOWsrc/conf.h101// don't enable before gcc-10 because of gcc bug #78010COMMENT
LOWsrc/conf.h121#define upx_is_constant_evaluated __builtin_is_constant_evaluatedCOMMENT
LOWsrc/conf.h161#define upx_fake_alignas__(x) upx_fake_alignas_##xCOMMENT
LOWsrc/conf.h221// UPX convention: use "charptr" when dealing with abstract pointer arithmeticsCOMMENT
LOWsrc/conf.h241COMMENT
LOWsrc/conf.h261#define likely __acc_likelyCOMMENT
LOWsrc/conf.h281#endifCOMMENT
LOWsrc/conf.h301#endifCOMMENT
LOWsrc/conf.h321COMMENT
LOWsrc/conf.h341COMMENT
LOWsrc/conf.h361COMMENT
LOWsrc/conf.h381#define VALGRIND_CHECK_MEM_IS_DEFINED(addr, len) 0COMMENT
LOWsrc/conf.h401COMMENT
LOWsrc/conf.h421#define upx_memcpy_inline __builtin_memcpyCOMMENT
LOWsrc/conf.h501noreturn void throwAssertFailed(const char *expr, const char *file, int line, const char *func)COMMENT
LOWsrc/conf.h521COMMENT
LOWsrc/conf.h541#define EXIT_ERROR 1COMMENT
LOWsrc/conf.h561#define UPX_E_INPUT_OVERRUN (-4)COMMENT
LOWsrc/conf.h581#define UPX_F_LINUX_ELF_i386 12COMMENT
LOWsrc/conf.h601#define UPX_F_MACH_ARM 32COMMENT
LOWsrc/conf.h621#define UPX_F_LINUX_ELF32_ARMEB 133COMMENT
LOWsrc/conf.h641#define M_NRV2E_LE16 10COMMENT
LOWsrc/conf.h661#define M_IS_DEFLATE(x) ((x) == M_DEFLATE)COMMENT
LOWsrc/conf.h901 int method,COMMENT
LOWsrc/p_lx_exc.cpp41#include "p_elf.h"COMMENT
LOWsrc/p_lx_exc.cpp261COMMENT
LOWsrc/p_lx_exc.cpp321// // Elf32_Phdr: 1 for exec86, 2 for sh86, 3 for elf86COMMENT
LOWsrc/p_lx_elf.cpp41#include "p_unix.h"COMMENT
LOWsrc/p_lx_elf.cpp1441 int const n_mru = ft->n_mru; // FIXME: belongs to filter? packerf?COMMENT
LOWsrc/p_lx_elf.cpp3221COMMENT
LOWsrc/p_lx_elf.cpp3241// bxeq lrCOMMENT
448 more matches not shown…
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsrc/stub/scripts/brandelf.py116except AssertionError: passCODE
HIGHsrc/stub/scripts/bin2h.py273except AssertionError: passCODE
HIGHsrc/stub/scripts/gpp_inc.py144except AssertionError: passCODE
HIGHsrc/stub/scripts/xstrip.py200except AssertionError: passCODE
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMsrc/stub/scripts/brandelf.py6# This file is part of the UPX executable compressor.COMMENT
MEDIUMsrc/stub/scripts/bin2h.py6# This file is part of the UPX executable compressor.COMMENT
MEDIUMsrc/stub/scripts/gpp_inc.py6# This file is part of the UPX executable compressor.COMMENT
MEDIUMsrc/stub/scripts/xstrip.py6# This file is part of the UPX executable compressor.COMMENT
MEDIUMsrc/stub/src/arch/i086/wdis2gas.py6# This file is part of the UPX executable compressor.COMMENT
MEDIUMsrc/stub/src/arch/i086/cleanasm.py6# This file is part of the UPX executable compressor.COMMENT
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/stub/scripts/brandelf.py45CODE
LOWsrc/stub/scripts/brandelf.py114CODE
LOWsrc/stub/scripts/bin2h.py178CODE
LOWsrc/stub/scripts/bin2h.py271CODE
LOWsrc/stub/scripts/gpp_inc.py142CODE
LOWsrc/stub/scripts/xstrip.py45CODE
LOWsrc/stub/scripts/xstrip.py68CODE
LOWsrc/stub/scripts/xstrip.py135CODE
LOWsrc/stub/scripts/xstrip.py198CODE
LOWsrc/stub/src/arch/i086/wdis2gas.py44CODE
Excessive Try-Catch Wrapping3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMmisc/analyze/clang-tidy/run-clang-tidy.py80 print("Error: could not find compilation database.")CODE
MEDIUMmisc/analyze/clang-tidy/run-clang-tidy.py530 print("Error exporting fixes.\n", file=sys.stderr)CODE
MEDIUMmisc/analyze/clang-tidy/run-clang-tidy.py539 print("Error applying fixes.\n", file=sys.stderr)CODE
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWmisc/analyze/clang-tidy/run-clang-tidy.py37CODE
LOWsrc/stub/scripts/brandelf.py31CODE
LOWsrc/stub/scripts/brandelf.py31CODE
LOWsrc/stub/scripts/xstrip.py31CODE
LOWsrc/stub/src/arch/i086/wdis2gas.py31CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWmisc/analyze/clang-tidy/run-clang-tidy.py74def find_compilation_database(path):CODE
LOWsrc/stub/scripts/bin2h.py223def encode_compressed_stub_header(method, idata, odata):CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc/p_mach.cpp618 segTEXT.vmsize = len; // FIXME? utilize GAP + NO_LAP + sz_unc - sz_cprCODE