AI Slop Code Risk Monitor

pastelsky/bundlephobia

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

🏋️ Find out the cost of adding a new frontend dependency to your project

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for pastelsky/bundlephobia, a TypeScript project with 9,617 GitHub stars. SynthScan examined 59,583 lines of code across 495 source files, recording 106 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 3.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.

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
9.6K
Stars
TypeScript
Language
59.6K
Lines of Code
495
Files
106
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 5.8/100 · LOW

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

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

PR Review Velocity Impact 13.7/100 · LOW

Which changes need focused human review? 106 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 35LOW 71

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 106 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.

Decorative Section Separators35 hits · 134 pts
SeverityFileLineSnippetContext
MEDIUMoperations/autorestart.sh6# ── Configuration ────────────────────────────────────────────────────────────COMMENT
MEDIUMoperations/autorestart.sh18# ── Logging ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMoperations/autorestart.sh26# ── Sanity checks ────────────────────────────────────────────────────────────COMMENT
MEDIUMoperations/autorestart.sh44# ── Check PM2 daemon is alive ─────────────────────────────────────────────────COMMENT
MEDIUMoperations/autorestart.sh53# ── Check each required service ───────────────────────────────────────────────COMMENT
MEDIUMoperations/autorestart.sh79# ── Targeted service recovery ─────────────────────────────────────────────────────COMMENT
MEDIUMoperations/autorestart.sh113# ── Main ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpages/trends/Trends.scss25// ─── Header ───────────────────────────────────────────────COMMENT
MEDIUMpages/trends/Trends.scss45// ─── Search & Chips ────────────────────────────────────────COMMENT
MEDIUMpages/trends/Trends.scss515// ─── Chart Area (Sharp Corners, Flat Borderless) ───────────COMMENT
MEDIUMpages/trends/Trends.scss534// ─── Chart Internals ──────────────────────────────────────COMMENT
MEDIUMpages/trends/Trends.scss1077// ─── Innovative Anime.js Monochrome Chart Loader ────────────COMMENT
MEDIUMclient/components/QuickStatsBar/QuickStatsBar.scss127// ── Icon dark mode overrides ──────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss30 // ── Logo & icons ─────────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss36 // ── Header nav links ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss39 // ── Autocomplete / search input ──────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss52 // ── Quick stats bar ──────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss57 // ── Announcement banner ──────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss62 // ── Warning bar ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss66 // ── Blog ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss73 // ── Footer ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss83 // ── Cards & shadows ──────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss88 // ── Primary button (dark pill / filled) ──────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss94 // ── Scan page ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss98 // ── Stat / tooltip ───────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss108 // ── JumpingDots ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss111 // ── ScanResults fade gradient ─────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss115 // ── Treemap (text overlaid on coloured squares) ───────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss122 // ── Result page ───────────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss127 // ── History bar graph ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss135 // ── Icon secondary colour (C8CDD3 — gray parts of icons) ─────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss138 // ── General purpose surface & faint tokens ────────────────────────────────COMMENT
MEDIUM⚡stylesheets/semantics.scss145// ─── Dark mode overrides ─────────────────────────────────────────────────────COMMENT
MEDIUMstylesheets/semantics.scss1// ─── Semantic colour tokens ───────────────────────────────────────────────────COMMENT
MEDIUMstylesheets/theme.scss1// ─── Primitive colour tokens ─────────────────────────────────────────────────COMMENT
Hyper-Verbose Identifiers66 hits · 66 pts
SeverityFileLineSnippetContext
LOWtools/oxlint/anti-slop/shared/function-parameters.ts13export function functionParameterTypeAnnotation(CODE
LOWtools/oxlint/anti-slop/shared/function-parameters.ts29export function functionParameterBindingName(CODE
LOWtools/oxlint/anti-slop/shared/reflect-method.ts13export function isGlobalReflectMethodCall(CODE
LOWtools/oxlint/anti-slop/shared/dictionary-types.ts128function isEffectivelyEmptyTypeLiteral(type: ESTree.TSTypeLiteral): boolean {CODE
LOWtools/oxlint/anti-slop/shared/dictionary-types.ts132function isEffectivelyEmptyInterface(CODE
LOWtools/oxlint/anti-slop/shared/dictionary-types.ts144function resolvedSubstitutionArgument(CODE
LOWtools/oxlint/anti-slop/shared/dictionary-types.ts296export function classifyUnsafeDictionaryValue(CODE
LOWtools/oxlint/anti-slop/shared/dictionary-types.ts480export function isPopulatedObjectExpression(expression: ESTree.Expression): boolean {CODE
LOWtools/oxlint/anti-slop/shared/dictionary-types.ts493export function isKnownEvidenceExpression(expression: ESTree.Expression): boolean {CODE
LOWtools/oxlint/anti-slop/shared/type-alias-resolution.ts117export function createTypeAliasEnvironment(CODE
LOW…ols/oxlint/anti-slop/shared/lexical-type-parameters.ts14function collectInferTypeParameterNames(CODE
LOW…ols/oxlint/anti-slop/shared/lexical-type-parameters.ts35export function lexicalTypeParameterNames(CODE
LOWtools/oxlint/anti-slop/rules/no-widen-then-assert.ts18function unwrapExpressionParentheses(expression: ESTree.Expression): ESTree.Expression {CODE
LOWtools/oxlint/anti-slop/rules/no-widen-then-assert.ts143function isDefinitelyNarrowerRecordType(type: ESTree.TSType): boolean {CODE
LOWtools/oxlint/anti-slop/rules/no-widen-then-assert.ts171function resolvedVariableForIdentifier(CODE
LOW…s/oxlint/anti-slop/rules/no-chained-type-assertions.ts6function isTypeAssertionExpression(node: ESTree.Node): node is TypeAssertionExpression {CODE
LOW…s/oxlint/anti-slop/rules/no-chained-type-assertions.ts10function unwrapParenthesizedExpression(expression: ESTree.Expression): ESTree.Expression {CODE
LOW…s/oxlint/anti-slop/rules/no-chained-type-assertions.ts27function isOutermostAssertionInChain(node: TypeAssertionExpression): boolean {CODE
LOW…s/oxlint/anti-slop/rules/no-chained-type-assertions.ts39function isForbiddenAssertionChain(node: TypeAssertionExpression): boolean {CODE
LOWtools/oxlint/anti-slop/rules/no-known-value-widening.ts138function hasKnownCallArgumentEvidence(CODE
LOWtools/oxlint/anti-slop/rules/no-known-value-widening.ts192function typePredicateSubjectIndex(CODE
LOWtools/oxlint/anti-slop/rules/no-known-value-widening.ts253function isDictionaryAccumulatorTarget(destination: WideningTarget): boolean {CODE
LOW…/anti-slop/rules/no-conditional-empty-object-spread.ts16function isConditionalEmptyObjectSpread(node: ESTree.Expression): boolean {CODE
LOW…ls/oxlint/anti-slop/rules/no-unsafe-dictionary-type.ts61function isInsideTypeAliasDeclaration(node: ESTree.Node): boolean {CODE
LOW…ls/oxlint/anti-slop/rules/no-unsafe-dictionary-type.ts80function isInsideTypeParameterConstraint(node: ESTree.TSType): boolean {CODE
LOW…lop/rules/require-safety-comment-for-type-assertion.ts47function hasSafetyJustificationBefore(CODE
LOW…ols/oxlint/anti-slop/rules/no-shape-in-symbol-names.ts6function containsForbiddenSymbolName(name: string): boolean {CODE
LOWinstallation-service/resolveRegistryPackageSpec.ts14export async function resolveRegistryPackageSpec(CODE
LOWinstallation-service/index.ts44async function installPackageWithVersion(CODE
LOWbin/updateHistoricalData.ts62async function getGithubTrendingPackages() {CODE
LOWbin/getResults.ts36async function getFirebaseStoreFromNetwork() {CODE
LOWserver/clients/npm-registry.client.ts34export function fetchPackageVersionManifest(CODE
LOWserver/clients/github.client.ts72export async function fetchGithubStarHistoryPage(CODE
LOWserver/analysis/metrics.ts41function recordSuccessfulCacheResponse(request: AnalysisRequest) {CODE
LOWserver/middlewares/request-logger.middleware.ts54export function createRequestLoggerMiddleware(CODE
LOWserver/middlewares/generate-image.middleware.ts89export function createGenerateImgMiddleware(CODE
LOWserver/middlewares/analysis-context.middleware.ts6export function createAnalysisContextMiddleware(CODE
LOWserver/middlewares/exports-sizes.middleware.ts20export function createExportSizesMiddleware(CODE
LOW…rver/middlewares/results/resolve-package.middleware.ts60export function createResolvePackageMiddleware(CODE
LOWserver/packages/npm-package.ts24export function parseNpmRegistryPackageSpec(CODE
LOWserver/controllers/package-history.controller.ts28function getPackageHistoryDateError(CODE
LOWserver/controllers/package-history.controller.ts45export function createPackageHistoryController(CODE
LOWserver/controllers/recent-searches.controller.ts7export function createRecentSearchesController(): Middleware {CODE
LOWutils/firebase.utils.ts35async function readPackageHistoryWithFallback(CODE
LOWutils/firebase.utils.ts62function selectPackageHistoryVersions(CODE
LOWutils/common.utils.ts60function normalizeParsedPackageUrl(url: URL, original: string): string {CODE
LOWlanguages/package-route.ts60export function getExplicitPackagePagePath(CODE
LOWlanguages/javascript.ts11export function parseJavaScriptPackageSpecifier(CODE
LOWlanguages/javascript.ts43export function formatJavaScriptPackageSpecifier(CODE
LOWlanguages/javascript.ts51export function createJavaScriptPackageReference(CODE
LOWbuild-service/installationProvider.ts92export function createInstallationProvider(endpoint: string) {CODE
LOW__tests__/haproxy-rate-limits.py112 def test_response_cache_policy_covers_private_paths_and_temporary_errors(self):CODE
LOW__tests__/haproxy-rate-limits.py137 def test_families_share_across_ips_but_do_not_penalize_each_other(self):CODE
LOW__tests__/haproxy-rate-limits.py152 def test_cooldown_escalates_and_expires_for_bots_and_ordinary_clients(self):CODE
LOW__tests__/haproxy-rate-limits.py191 def test_extreme_retries_follow_ip_across_agents_and_routes_until_expiry(self):CODE
LOW__tests__/haproxy-rate-limits.py239 def test_successes_and_other_errors_do_not_trigger_extended_cooldown(self):CODE
LOW__tests__/haproxy-rate-limits.py251 def test_api_and_page_limits_share_pools_but_keep_family_cooldowns(self):CODE
LOW__tests__/haproxy-rate-limits.py287 def test_public_preflights_do_not_spend_budgets_or_bypass_get_cooldowns(self):CODE
LOW__tests__/haproxy-rate-limits.py322 def test_unmapped_crawlers_share_limits_and_cooldowns_across_ips(self):CODE
LOWscripts/cleanup-old-keys.ts252async function uploadPrunedDataToFirebase(filePath: string) {CODE
6 more matches not shown…
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOW__tests__/stress-test.sh41(curl localhost:5000/api/size?package=mobx-react && echo '\n') &COMMENT
LOW__tests__/stress-test.sh61#sleep 5COMMENT
LOW.github/workflows/library-research.lock.yml1# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"fcdbeace79a24f3211cfefef4cd0cb140713eeb1d36ad505b14339a8fcbCOMMENT
LOW.github/workflows/library-research.lock.yml21# gh aw compileCOMMENT
LOW.github/workflows/library-research.lock.yml41# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 (source v9)COMMENT