AI Slop Code Risk Monitor

MarSeventh/CloudFlare-ImgBed

SlopCodeMonitor badge for MarSeventh/CloudFlare-ImgBed Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🏖️ A serverless, open-source file hosting solution built on Cloudflare. Supports image hosting, secure file storage, and personal cloud drive capabilities.

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for MarSeventh/CloudFlare-ImgBed, a JavaScript project with 6,842 GitHub stars. SynthScan examined 35,383 lines of code across 190 source files, recording 61 pattern matches distributed across 4 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
6.8K
Stars
JavaScript
Language
35.4K
Lines of Code
190
Files
61
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 7.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.6/100 · LOW

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

Agent Over-Engineering Ratio 6.8/100 · LOW

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

PR Review Velocity Impact 10.6/100 · LOW

Which changes need focused human review? 61 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 2HIGH 0MEDIUM 0LOW 59

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 61 distinct pattern matches across 4 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 Identifiers50 hits · 50 pts
SeverityFileLineSnippetContext
LOWdeploy/worker/workerCache.js35function responseHasCacheDirective(cacheControl, directive) {CODE
LOWfunctions/file/[[path]].js310function getChunkedFileCacheControl(context) {CODE
LOWfunctions/file/[[path]].js318async function handleTelegramChunkedFile(context, imgRecord, encodedFileName, fileType) {CODE
LOWfunctions/file/[[path]].js473async function fetchTelegramChunkWithRetry(botToken, chunk, proxyUrl = '', maxRetries = 3) {CODE
LOWfunctions/file/[[path]].js667async function fetchDiscordChunkWithRetry(botToken, channelId, chunk, proxyUrl, maxRetries = 3) {CODE
LOWfunctions/file/imageTransform.js81export function validateImageTransformRequest(request, imageTransform) {CODE
LOWfunctions/file/imageTransform.js101export function validateImageTransformSource(imageTransform, env, fileType, fileName) {CODE
LOWfunctions/file/imageTransform.js121export async function transformImageRequestViaUrl(context) {CODE
LOWfunctions/file/imageTransform.js246function hasConfiguredImageProcessor(env) {CODE
LOWfunctions/file/imageTransform.js255function hasConfiguredStreamImageProcessor(env) {CODE
LOWfunctions/file/imageTransform.js327function inferImageTypeFromFileName(fileName) {CODE
LOWfunctions/file/fileTools.js109function buildUpstreamFileRequestHeaders(requestHeaders) {CODE
LOWfunctions/file/fileTools.js190function unauthorizedAdminPreviewResponse() {CODE
LOWfunctions/utils/uploadFormat.js12export function normalizeUploadFormatConfig(raw) {CODE
LOWfunctions/utils/uploadFormat.js21export function validateUploadFormatConfig(raw) {CODE
LOWfunctions/utils/fileExpiryHelpers.js50export function normalizeFileExpiryConfig(raw = {}) {CODE
LOWfunctions/utils/indexManager.js177export async function batchRemoveFilesFromIndex(context, fileIds) {CODE
LOWfunctions/utils/indexManager.js1037function createUploadTrendAccumulator(files, options) {CODE
LOWfunctions/utils/indexManager.js1486function applyBatchRemoveOperation(index, data) {CODE
LOWfunctions/utils/auth/sessionManager.js151export async function destroySessionsByAuthType(env, authType) {CODE
LOWfunctions/utils/auth/sessionConfig.js11export function normalizeSessionMaxAgeDays(value) {CODE
LOWfunctions/utils/metadata/channelCredentials.js42export async function resolveTelegramCredentials(db, env, metadata = {}) {CODE
LOWfunctions/utils/metadata/channelCredentials.js63export async function resolveDiscordCredentials(db, env, metadata = {}) {CODE
LOWfunctions/utils/metadata/channelCredentials.js84export async function resolveHuggingFaceCredentials(db, env, metadata = {}) {CODE
LOWfunctions/utils/metadata/channelConfig.js103function findLegacyTelegramEnvChannel(channels, groupName, metadata = {}) {CODE
LOWfunctions/utils/metadata/channelConfig.js113function findChannelByPersistedIdentity(channels, groupName, metadata = {}) {CODE
LOWfunctions/utils/metadata/channelConfig.js171function normalizeBooleanIdentityValue(value) {CODE
LOWfunctions/utils/metadata/channelConfig.js177function normalizeUrlIdentityValue(value) {CODE
LOWfunctions/utils/metadata/metadataView.js12export async function createMetadataViewContext(db, env) {CODE
LOWfunctions/utils/metadata/metadataView.js21export async function buildFileMetadataForManagement(db, env, metadata = {}, viewContext = null) {CODE
LOWfunctions/utils/metadata/metadataView.js34export async function serializeFileRecordForManagement(db, env, file, viewContext = null) {CODE
LOWfunctions/utils/metadata/metadataView.js75function enrichHuggingFaceMetadata(context, sourceMetadata, view) {CODE
LOWfunctions/utils/metadata/metadataSecurity.js53export function stripConfigDerivedMetadata(metadata = {}) {CODE
LOWfunctions/utils/metadata/metadataSecurity.js75export function stripSensitiveMetadataInPlace(metadata = {}) {CODE
LOWfunctions/utils/metadata/metadataSecurity.js102export function stripConfigDerivedMetadataInPlace(metadata = {}) {CODE
LOWfunctions/utils/metadata/metadataSecurity.js116export function cleanPersistedMetadataInPlace(metadata = {}) {CODE
LOWfunctions/api/manage/_middleware.js50function extractRequiredPermission(pathname) {CODE
LOWfunctions/api/manage/batch/list.js52function isChunkedFileNeedingValue(metadata) {CODE
LOWfunctions/api/manage/batch/index/chunk.js67function calculateFallbackChecksum(data) {CODE
LOWfunctions/api/manage/sysConfig/security.js204function normalizeImageTransformAllowedSizes(value) {CODE
LOWfunctions/api/manage/sysConfig/security.js244function normalizeIpQueryResponseFields(fields) {CODE
LOWfunctions/dav/[[path]].js488function generateDirectoryListingHtml(basePath, contents) {CODE
LOWfunctions/upload/chunkUpload.js221async function uploadChunkToStorageWithTimeout(context, chunkIndex, totalChunks, uploadId, originalFileName, originalFilCODE
LOWfunctions/upload/chunkUpload.js582async function uploadSingleChunkToTelegram(context, chunkData, chunkIndex, totalChunks, uploadId, originalFileName, origCODE
LOWfunctions/upload/chunkUpload.js646async function uploadSingleChunkToDiscord(context, chunkData, chunkIndex, totalChunks, uploadId, originalFileName, origiCODE
LOWfunctions/upload/chunkUpload.js710async function uploadChunkToDiscordWithRetry(botToken, channelId, chunkBlob, chunkFileName, chunkIndex, totalChunks, maxCODE
LOWfunctions/upload/chunkUpload.js971export async function cleanupFailedMultipartUploads(context, uploadId, uploadChannel) {CODE
LOWfunctions/upload/chunkUpload.js1191export async function uploadLargeFileToTelegram(context, file, fullId, metadata, fileName, fileType, returnLink, tgBotToCODE
LOWfunctions/upload/chunkUpload.js1303async function uploadChunkToTelegramWithRetry(tgBotToken, tgChatId, tgProxyUrl, chunkBlob, chunkFileName, chunkIndex, toCODE
LOWfunctions/upload/huggingface/getUploadUrl.js140function rewriteMultipartCompletionUrl(requestUrl, uploadInfo) {CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALfrontend-dist/js/657.6c34e6db.js1(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[657],{3975:function(e,t,i){i(44114),i(1CODE
CRITICALfrontend-dist/js/77.299b40eb.js22class To{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,s,i){cCODE
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWfrontend-dist/js/604.5b7069c2.js1(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[604],{30604:function(e,t,i){"use strictCODE
LOWfrontend-dist/js/657.6c34e6db.js1(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[657],{3975:function(e,t,i){i(44114),i(1CODE
LOWfrontend-dist/js/77.299b40eb.js22class To{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,s,i){cCODE
LOWfrontend-dist/js/851.732f2b9d.js1"use strict";(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[851],{9728:function(e,t,i)CODE
LOWfrontend-dist/js/app.b6b1d908.js1(function(){"use strict";var e={457:function(e,a,t){var o=t(94373);const n=o.A.create({baseURL:"/",withCredentials:!0});CODE
LOWfrontend-dist/js/375.43b3c74e.js1(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[375],{213:function(e,t,o){"use strict";CODE
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdeploy/worker/wrangler.toml1# Cloudflare Workers 部署配置COMMENT
LOWdeploy/worker/wrangler.toml41# [[r2_buckets]]COMMENT
LOW.github/workflows/deploy-worker.yml21#COMMENT