AI Slop Code Risk Monitor

libarchive/libarchive

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

Multi-format archive and compression library

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for libarchive/libarchive, a C project with 3,651 GitHub stars. SynthScan examined 266,281 lines of code across 842 source files, recording 382 pattern matches distributed across 1 syntactic category. 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-30
Last Push
3.7K
Stars
C
Language
266.3K
Lines of Code
842
Files
382
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 6.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 6.9/100 · LOW

Which changes need focused human review? 382 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 0MEDIUM 0LOW 382

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 382 distinct pattern matches across 1 syntactic category. 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 Block382 hits · 382 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#COMMENT
LOWCMakeLists.txt81# libtool accepts a string "current:revision:age"; in libarchive, that's set toCOMMENT
LOWCMakeLists.txt181 # Set compile flags for debug build.COMMENT
LOWCMakeLists.txt461 # Maybe DLL path is "C:/Program Files/GnuWin32/bin".COMMENT
LOWCMakeLists.txt1481 # During checking functions, we should use -fno-builtin to avoid theCOMMENT
LOWcat/bsdcat.c1/*-COMMENT
LOWcat/bsdcat_platform.h21/* Not having a config.h of some sort is a serious problem. */COMMENT
LOWcat/bsdcat_platform.h41#elif defined(_MSC_VER)COMMENT
LOWtest_utils/test_common.h41#include "config_freebsd.h"COMMENT
LOWtest_utils/test_common.h61#define dirent directCOMMENT
LOWtest_utils/test_common.h81#include <acl/libacl.h>COMMENT
LOWtest_utils/test_common.h101/* Windows (including Visual Studio and MinGW but not Cygwin) */COMMENT
LOWtest_utils/test_common.h121 (__GNUC__ == 2 && __GNUC_MINOR__ >= 7))COMMENT
LOWtest_utils/test_main.c21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTCOMMENT
LOWtest_utils/test_main.c41 */COMMENT
LOWtest_utils/test_main.c61#ifdef HAVE_ACL_LIBACL_HCOMMENT
LOWtest_utils/test_main.c81#ifdef HAVE_SYS_RICHACL_HCOMMENT
LOWtest_utils/test_main.c121 * to only the most generic programming techniques in the test harnessCOMMENT
LOWtest_utils/test_main.c141#endifCOMMENT
LOWunzip/la_queue.h121#define QMD_TRACE_HEAD(head)COMMENT
LOWunzip/bsdunzip_platform.h21/* Not having a config.h of some sort is a serious problem. */COMMENT
LOWunzip/bsdunzip_platform.h41#undef __LA_NORETURNCOMMENT
LOWunzip/bsdunzip.c21#endifCOMMENT
LOWunzip/bsdunzip.c41#ifdef HAVE_STDLIB_HCOMMENT
LOWunzip/bsdunzip_windows.c21#include <winnt.h>COMMENT
LOWunzip/bsdunzip_windows.c41#define S_IRWXU _S_IRWXUCOMMENT
LOWunzip/bsdunzip_windows.h21#include <direct.h>COMMENT
LOWlibarchive/archive_read_support_format_rar.c21* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANYCOMMENT
LOWlibarchive/archive_read_support_format_rar.c41#include "archive_entry.h"COMMENT
LOWlibarchive/archive_read_support_format_rar.c61#define ENDARC_HEAD 0x7bCOMMENT
LOWlibarchive/archive_read_support_format_rar.c81#define FHD_SPLIT_AFTER 0x0002COMMENT
LOWlibarchive/archive_read_support_format_rar.c101#define DICTIONARY_SIZE_4096 0xC0COMMENT
LOWlibarchive/archive_read_support_format_rar.c121#define COMPRESS_METHOD_BEST 0x35COMMENT
LOWlibarchive/archive_read_support_filter_zstd.c21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTCOMMENT
LOWlibarchive/archive_write_set_format_7zip.c21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTCOMMENT
LOWlibarchive/archive_write_set_format_7zip.c41#include <bzlib.h>COMMENT
LOWlibarchive/archive_write_set_format_7zip.c61#include "archive_string.h"COMMENT
LOWlibarchive/archive_write_set_format_7zip.c81#define kEnd 0x00COMMENT
LOWlibarchive/archive_write_set_format_7zip.c101#define kMTime 0x14COMMENT
LOWlibarchive/config_freebsd.h21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTCOMMENT
LOWlibarchive/config_freebsd.h41/* FreeBSD 8.0 and later has NFSv4 ACL support */COMMENT
LOWlibarchive/config_freebsd.h61#define HAVE_SHA512 1COMMENT
LOWlibarchive/config_freebsd.h81#define HAVE_CHOWN 1COMMENT
LOWlibarchive/config_freebsd.h101#define HAVE_EFTYPE 1COMMENT
LOWlibarchive/config_freebsd.h121#define HAVE_FUTIMESAT 1COMMENT
LOWlibarchive/config_freebsd.h141#define HAVE_LINK 1COMMENT
LOWlibarchive/config_freebsd.h161#define HAVE_POSIX_SPAWNP 1COMMENT
LOWlibarchive/config_freebsd.h181#define HAVE_STRCHR 1COMMENT
LOWlibarchive/config_freebsd.h201#define HAVE_SYS_MOUNT_H 1COMMENT
LOWlibarchive/config_freebsd.h221#define HAVE_UNSIGNED_LONG_LONG_INT 1COMMENT
LOWlibarchive/config_freebsd.h241#if __FreeBSD_version >= 800505COMMENT
LOWlibarchive/config_freebsd.h261#ifdef WITH_OPENSSLCOMMENT
LOWlibarchive/archive_write_disk_set_standard_lookup.c21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTCOMMENT
LOWlibarchive/archive_read_support_format_ar.c21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,COMMENT
LOWlibarchive/archive_read_support_format_ar.c61 char *strtab;COMMENT
LOWlibarchive/archive_read_support_filter_lrzip.c21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTCOMMENT
LOWlibarchive/archive_read_support_filter_compress.c61 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OFCOMMENT
LOWlibarchive/archive_util.c21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANYCOMMENT
LOWlibarchive/archive_util.c41#ifdef HAVE_STRING_HCOMMENT
LOWlibarchive/archive.h61#if !defined(__LA_INT64_T_DEFINED)COMMENT
322 more matches not shown…