AI Slop Code Risk Monitor

jedisct1/libsodium

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

A modern, portable, easy to use crypto library.

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jedisct1/libsodium, a C project with 14,034 GitHub stars. SynthScan examined 80,436 lines of code across 505 source files, recording 167 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 2.1 (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.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
14.0K
Stars
C
Language
80.4K
Lines of Code
505
Files
167
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 10.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 167 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.1/100 · LOW

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

PR Review Velocity Impact 10.0/100 · LOW

Which changes need focused human review? 167 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 1LOW 166

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 167 distinct pattern matches across 3 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 Block165 hits · 165 pts
SeverityFileLineSnippetContext
LOWtest/default/sodium_utils2.c1COMMENT
LOWtest/default/cmptest.h1COMMENT
LOWtest/default/cmptest.h21# undef TEST_SRCDIRCOMMENT
LOWtest/default/sodium_utils3.c1COMMENT
LOWbuilds/msvc/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWbuilds/wasm32-freestanding/include/time.h1#ifndef _TIME_HCOMMENT
LOWbuilds/wasm32-freestanding/include/unistd.h1#ifndef _UNISTD_HCOMMENT
LOWbuilds/wasm32-freestanding/include/fcntl.h1#ifndef _FCNTL_HCOMMENT
LOWbuilds/wasm32-freestanding/include/errno.h1#ifndef _ERRNO_HCOMMENT
LOWbuilds/wasm32-freestanding/include/assert.h1#undef assertCOMMENT
LOWbuilds/wasm32-freestanding/include/sys/stat.h1#ifndef _SYS_STAT_HCOMMENT
LOW…rypto_generichash/blake2b/ref/blake2b-compress-ssse3.c1COMMENT
LOW…crypto_generichash/blake2b/ref/blake2b-compress-avx2.c1COMMENT
LOW…rypto_generichash/blake2b/ref/blake2b-compress-sse41.c1COMMENT
LOW…crypto_generichash/blake2b/ref/blake2b-compress-avx2.h1COMMENT
LOW…c/libsodium/crypto_sign/mldsa44/ref/sign_mldsa44_ref.c1#include <stdint.h>COMMENT
LOW…c/libsodium/crypto_sign/mldsa44/ref/sign_mldsa44_ref.c21#define MLDSA44_BETA 78COMMENT
LOWsrc/libsodium/include/sodium.h1COMMENT
LOWsrc/libsodium/include/sodium.h21#include "sodium/crypto_core_keccak1600.h"COMMENT
LOWsrc/libsodium/include/sodium.h41#include "sodium/crypto_onetimeauth_poly1305.h"COMMENT
LOWsrc/libsodium/include/sodium.h61#include "sodium/crypto_xof_shake128.h"COMMENT
LOWsrc/libsodium/include/sodium.h81# include "sodium/crypto_stream_xchacha20.h"COMMENT
LOWsrc/libsodium/include/sodium/crypto_auth.h1#ifndef crypto_auth_HCOMMENT
LOWsrc/libsodium/include/sodium/utils.h1COMMENT
LOWsrc/libsodium/include/sodium/crypto_aead_aegis256.h1#ifndef crypto_aead_aegis256_HCOMMENT
LOWsrc/libsodium/include/sodium/export.h1COMMENT
LOWsrc/libsodium/include/sodium/export.h21# ifdef SODIUM_DLL_EXPORTCOMMENT
LOWsrc/libsodium/include/sodium/export.h41# elseCOMMENT
LOW…/libsodium/include/sodium/crypto_shorthash_siphash24.h1#ifndef crypto_shorthash_siphash24_HCOMMENT
LOWsrc/libsodium/include/sodium/randombytes.h1COMMENT
LOWsrc/libsodium/include/sodium/crypto_auth_hmacsha512.h1#ifndef crypto_auth_hmacsha512_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_xof_shake128.h1#ifndef crypto_xof_shake128_HCOMMENT
LOW…bsodium/include/sodium/crypto_aead_xchacha20poly1305.h1#ifndef crypto_aead_xchacha20poly1305_HCOMMENT
LOW…libsodium/include/sodium/crypto_onetimeauth_poly1305.h1#ifndef crypto_onetimeauth_poly1305_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_kem_mlkem768.h1#ifndef crypto_kem_mlkem768_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_kx.h1#ifndef crypto_kx_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_kdf.h1#ifndef crypto_kdf_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_auth_hmacsha256.h1#ifndef crypto_auth_hmacsha256_HCOMMENT
LOW…c/libsodium/include/sodium/crypto_auth_hmacsha512256.h1#ifndef crypto_auth_hmacsha512256_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_aead_aegis128l.h1#ifndef crypto_aead_aegis128l_HCOMMENT
LOW…ibsodium/include/sodium/crypto_aead_chacha20poly1305.h1#ifndef crypto_aead_chacha20poly1305_HCOMMENT
LOW…um/include/sodium/crypto_secretbox_xchacha20poly1305.h1#ifndef crypto_secretbox_xchacha20poly1305_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_core_keccak1600.h1#ifndef crypto_core_keccak1600_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_pwhash.h1#ifndef crypto_pwhash_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_kdf_blake2b.h1#ifndef crypto_kdf_blake2b_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_shorthash.h1#ifndef crypto_shorthash_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_kdf_hkdf_sha256.h1#ifndef crypto_kdf_hkdf_sha256_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_pwhash_argon2id.h1#ifndef crypto_pwhash_argon2id_HCOMMENT
LOW…include/sodium/crypto_secretstream_xchacha20poly1305.h1#ifndef crypto_secretstream_xchacha20poly1305_HCOMMENT
LOW…um/include/sodium/crypto_pwhash_scryptsalsa208sha256.h1#ifndef crypto_pwhash_scryptsalsa208sha256_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_kem_xwing.h1#ifndef crypto_kem_xwing_HCOMMENT
LOW…nclude/sodium/crypto_box_curve25519xchacha20poly1305.h1COMMENT
LOWsrc/libsodium/include/sodium/crypto_kdf_hkdf_sha512.h1#ifndef crypto_kdf_hkdf_sha512_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_pwhash_argon2i.h1#ifndef crypto_pwhash_argon2i_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_generichash.h1#ifndef crypto_generichash_HCOMMENT
LOW…ium/include/sodium/crypto_secretbox_xsalsa20poly1305.h1#ifndef crypto_secretbox_xsalsa20poly1305_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_secretbox.h1#ifndef crypto_secretbox_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_sign_mldsa44.h1#ifndef crypto_sign_mldsa44_HCOMMENT
LOWsrc/libsodium/include/sodium/crypto_ipcrypt.h1#ifndef crypto_ipcrypt_HCOMMENT
LOW…include/sodium/crypto_box_curve25519xsalsa20poly1305.h1#ifndef crypto_box_curve25519xsalsa20poly1305_HCOMMENT
105 more matches not shown…
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdist-build/android-aar.sh3# Create an AAR with libsodium in all combinations of static | shared | minimal | full.COMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWregen-msvc/regen-msvc.py80def get_project_configurations(vs_version):CODE