AI Slop Code RIsk Monitor

BigBodyCobain/Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to all but rarely aggregated in the open, until now.

33.1 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for BigBodyCobain/Shadowbroker, a Python project with 11,297 GitHub stars. SynthScan examined 373,985 lines of code across 1103 source files, recording 8461 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 33.1 (High 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.

33.1
Adjusted Signal
33.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
11.3K
Stars
Python
Language
374.0K
Lines of Code
1.1K
Files
8.5K
Pattern Hits
2026-10-12
Scan Date
0.26
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 46.8/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 9.9/100 · LOW

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

Agent Over-Engineering Ratio 77.8/100 · CRITICAL

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

PR Review Velocity Impact 82.0/100 · CRITICAL

Which changes need focused human review? 8461 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 287MEDIUM 1456LOW 6718

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 8461 distinct pattern matches across 20 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 Separators1346 hits · 4481 pts
SeverityFileLineSnippetContext
MEDIUM.gitlab-ci.yml66# ── Backend image ────────────────────────────────────────────────────────COMMENT
MEDIUM.gitlab-ci.yml87# ── Frontend image ───────────────────────────────────────────────────────COMMENT
MEDIUM.gitlab-ci.yml108# ── Reverse mirror to GitHub ─────────────────────────────────────────────COMMENT
MEDIUMstart.sh67# ── Zombie cleanup ─────────────────────────────────────────────────COMMENT
MEDIUMstart.sh97# ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMkill_wormhole.sh2# ============================================================COMMENT
MEDIUMkill_wormhole.sh5# ============================================================COMMENT
MEDIUM⚡frontend/src/mesh/infonetEconomyClient.ts501// ─── Additional payload builders (write-action wiring phase) ─────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts38// ─── Status ──────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts71// ─── Petitions ───────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts116// ─── Event payload validation ────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts132// ─── Upgrades ────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts157// ─── Markets ─────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts218// ─── Gates ───────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts262// ─── Reputation ──────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts285// ─── Bootstrap ───────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts309// ─── Signed write: append an Infonet economy event ───────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts445// ─── End-to-end sign + append helper ────────────────────────────────────COMMENT
MEDIUMfrontend/src/mesh/infonetEconomyClient.ts738// ─── Upgrade-hash governance — propose / signal-ready ──────────────────COMMENT
MEDIUMfrontend/src/mesh/meshIdentity.ts971// ─── DH Key Exchange (X25519 / ECDH P-256 fallback) ─────────────────────COMMENT
MEDIUMfrontend/src/mesh/meshIdentity.ts1328// ─── Contact Management (storage) ──────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts1// ─── ShadowBroker Dashboard Data Types ─────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts5// ─── FLIGHTS ────────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts87// ─── SHIPS / MARITIME ───────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts145// ─── SATELLITES ─────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts211// ─── EARTHQUAKES ────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts222// ─── GPS JAMMING ────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts233// ─── FIRE HOTSPOTS (NASA FIRMS) ─────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts246// ─── TRAINS ────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts265// ─── CCTV CAMERAS ───────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts277// ─── KIWISDR RECEIVERS ─────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts291// ─── PSK REPORTER SPOTS ─────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts304// ─── SATNOGS GROUND STATIONS ────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts334// ─── TINYGS LORA SATELLITES ─────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts350// ─── POLICE SCANNERS (OpenMHZ) ──────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts363// ─── SIGINT (APRS / Meshtastic / JS8Call) ───────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts402// ─── INTERNET OUTAGES (IODA) ────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts416// ─── DATA CENTERS ───────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts500// ─── UAP SIGHTINGS ─────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts518// ─── WASTEWATER SCAN ────────────────────────────────��─────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts560// ─── CORRELATION ALERTS ────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts562// ─── CROWDTHREAT ───────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts615// ─── NEWS / GLOBAL INCIDENTS ────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts651// ─── UKRAINE FRONTLINE ──────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts668// ─── GDELT INCIDENTS ────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts696// ─── LIVEUAMAP ──────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts713// ─── STOCKS & COMMODITIES ───────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts724// ─── SPACE WEATHER ──────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts739// ─── WEATHER (RAINVIEWER) ───────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts746// ─── AIRPORTS ───────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts757// ─── RADIO FEEDS ────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts768// ─── ROUTE ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts777// ─── REGION DOSSIER ─────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts789// ─── FRESHNESS METADATA ─────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts793// ─── FIMI DISINFORMATION ────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts819// ─── ROOT DATA OBJECT ───────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts1195// ─── SAR ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/types/dashboard.ts1252// ─── COMPONENT PROPS ────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/components/PredictionsPanel.tsx29// ─── Types ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMfrontend/src/components/PredictionsPanel.tsx103// ─── Helpers ─────────────────────────────────────────────────────────────────COMMENT
1286 more matches not shown…
Hyper-Verbose Identifiers4363 hits · 4346 pts
SeverityFileLineSnippetContext
LOW⚡frontend/src/mesh/infonetEconomyClient.ts503export function buildChallengeVotePayload(CODE
LOW⚡frontend/src/mesh/infonetEconomyClient.ts513export function buildResolutionStakePayload(CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts305export function fetchBootstrapMarketState(marketId: string): Promise<BootstrapMarketState> {CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts407export function buildChallengeFilePayload(CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts417export function buildGateSuspendFilePayload(CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts434export function buildBootstrapResolutionVotePayload(CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts548export function buildGateShutdownFilePayload(CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts565export function buildGateShutdownAppealFilePayload(CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts694export async function buildEvidenceSubmitPayload(args: {CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts740export function buildUpgradeProposePayload(args: {CODE
LOWfrontend/src/mesh/infonetEconomyClient.ts761export function buildUpgradeSignalReadyPayload(CODE
LOWfrontend/src/mesh/gateCompatTelemetry.ts74function compatTelemetryStorageSelection(): {CODE
LOWfrontend/src/mesh/gateCompatTelemetry.ts123export function normalizeGateCompatReason(reason: string): string {CODE
LOWfrontend/src/mesh/gateCompatTelemetry.ts210export function getGateCompatTelemetryEventName(): string {CODE
LOWfrontend/src/mesh/gateCompatTelemetry.ts223export function getGateCompatTelemetrySnapshot(): GateCompatTelemetrySnapshot {CODE
LOWfrontend/src/mesh/gateCompatTelemetry.ts289export function summarizeGateCompatTelemetry(CODE
LOWfrontend/src/mesh/gateCompatTelemetry.ts310export function recordGateCompatTelemetry(input: {CODE
LOW⚡frontend/src/mesh/controlPlaneStatusClient.ts185export function invalidatePrivacyProfileCache(): void {CODE
LOW⚡frontend/src/mesh/controlPlaneStatusClient.ts193export function invalidateInfonetNodeStatusCache(): void {CODE
LOW⚡frontend/src/mesh/controlPlaneStatusClient.ts197export async function fetchPrivacyProfileSnapshot(CODE
LOWfrontend/src/mesh/controlPlaneStatusClient.ts221export async function fetchInfonetNodeStatusSnapshot(CODE
LOWfrontend/src/mesh/controlPlaneStatusClient.ts234export async function fetchNodeSettingsSnapshot(): Promise<NodeSettingsSnapshot> {CODE
LOWfrontend/src/mesh/controlPlaneStatusClient.ts292export async function ensureInfonetParticipantNodeReady(): Promise<void> {CODE
LOWfrontend/src/mesh/meshGateLocalRuntime.ts270export async function isInlineGateCryptoSupported(): Promise<boolean> {CODE
LOWfrontend/src/mesh/meshGateLocalRuntime.ts275export async function probeInlineGateCryptoSupport(): Promise<InlineGateCryptoSupport> {CODE
LOWfrontend/src/mesh/meshGateLocalRuntime.ts333export async function decryptInlineGateMessages(CODE
LOWfrontend/src/mesh/contactTrustSummary.ts25function normalizeExistingTrustSummary(CODE
LOWfrontend/src/mesh/contactTrustSummary.ts120function deriveRootWitnessProvenanceState(args: {CODE
LOWfrontend/src/mesh/contactTrustSummary.ts159export function rootWitnessContinuityLabel(CODE
LOW⚡frontend/src/mesh/gateAccessProof.ts28function gateAccessProofExtendedMaxAgeMs(): number {CODE
LOW⚡frontend/src/mesh/gateAccessProof.ts34function gateAccessHeaderReusableUntilMs(entry: {CODE
LOW⚡frontend/src/mesh/gateAccessProof.ts44export function pruneExpiredGateAccessHeaders(now: number = Date.now()): void {CODE
LOW⚡frontend/src/mesh/gateAccessProof.ts52export function invalidateGateAccessHeaders(gateId?: string): void {CODE
LOWfrontend/src/mesh/gateCatalogSnapshot.ts54export function invalidateGateCatalogSnapshot(): void {CODE
LOWfrontend/src/mesh/gateCatalogSnapshot.ts58export function invalidateGateDetailSnapshot(gateId?: string): void {CODE
LOWfrontend/src/mesh/wormholeClient.ts151export function invalidateWormholeRuntimeCache(): void {CODE
LOWfrontend/src/mesh/wormholeClient.ts232export async function updatePrivateDeliveryAction(CODE
LOWfrontend/src/mesh/meshDmRatchet.ts139async function getOrCreateWrapKey(): Promise<CryptoKey> {CODE
LOWfrontend/src/mesh/meshDmRatchet.ts188async function readPersistedRatchetState(): Promise<string | null> {CODE
LOWfrontend/src/mesh/meshDmRatchet.ts203async function writePersistedRatchetState(value: string): Promise<void> {CODE
LOWfrontend/src/mesh/meshDeadDrop.ts63export async function deadDropTokensForContacts(CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts541function gateKeyStatusActiveRoomTtlMs(): number {CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts547function gateKeyStatusSessionStreamTtlMs(): number {CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts553function gateKeyStatusReusableUntilMs(CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts587function normalizeGateCompatReason(reason: string): string {CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts591function gateLocalRuntimeRequiredDetail(reason: string): string {CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts595function recordGateLocalRuntimeRequired(CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts1115export function getWormholeDmInviteImportErrorResult(CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts1124export async function fetchWormholeDmRootHealth(): Promise<WormholeDmRootHealth> {CODE
LOW⚡frontend/src/mesh/wormholeIdentityClient.ts1130export async function bootstrapWormholeIdentity(): Promise<WormholeIdentity> {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts63export function isWormholePrepAbortedError(error: unknown): boolean {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts68export function abortWormholeInteractivePrep(): void {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts571function isGateSessionStreamActiveForGate(gateId: string): boolean {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts608function buildGateLocalRuntimeRequiredError(CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts617function gateCompatApprovalStorage(): Storage | null {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts639function ensureGateCompatApprovalsLoaded(): void {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts663function persistGateCompatApprovals(): void {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts681function hasApprovedGateCompatFallback(gateId: string): boolean {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts687export function approveGateCompatFallback(gateId: string): void {CODE
LOWfrontend/src/mesh/wormholeIdentityClient.ts708export function hasGateCompatFallbackApproval(gateId: string): boolean {CODE
4303 more matches not shown…
Empty Error Handlers247 hits · 1190 pts
SeverityFileLineSnippetContext
HIGHbackend/auth.py584except Exception:CODE
HIGHbackend/main.py1333except Exception:CODE
HIGHbackend/main.py1591except Exception:CODE
HIGHbackend/main.py2714except Exception:CODE
HIGHbackend/main.py2919except Exception:CODE
HIGHbackend/main.py2925except Exception:CODE
HIGHbackend/main.py3003except Exception:CODE
HIGHbackend/main.py4807except Exception:CODE
HIGHbackend/main.py4863except Exception:CODE
HIGHbackend/main.py5020except Exception:CODE
HIGHbackend/main.py6470except Exception:CODE
HIGHbackend/main.py6786except Exception:CODE
HIGHbackend/main.py7289except Exception:CODE
HIGHbackend/main.py7401except Exception:CODE
HIGHbackend/main.py7501except Exception:CODE
HIGHbackend/main.py7560except Exception:CODE
HIGHbackend/main.py8044except Exception:CODE
HIGHbackend/main.py8079except Exception:CODE
HIGHbackend/main.py8092except Exception:CODE
HIGHbackend/main.py9768except Exception:CODE
HIGHbackend/main.py9933except Exception:CODE
HIGHbackend/main.py1707except Exception:CODE
HIGHbackend/main.py1754except Exception:CODE
HIGHbackend/main.py2908except Exception:CODE
HIGHbackend/main.py2915except Exception:CODE
HIGHbackend/main.py3809except Exception:CODE
HIGHbackend/main.py4485except Exception:CODE
HIGHbackend/main.py4592except Exception:CODE
HIGHbackend/main.py4831except Exception:CODE
HIGHbackend/main.py5150except Exception:CODE
HIGHbackend/main.py5555except Exception:CODE
HIGHbackend/main.py5782except (ValueError, TypeError):CODE
HIGHbackend/main.py5825except (ValueError, TypeError):CODE
HIGHbackend/main.py5959except (ValueError, TypeError):CODE
HIGHbackend/main.py6538except Exception:CODE
HIGHbackend/main.py6809except Exception:CODE
HIGHbackend/main.py7195except Exception:CODE
HIGHbackend/main.py3284except Exception:CODE
HIGHbackend/main.py2798except Exception:CODE
HIGHbackend/routers/mesh_public.py1095except Exception:CODE
HIGHbackend/routers/mesh_public.py1151except Exception:CODE
HIGHbackend/routers/mesh_public.py1308except Exception:CODE
HIGHbackend/routers/mesh_public.py587except Exception:CODE
HIGHbackend/routers/mesh_public.py665except Exception:CODE
HIGHbackend/routers/mesh_public.py766except Exception:CODE
HIGHbackend/routers/mesh_public.py880except Exception:CODE
HIGHbackend/routers/mesh_public.py1119except Exception:CODE
HIGHbackend/routers/mesh_public.py1438except Exception:CODE
HIGHbackend/routers/mesh_public.py1597except Exception:CODE
HIGHbackend/routers/mesh_public.py2267except asyncio.CancelledError:CODE
HIGHbackend/routers/mesh_public.py398except Exception:CODE
HIGHbackend/routers/mesh_peer_sync.py53except Exception:CODE
HIGHbackend/routers/mesh_peer_sync.py78except (ValueError, TypeError):CODE
HIGHbackend/routers/mesh_peer_sync.py128except (ValueError, TypeError):CODE
HIGHbackend/routers/mesh_peer_sync.py171except (ValueError, TypeError):CODE
HIGHbackend/routers/mesh_peer_sync.py285except (ValueError, TypeError):CODE
HIGHbackend/routers/mesh_dm.py263except Exception:CODE
HIGHbackend/routers/mesh_dm.py439except Exception:CODE
HIGHbackend/routers/mesh_dm.py473except Exception:CODE
HIGHbackend/routers/mesh_dm.py486except Exception:CODE
187 more matches not shown…
Excessive Try-Catch Wrapping1077 hits · 910 pts
SeverityFileLineSnippetContext
MEDIUMbackend/auth.py62def _current_admin_key() -> str:CODE
MEDIUMbackend/auth.py69def _allow_insecure_admin() -> bool:CODE
MEDIUMbackend/auth.py79def _debug_mode_enabled() -> bool:CODE
MEDIUMbackend/auth.py86def _admin_key_required_in_production() -> bool:CODE
MEDIUMbackend/auth.py1025def _external_assurance_status_snapshot() -> dict[str, Any]:CODE
MEDIUMbackend/auth.py1364def _anonymous_mode_state() -> dict[str, Any]:CODE
LOW⚡backend/auth.py65 except Exception:CODE
LOW⚡backend/auth.py75 except Exception:CODE
LOW⚡backend/auth.py82 except Exception:CODE
LOW⚡backend/auth.py90 except Exception:CODE
LOW⚡backend/auth.py100 except Exception as exc:CODE
LOW⚡backend/auth.py562 except Exception:CODE
LOW⚡backend/auth.py584 except Exception:CODE
LOW⚡backend/auth.py587 except Exception as exc:CODE
LOW⚡backend/auth.py1288 except Exception:CODE
LOW⚡backend/auth.py1389 except Exception:CODE
LOWbackend/auth.py379 except Exception:CODE
LOWbackend/auth.py535 except Exception:CODE
LOWbackend/auth.py603 except Exception:CODE
LOWbackend/auth.py644 except Exception:CODE
LOWbackend/auth.py1067 except Exception as exc:CODE
LOWbackend/auth.py1087 except Exception as exc:CODE
LOWbackend/auth.py1135 except Exception:CODE
LOWbackend/auth.py1138 except Exception:CODE
LOWbackend/auth.py1214 except Exception:CODE
LOWbackend/wormhole_server.py48 except Exception as exc:CODE
LOWbackend/wormhole_server.py109 except Exception:CODE
LOWbackend/node_state.py87 except Exception:CODE
LOWbackend/node_state.py183 except Exception:CODE
LOWbackend/node_state.py252 except Exception as exc:CODE
MEDIUMbackend/main.py436def _privacy_core_status() -> dict[str, Any]:CODE
MEDIUMbackend/main.py1574def _swarm_bootstrap_after_transport_ready() -> None:CODE
MEDIUMbackend/main.py2723def _safe_int(val, default=0):CODE
MEDIUMbackend/main.py2809def _startup_wormhole_runtime():CODE
MEDIUMbackend/main.py2838def _prime_route_database():CODE
MEDIUMbackend/main.py2850def _prime_aircraft_database():CODE
MEDIUMbackend/main.py3525def _blocking_upgrade() -> str | None:CODE
MEDIUMbackend/main.py3642def _upgrade_invite_scoped_contact_preferences_background() -> dict[str, Any]:CODE
MEDIUMbackend/main.py3883def _do_refresh():CODE
MEDIUMbackend/main.py6883def _rns_private_dm_ready() -> bool:CODE
MEDIUMbackend/main.py6909def _high_privacy_profile_enabled() -> bool:CODE
LOW⚡backend/main.py53 except Exception:CODE
LOW⚡backend/main.py376 except Exception as exc:CODE
LOW⚡backend/main.py1580 except Exception:CODE
LOW⚡backend/main.py1591 except Exception:CODE
LOW⚡backend/main.py2241 except Exception as exc:CODE
LOW⚡backend/main.py2244 except Exception:CODE
LOW⚡backend/main.py2259 except Exception:CODE
LOW⚡backend/main.py2511 except Exception:CODE
LOW⚡backend/main.py2798 except Exception:CODE
LOW⚡backend/main.py2801 except Exception:CODE
LOW⚡backend/main.py2908 except Exception:CODE
LOW⚡backend/main.py2915 except Exception:CODE
LOW⚡backend/main.py2919 except Exception:CODE
LOW⚡backend/main.py2925 except Exception:CODE
LOW⚡backend/main.py3547 except Exception:CODE
LOW⚡backend/main.py3601 except Exception:CODE
LOW⚡backend/main.py3648 except Exception as exc:CODE
LOW⚡backend/main.py3659 except Exception as exc:CODE
LOW⚡backend/main.py3803 except Exception:CODE
1017 more matches not shown…
Unused Imports775 hits · 695 pts
SeverityFileLineSnippetContext
LOWbackend/auth.py45CODE
LOWbackend/auth.py45CODE
LOWbackend/auth.py45CODE
LOWbackend/auth.py45CODE
LOWbackend/wormhole_server.py3CODE
LOWbackend/main.py252CODE
LOWbackend/main.py252CODE
LOWbackend/main.py290CODE
LOWbackend/main.py324CODE
LOWbackend/main.py324CODE
LOWbackend/main.py9251CODE
LOWbackend/main.py9339CODE
LOWbackend/main.py9360CODE
LOWbackend/limiter.py29CODE
LOWbackend/routers/mesh_public.py45CODE
LOWbackend/routers/mesh_public.py54CODE
LOWbackend/routers/mesh_public.py55CODE
LOWbackend/routers/cctv.py6CODE
LOWbackend/routers/cctv.py8CODE
LOWbackend/routers/osint.py2CODE
LOWbackend/routers/mesh_peer_sync.py5CODE
LOWbackend/routers/mesh_peer_sync.py6CODE
LOWbackend/routers/mesh_peer_sync.py8CODE
LOWbackend/routers/mesh_peer_sync.py8CODE
LOWbackend/routers/mesh_peer_sync.py9CODE
LOWbackend/routers/mesh_peer_sync.py10CODE
LOWbackend/routers/mesh_peer_sync.py11CODE
LOWbackend/routers/health.py3CODE
LOWbackend/routers/health.py4CODE
LOWbackend/routers/intel_feeds.py2CODE
LOWbackend/routers/tools.py4CODE
LOWbackend/routers/tools.py9CODE
LOWbackend/routers/mesh_dm.py2CODE
LOWbackend/routers/mesh_dm.py3CODE
LOWbackend/routers/mesh_dm.py12CODE
LOWbackend/routers/mesh_dm.py19CODE
LOWbackend/routers/mesh_dm.py20CODE
LOWbackend/routers/mesh_dm.py20CODE
LOWbackend/routers/entity_graph.py2CODE
LOWbackend/routers/infonet.py18CODE
LOWbackend/routers/infonet.py28CODE
LOWbackend/routers/sigint.py2CODE
LOWbackend/routers/sigint.py3CODE
LOWbackend/routers/sigint.py5CODE
LOWbackend/routers/radio.py2CODE
LOWbackend/routers/radio.py3CODE
LOWbackend/routers/radio.py5CODE
LOWbackend/routers/mesh_operator.py3CODE
LOWbackend/routers/mesh_operator.py4CODE
LOWbackend/routers/mesh_operator.py5CODE
LOWbackend/routers/mesh_operator.py7CODE
LOWbackend/routers/analytics.py3CODE
LOWbackend/routers/scm.py2CODE
LOWbackend/routers/mesh_oracle.py3CODE
LOWbackend/routers/mesh_oracle.py3CODE
LOWbackend/routers/mesh_oracle.py4CODE
LOWbackend/routers/mesh_oracle.py5CODE
LOWbackend/routers/mesh_oracle.py7CODE
LOWbackend/routers/wormhole.py4CODE
LOWbackend/routers/wormhole.py8CODE
715 more matches not shown…
Modern Structural Boilerplate193 hits · 195 pts
SeverityFileLineSnippetContext
LOW⚡backend/auth.py55logger = logging.getLogger(__name__)CODE
LOW⚡backend/node_state.py58def set_sync_state(state: SyncWorkerState) -> None:CODE
LOWbackend/main.py21logger = logging.getLogger(__name__)CODE
LOWbackend/routers/mesh_public.py65logger = logging.getLogger(__name__)CODE
LOWbackend/routers/cctv.py10logger = logging.getLogger(__name__)CODE
LOWbackend/routers/mesh_peer_sync.py14logger = logging.getLogger(__name__)CODE
LOWbackend/routers/intel_feeds.py19logger = logging.getLogger(__name__)CODE
LOWbackend/routers/tools.py11logger = logging.getLogger(__name__)CODE
LOW⚡backend/routers/mesh_dm.py34logger = logging.getLogger(__name__)CODE
LOWbackend/routers/infonet.py598__all__ = ["router"]CODE
LOWbackend/routers/admin.py18logger = logging.getLogger(__name__)CODE
LOW⚡backend/routers/ai_intel.py27logger = logging.getLogger(__name__)CODE
LOWbackend/routers/mesh_operator.py9logger = logging.getLogger(__name__)CODE
LOWbackend/routers/analytics.py34logger = logging.getLogger(__name__)CODE
LOWbackend/routers/wormhole.py157logger = logging.getLogger(__name__)CODE
LOWbackend/routers/data.py18logger = logging.getLogger(__name__)CODE
LOW⚡backend/routers/agent_shell.py30logger = logging.getLogger(__name__)CODE
LOW⚡backend/routers/agent_shell.py38def _set_winsize(fd: int, rows: int, cols: int) -> None:CODE
LOW…ckend/tests/mesh/test_signed_write_transport_matrix.py65def _set_transport_tier(monkeypatch: pytest.MonkeyPatch, tier: str) -> None:CODE
LOW⚡backend/services/openclaw_channel.py29logger = logging.getLogger(__name__)CODE
LOWbackend/services/unusual_whales_connector.py24logger = logging.getLogger(__name__)CODE
LOWbackend/services/ais_stream.py14logger = logging.getLogger(__name__)CODE
LOWbackend/services/openclaw_infonet.py21logger = logging.getLogger(__name__)CODE
LOWbackend/services/satnogs_fetcher.py11logger = logging.getLogger(__name__)CODE
LOWbackend/services/openclaw_watchdog.py20logger = logging.getLogger(__name__)CODE
LOWbackend/services/privacy_core_attestation.py18logger = logging.getLogger(__name__)CODE
LOWbackend/services/liveuamap_settings.py19logger = logging.getLogger(__name__)CODE
LOWbackend/services/liveuamap_settings.py63def set_liveuamap_ui_opt_in(opted_in: bool) -> None:CODE
LOWbackend/services/cctv_pipeline.py12logger = logging.getLogger(__name__)CODE
LOWbackend/services/region_dossier.py9logger = logging.getLogger(__name__)CODE
LOW⚡backend/services/tinygs_fetcher.py29logger = logging.getLogger(__name__)CODE
LOWbackend/services/privacy_core_client.py28logger = logging.getLogger(__name__)CODE
LOWbackend/services/transport_lane_isolation.py6logger = logging.getLogger(__name__)CODE
LOW⚡backend/services/ai_pin_store.py21logger = logging.getLogger(__name__)CODE
LOWbackend/services/thermal_sentinel.py18logger = logging.getLogger(__name__)CODE
LOW⚡backend/services/carrier_tracker.py68logger = logging.getLogger(__name__)CODE
LOWbackend/services/carrier_tracker.py601def update_carrier_positions() -> None:CODE
LOW⚡backend/services/ai_intel_store.py31logger = logging.getLogger(__name__)CODE
LOWbackend/services/layer_enable_refresh.py11logger = logging.getLogger(__name__)CODE
LOWbackend/services/updater.py26logger = logging.getLogger(__name__)CODE
LOWbackend/services/kiwisdr_fetcher.py29logger = logging.getLogger(__name__)CODE
LOWbackend/services/liveuamap_scraper.py35logger = logging.getLogger(__name__)CODE
LOWbackend/services/openclaw_bridge.py20logger = logging.getLogger(__name__)CODE
LOW⚡backend/services/feed_ingester.py21logger = logging.getLogger(__name__)CODE
LOWbackend/services/fetch_health.py10logger = logging.getLogger(__name__)CODE
LOWbackend/services/oracle_service.py12logger = logging.getLogger(__name__)CODE
LOWbackend/services/radio_intercept.py10logger = logging.getLogger(__name__)CODE
LOWbackend/services/shodan_connector.py20logger = logging.getLogger(__name__)CODE
LOWbackend/services/geopolitics.py19logger = logging.getLogger(__name__)CODE
LOWbackend/services/sentinel_search.py16logger = logging.getLogger(__name__)CODE
LOWbackend/services/correlation_engine.py20logger = logging.getLogger(__name__)CODE
LOWbackend/services/analysis_zone_store.py20logger = logging.getLogger(__name__)CODE
LOWbackend/services/prediction_markets_settings.py12logger = logging.getLogger(__name__)CODE
LOW⚡backend/services/prediction_markets_settings.py33def set_prediction_markets_ui_opt_in(opted_in: bool) -> None:CODE
LOWbackend/services/env_check.py32logger = logging.getLogger(__name__)CODE
LOWbackend/services/agent_shell_settings.py12logger = logging.getLogger(__name__)CODE
LOWbackend/services/data_fetcher.py111logger = logging.getLogger(__name__)CODE
LOWbackend/services/tor_hidden_service.py20logger = logging.getLogger(__name__)CODE
LOWbackend/services/psk_reporter_fetcher.py14logger = logging.getLogger(__name__)CODE
LOWbackend/services/telegram_translate.py14logger = logging.getLogger(__name__)CODE
133 more matches not shown…
Deep Nesting251 hits · 182 pts
SeverityFileLineSnippetContext
LOWbackend/auth.py157CODE
LOWbackend/auth.py179CODE
LOWbackend/main.py121CODE
LOWbackend/main.py1317CODE
LOWbackend/main.py2025CODE
LOWbackend/main.py2161CODE
LOWbackend/main.py2249CODE
LOWbackend/main.py2274CODE
LOWbackend/main.py2413CODE
LOWbackend/main.py2741CODE
LOWbackend/main.py3267CODE
LOWbackend/main.py3671CODE
LOWbackend/main.py4440CODE
LOWbackend/main.py6029CODE
LOWbackend/main.py7582CODE
LOWbackend/main.py10385CODE
LOWbackend/main.py2782CODE
LOWbackend/limiter.py80CODE
LOWbackend/routers/mesh_public.py381CODE
LOWbackend/routers/mesh_public.py620CODE
LOWbackend/routers/mesh_public.py784CODE
LOWbackend/routers/mesh_public.py1783CODE
LOWbackend/routers/cctv.py241CODE
LOWbackend/routers/infonet.py448CODE
LOWbackend/routers/ai_intel.py1021CODE
LOWbackend/routers/ai_intel.py1142CODE
LOWbackend/routers/ai_intel.py1370CODE
LOWbackend/routers/ai_intel.py2971CODE
LOWbackend/routers/ai_intel.py3211CODE
LOWbackend/routers/ai_intel.py3411CODE
LOWbackend/routers/ai_intel.py3434CODE
LOWbackend/routers/ai_intel.py3257CODE
LOWbackend/routers/mesh_operator.py33CODE
LOWbackend/routers/data.py360CODE
LOWbackend/routers/data.py789CODE
LOWbackend/tests/test_2c_exception_visibility.py606CODE
LOWbackend/tests/test_3c_router_extraction.py134CODE
LOWbackend/tests/test_per_operator_outbound_attribution.py246CODE
LOWbackend/tests/mesh/test_gate_secret_rotation_guard.py29CODE
LOWbackend/services/openclaw_channel.py166CODE
LOWbackend/services/openclaw_channel.py685CODE
LOWbackend/services/unusual_whales_connector.py138CODE
LOWbackend/services/ais_stream.py466CODE
LOWbackend/services/ais_stream.py536CODE
LOWbackend/services/ais_stream.py596CODE
LOWbackend/services/sigint_bridge.py333CODE
LOWbackend/services/sigint_bridge.py878CODE
LOWbackend/services/sigint_bridge.py978CODE
LOWbackend/services/sigint_bridge.py1267CODE
LOWbackend/services/openclaw_infonet.py152CODE
LOWbackend/services/openclaw_watchdog.py105CODE
LOWbackend/services/openclaw_watchdog.py551CODE
LOWbackend/services/openclaw_watchdog.py612CODE
LOWbackend/services/entity_profile.py28CODE
LOWbackend/services/privacy_core_attestation.py124CODE
LOWbackend/services/cctv_pipeline.py368CODE
LOWbackend/services/cctv_pipeline.py509CODE
LOWbackend/services/cctv_pipeline.py734CODE
LOWbackend/services/cctv_pipeline.py802CODE
LOWbackend/services/region_dossier.py67CODE
191 more matches not shown…
Cross-File Repetition18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHbackend/main.py0copy any gate_message chain events into the local gate_store for read/decrypt. only events that are resident in the locaSTRING
HIGHbackend/routers/mesh_public.py0copy any gate_message chain events into the local gate_store for read/decrypt. only events that are resident in the locaSTRING
HIGHbackend/routers/mesh_peer_sync.py0copy any gate_message chain events into the local gate_store for read/decrypt. only events that are resident in the locaSTRING
HIGHbackend/main.py0list all peers (or filter by bucket: sync, push, bootstrap).STRING
HIGHbackend/routers/mesh_public.py0list all peers (or filter by bucket: sync, push, bootstrap).STRING
HIGHbackend/routers/mesh_operator.py0list all peers (or filter by bucket: sync, push, bootstrap).STRING
HIGHbackend/main.py0add a peer to the store. body: {peer_url, transport?, label?, role?, buckets?[]}.STRING
HIGHbackend/routers/mesh_public.py0add a peer to the store. body: {peer_url, transport?, label?, role?, buckets?[]}.STRING
HIGHbackend/routers/mesh_operator.py0add a peer to the store. body: {peer_url, transport?, label?, role?, buckets?[]}.STRING
HIGHbackend/main.py0remove a peer. body: {peer_url, bucket?}. if bucket omitted, removes from all buckets.STRING
HIGHbackend/routers/mesh_public.py0remove a peer. body: {peer_url, bucket?}. if bucket omitted, removes from all buckets.STRING
HIGHbackend/routers/mesh_operator.py0remove a peer. body: {peer_url, bucket?}. if bucket omitted, removes from all buckets.STRING
HIGHbackend/main.py0enable or disable a peer. body: {peer_url, bucket, enabled: bool}.STRING
HIGHbackend/routers/mesh_public.py0enable or disable a peer. body: {peer_url, bucket, enabled: bool}.STRING
HIGHbackend/routers/mesh_operator.py0enable or disable a peer. body: {peer_url, bucket, enabled: bool}.STRING
HIGHbackend/services/mesh/mesh_reputation.py0actually write to disk (called by timer or atexit).STRING
HIGHbackend/services/mesh/mesh_dm_relay.py0actually write to disk (called by timer or atexit).STRING
HIGHbackend/services/mesh/mesh_oracle.py0actually write to disk (called by timer or atexit).STRING
Cross-Language Confusion22 hits · 79 pts
SeverityFileLineSnippetContext
HIGHbackend/routers/ai_intel.py1697 "returns": "{best_match: {...}|null, results: [{source_layer, entity_type, label, id, callsign, registraCODE
HIGH⚡backend/services/privacy_core_client.py760 "Build it with: cd privacy-core && cargo build --release"CODE
HIGHbackend/services/updater.py31 "docker compose pull && docker compose up -d"CODE
HIGHbackend/services/infonet/bootstrap/argon2id.py12 "bootstrap_resolution_vote" || protocol_version || node_id ||STRING
HIGHbackend/services/infonet/bootstrap/argon2id.py13 market_id || side || snapshot_event_hash || pow_nonceSTRING
HIGH…es/infonet/privacy/function_keys/challenge_response.py6Operator issues a fresh nonce; key-holder signs (challenge || nonceSTRING
HIGH…nd/services/infonet/privacy/function_keys/nullifier.py8 nullifier = SHA-256(secret || operator_id)STRING
HIGH…nd/services/infonet/privacy/function_keys/nullifier.py35 """Return the hex SHA-256 of ``secret || operator_id`` (UTF-8 forSTRING
HIGHbackend/services/infonet/markets/evidence.py9- ``evidence_content_hash`` — SHA-256 of ``(market_id || claimed_outcomeSTRING
HIGHbackend/services/infonet/markets/evidence.py14- ``submission_hash`` — SHA-256 of ``(evidence_content_hash || node_idSTRING
HIGHbackend/services/infonet/markets/evidence.py67 """SHA-256 of ``content_hash || node_id || timestamp``.STRING
HIGHscripts/e2e_dm_short_address_live.py1087 "cd /home/ubuntu/Shadowbroker && docker compose -f docker-compose.yml -f docker-compose.participant.yml restCODE
HIGH⚡scripts/e2e_dm_short_address_live.py1701 "cp /tmp/docker-compose.participant.yml docker-compose.participant.yml 2>/dev/null || true && "STRING
HIGH⚡scripts/e2e_dm_short_address_live.py1707 "docker cp /tmp/mesh_dm_relay.py shadowbroker-backend:/app/services/mesh/mesh_dm_relay.py 2>/dev/null || true; "STRING
HIGH⚡scripts/e2e_dm_short_address_live.py1708 "docker cp /tmp/mesh_signed_events.py shadowbroker-backend:/app/services/mesh/mesh_signed_events.py 2>/dev/null STRING
HIGH⚡scripts/e2e_dm_short_address_live.py1709 "docker cp /tmp/openclaw_infonet.py shadowbroker-backend:/app/services/openclaw_infonet.py 2>/dev/null || true; STRING
HIGH⚡scripts/e2e_dm_short_address_live.py1710 "docker cp /tmp/wormhole_supervisor.py shadowbroker-backend:/app/services/wormhole_supervisor.py 2>/dev/null || STRING
HIGH⚡scripts/e2e_dm_short_address_live.py1711 "docker cp /tmp/tor_hidden_service.py shadowbroker-backend:/app/services/tor_hidden_service.py 2>/dev/null || trSTRING
HIGH⚡scripts/e2e_dm_short_address_live.py1712 "docker cp /tmp/privacy_core_attestation.py shadowbroker-backend:/app/services/privacy_core_attestation.py 2>/deSTRING
HIGH⚡scripts/e2e_dm_short_address_live.py1713 "docker cp /tmp/wormhole_router.py shadowbroker-backend:/app/routers/wormhole.py 2>/dev/null || true; "STRING
HIGH⚡scripts/e2e_dm_short_address_live.py1714 "docker cp /tmp/main.py shadowbroker-backend:/app/main.py 2>/dev/null || true; "STRING
HIGHscripts/e2e_dm_short_address_live.py1659 "git fetch origin && git reset --hard origin/main && "STRING
Over-Commented Block60 hits · 54 pts
SeverityFileLineSnippetContext
LOWdocker-compose.gitlab.yml1# Compose override that points the backend and frontend at the GitLabCOMMENT
LOWdocker-compose.yml61 # Shared transport auth for operator peer push. Must be set to a unique secret per deployment.COMMENT
LOW.gitlab-ci.yml1# GitLab CI/CD for ShadowbrokerCOMMENT
LOW.gitlab-ci.yml21# - The image build/push uses $CI_JOB_TOKEN, which GitLab providesCOMMENT
LOWfrontend/vitest.config.js1const path = require('path');COMMENT
LOWfrontend/vitest.config.js21 // findByText / waitFor against React reconciliation):COMMENT
LOWfrontend/next.config.ts1import type { NextConfig } from 'next';COMMENT
LOWfrontend/src/components/AIIntelPanel.tsx381 const [nodeId, setNodeId] = React.useState('');COMMENT
LOWfrontend/src/components/MeshChat.tsx1// Re-export from decomposed MeshChat module.COMMENT
LOW…d/src/__tests__/mesh/messagesViewFirstContact.test.tsx861 fireEvent.click(screen.getByRole('button', { name: 'CONTACTS' }));COMMENT
LOW…d/src/__tests__/mesh/messagesViewFirstContact.test.tsx881 // (a) CI runner starvation — two parallel ci.yml invocationsCOMMENT
LOWfrontend/src/lib/api.ts1// All API calls use relative paths (e.g. /api/flights).COMMENT
LOWbackend/main.py3741 # transport has not finished coming up yet.COMMENT
LOWbackend/ais_proxy.js1// AIS Stream WebSocket proxy.COMMENT
LOWbackend/routers/tools.py121# ── Sentinel proxy routes (Issue #299/#300/#301, reported by tg12) ──────────COMMENT
LOWbackend/routers/tools.py161# any same-origin script (XSS, malicious browser extension, dev-tools HARCOMMENT
LOWbackend/routers/ai_intel.py2681 }COMMENT
LOWbackend/routers/ai_intel.py2701# still surprising — and noisy in the audit log.)COMMENT
LOWbackend/routers/ai_intel.py2721# no-cache, must-revalidate``COMMENT
LOWbackend/routers/ai_intel.py3181# Agent keeps one long-lived GET connection open → server pushes events.COMMENT
LOWbackend/routers/ai_intel.py3341COMMENT
LOWbackend/tests/test_control_surface_auth.py81 # STAC search + remote SWIR raster reads. Unauthenticated abuseCOMMENT
LOWbackend/tests/test_sentinel_routes_auth_gate.py221 assert r.status_code == 200COMMENT
LOWbackend/services/openclaw_channel.py2041 return poll_dms(limit=int(args.get("limit", 20) or 20))COMMENT
LOWbackend/services/ais_stream.py341_vessels: dict[int, dict] = {}COMMENT
LOWbackend/services/config.py141 MESH_DM_NONCE_PER_AGENT_MAX: int = 256COMMENT
LOWbackend/services/config.py181 # TTL for mailbox binding metadata — shorter = smaller metadata footprint on disk.COMMENT
LOWbackend/services/config.py201 MESH_DM_ROOT_EXTERNAL_WITNESS_WARN_AGE_S: int = 2700COMMENT
LOWbackend/services/config.py221 MESH_BACKEND_GATE_DECRYPT_COMPAT: bool = FalseCOMMENT
LOWbackend/services/config.py281 MESH_PRIVATE_RELAY_POLICY_TTL_S: int = 3600COMMENT
LOWbackend/services/config.py301 # Optional JSON artifact generated by CI/release workflow for the Sprint 8COMMENT
LOWbackend/services/config.py321 # Second explicit opt-in for private-tier clearnet fallback. Without thisCOMMENT
LOWbackend/services/config.py341 # API the backend calls (Wikipedia, Wikidata, Nominatim, GDELT, OpenMHz,COMMENT
LOWbackend/services/region_dossier.py21#COMMENT
LOWbackend/services/carrier_tracker.py161 },COMMENT
LOWbackend/services/network_utils.py21_session.mount("https://", HTTPAdapter(max_retries=_retry, pool_maxsize=20))COMMENT
LOWbackend/services/network_utils.py41# The handle:COMMENT
LOWbackend/services/mesh/mesh_crypto.py81#COMMENT
LOWbackend/services/mesh/mesh_rns.py41# ── S15B: DM wire-visible ciphertext length alignment ──────────────────COMMENT
LOWbackend/services/mesh/mesh_rollout_flags.py41 # recoverable from disk. Epoch/event_id ceilings already bound *policy*COMMENT
LOWbackend/services/mesh/mesh_rollout_flags.py61 # observed a given author, but a fresh peer (empty sequence state) wouldCOMMENT
LOWbackend/services/mesh/mesh_rollout_flags.py81 # migration, but doing so should degrade release readiness immediately.COMMENT
LOWbackend/services/mesh/mesh_gate_mls.py2001 int(binding.epoch),COMMENT
LOWbackend/services/fetchers/earth_observation.py681# NUFORC's website switched to a JS-rendered Mapbox GL map. The old HTMLCOMMENT
LOWdesktop-shell/tauri-skeleton/dev.sh1#!/usr/bin/env bashCOMMENT
LOWdesktop-shell/tauri-skeleton/build.sh1#!/usr/bin/env bashCOMMENT
LOWdesktop-shell/tauri-skeleton/build.sh21# The web deployment (Docker/Vercel) is unaffected - it continues to useCOMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/policy.rs1//! Native-side policy enforcement and audit ring for local-control commands.COMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/companion.rs1//! Optional localhost/browser companion mode.COMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/companion.rs21//! `main.rs` (not by `companion_enable`) so that the Tauri main window alsoCOMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/companion.rs61}COMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/tray.rs1//! Cross-platform tray / menu-bar background lifecycle.COMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/main.rs21 pub audit_ring: SharedAuditRing,COMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/main.rs41COMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/main.rs61// every invocation in its AuditRing.COMMENT
LOWdesktop-shell/tauri-skeleton/src-tauri/src/main.rs501 // JavaScript on every page load (including full reloads),COMMENT
LOW…shell/tauri-skeleton/src-tauri/src/companion_server.rs1//! Loopback-only HTTP server for packaged desktop builds.COMMENT
LOWprivacy-core/src/lib.rs1//! Privacy Core skeleton for the ShadowBroker / Infonet migration.COMMENT
LOW.github/workflows/ci.yml1name: CI - Lint & TestCOMMENT
LOWhelm/chart/values-gitlab.yaml1# Helm values override that points the chart at the GitLab ContainerCOMMENT
Verbosity Indicators21 hits · 33 pts
SeverityFileLineSnippetContext
LOW⚡frontend/src/mesh/meshDmRatchet.ts583 // Step 1: new receiving chainCOMMENT
LOW⚡frontend/src/mesh/meshDmRatchet.ts590 // Step 2: new sending chain with a fresh DH keyCOMMENT
LOWbackend/main.py2305 # Step 1: Ask the peer which gates it has and how many events eachCOMMENT
LOWbackend/main.py2343 # Step 2: For each gate with new events, pull the batchCOMMENT
LOW⚡backend/tests/mesh/test_secure_storage_passphrase.py339 # Step 1: create raw envelope (simulate old Docker behavior)COMMENT
LOW⚡backend/tests/mesh/test_secure_storage_passphrase.py344 # Step 2: now set up with secret and no raw fallbackCOMMENT
LOWbackend/services/region_dossier.py206 # Step 1: Reverse geocodeSTRING
LOWbackend/services/region_dossier.py222 # Step 2: Parallel fetch with real timeouts that do not block on executor shutdownSTRING
LOW⚡backend/services/tinygs_fetcher.py325 # Step 1: Get TLE data (from cache or CelesTrak)COMMENT
LOW⚡backend/services/tinygs_fetcher.py331 # Step 2: Try to fetch TinyGS telemetry (non-blocking, uses cache)COMMENT
LOW⚡backend/services/tinygs_fetcher.py334 # Step 3: Propagate all satellites via SGP4COMMENT
LOW⚡backend/services/tinygs_fetcher.py340 # Step 4: Merge and filterCOMMENT
LOWbackend/services/thermal_sentinel.py55 # Step 1: STAC search for Sentinel-2 scenesCOMMENT
LOWbackend/services/thermal_sentinel.py69 # Step 2: Try SWIR band analysis if rasterio is availableCOMMENT
LOWbackend/services/thermal_sentinel.py88 # Step 3: Cross-reference with FIRMS fire dataCOMMENT
LOW⚡backend/services/fetchers/earth_observation.py1254 # Step 1: GET the month index to capture session cookies + fresh nonce.COMMENT
LOWbackend/services/fetchers/earth_observation.py1281 # Step 2: POST to admin-ajax.php with length=-1 to pull the whole month.COMMENT
LOWbackend/services/infonet/markets/resolution.py240 # Step 0: zero-evidence → INVALID, return everything.COMMENT
LOWbackend/services/infonet/markets/resolution.py358 # Step 2: oracle-rep supermajority.COMMENT
LOWbackend/services/infonet/markets/resolution.py410 # Step 3: distribute resolution stakes per rep type.COMMENT
LOWbackend/services/infonet/markets/resolution.py456 # Step 4: evidence bonds.COMMENT
Structural Annotation Overuse21 hits · 33 pts
SeverityFileLineSnippetContext
LOW⚡frontend/src/mesh/meshDmRatchet.ts583 // Step 1: new receiving chainCOMMENT
LOW⚡frontend/src/mesh/meshDmRatchet.ts590 // Step 2: new sending chain with a fresh DH keyCOMMENT
LOWbackend/main.py2305 # Step 1: Ask the peer which gates it has and how many events eachCOMMENT
LOWbackend/main.py2343 # Step 2: For each gate with new events, pull the batchCOMMENT
LOW⚡backend/tests/mesh/test_secure_storage_passphrase.py339 # Step 1: create raw envelope (simulate old Docker behavior)COMMENT
LOW⚡backend/tests/mesh/test_secure_storage_passphrase.py344 # Step 2: now set up with secret and no raw fallbackCOMMENT
LOWbackend/services/region_dossier.py206 # Step 1: Reverse geocodeSTRING
LOWbackend/services/region_dossier.py222 # Step 2: Parallel fetch with real timeouts that do not block on executor shutdownSTRING
LOW⚡backend/services/tinygs_fetcher.py325 # Step 1: Get TLE data (from cache or CelesTrak)COMMENT
LOW⚡backend/services/tinygs_fetcher.py331 # Step 2: Try to fetch TinyGS telemetry (non-blocking, uses cache)COMMENT
LOW⚡backend/services/tinygs_fetcher.py334 # Step 3: Propagate all satellites via SGP4COMMENT
LOW⚡backend/services/tinygs_fetcher.py340 # Step 4: Merge and filterCOMMENT
LOWbackend/services/thermal_sentinel.py55 # Step 1: STAC search for Sentinel-2 scenesCOMMENT
LOWbackend/services/thermal_sentinel.py69 # Step 2: Try SWIR band analysis if rasterio is availableCOMMENT
LOWbackend/services/thermal_sentinel.py88 # Step 3: Cross-reference with FIRMS fire dataCOMMENT
LOW⚡backend/services/fetchers/earth_observation.py1254 # Step 1: GET the month index to capture session cookies + fresh nonce.COMMENT
LOWbackend/services/fetchers/earth_observation.py1281 # Step 2: POST to admin-ajax.php with length=-1 to pull the whole month.COMMENT
LOWbackend/services/infonet/markets/resolution.py240 # Step 0: zero-evidence → INVALID, return everything.COMMENT
LOWbackend/services/infonet/markets/resolution.py358 # Step 2: oracle-rep supermajority.COMMENT
LOWbackend/services/infonet/markets/resolution.py410 # Step 3: distribute resolution stakes per rep type.COMMENT
LOWbackend/services/infonet/markets/resolution.py456 # Step 4: evidence bonds.COMMENT
Self-Referential Comments5 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM⚡backend/tests/mesh/test_5d_replay_persistence.py174 # Create a new store from the same directory — simulates restartCOMMENT
MEDIUMbackend/tests/mesh/test_nonce_capacity_isolation.py179 # Create a fresh relay instance and loadCOMMENT
MEDIUM⚡backend/tests/mesh/test_secure_storage_rotation.py183 # Create a DPAPI envelope (Windows default)COMMENT
MEDIUMbackend/tests/mesh/test_secure_storage_rotation.py235 # Create a passphrase master keyCOMMENT
MEDIUMbackend/services/mesh/mesh_gate_mls.py1954 # Create a durable gate envelope: the plaintext encrypted under theCOMMENT
AI Structural Patterns21 hits · 18 pts
SeverityFileLineSnippetContext
LOWbackend/main.py491CODE
LOWbackend/main.py4114CODE
LOWbackend/routers/mesh_peer_sync.py154CODE
LOWbackend/routers/sigint.py35CODE
LOWbackend/routers/ai_intel.py1098CODE
LOWbackend/tests/mesh/test_dm_alias_rotation_binding.py44CODE
LOWbackend/scripts/release_helper.py65CODE
LOWbackend/services/entity_profile.py188CODE
LOWbackend/services/entity_trail.py172CODE
LOWbackend/services/ai_pin_store.py232CODE
LOWbackend/services/telemetry.py1543CODE
LOWbackend/services/telemetry.py1771CODE
LOWbackend/services/privacy_claims.py1352CODE
LOWbackend/services/wormhole_status.py62CODE
LOWbackend/services/mesh/mesh_infonet_sync_support.py182CODE
LOWbackend/services/mesh/mesh_wormhole_contacts.py1276CODE
LOWbackend/services/mesh/mesh_private_dispatcher.py604CODE
LOWbackend/services/mesh/mesh_dm_relay.py1494CODE
LOWbackend/services/fetchers/trains.py133CODE
LOWbackend/services/infonet/tests/_chain_factory.py31CODE
LOWopenclaw-skills/shadowbroker/sb_query.py479CODE
Redundant / Tautological Comments9 hits · 12 pts
SeverityFileLineSnippetContext
LOWstart.sh108# Check if UV is available (preferred, much faster installs)COMMENT
LOWbackend/routers/ai_intel.py3313 # Check if client disconnectedCOMMENT
LOWbackend/services/openclaw_bridge.py215 # Increment sequenceCOMMENT
LOWbackend/services/feed_ingester.py102 # Check if first item looks like a GeoJSON FeatureCOMMENT
LOWbackend/services/network_utils.py278 # Check if this domain recently failed with requests — skip straight to curlCOMMENT
LOWbackend/services/mesh/mesh_oracle.py581 # Check if this staker already has an active stake on this messageCOMMENT
LOWbackend/services/mesh/mesh_oracle.py595 # Check if there are existing stakes — extend grace periodCOMMENT
LOWbackend/services/mesh/mesh_oracle.py656 # Check if ALL stakes for this message have expiredCOMMENT
LOWbackend/services/fetchers/prediction_markets.py916 # Check if query appears in title or word overlapCOMMENT
Dead Code11 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMbackend/services/fetchers/earth_observation.py1745CODE
MEDIUMbackend/services/fetchers/earth_observation.py1748CODE
MEDIUMbackend/services/fetchers/earth_observation.py1749CODE
MEDIUMbackend/services/fetchers/earth_observation.py1761CODE
MEDIUMbackend/services/fetchers/earth_observation.py1762CODE
MEDIUMbackend/services/fetchers/earth_observation.py1763CODE
MEDIUMbackend/services/fetchers/earth_observation.py1764CODE
MEDIUMbackend/services/fetchers/earth_observation.py1824CODE
MEDIUMbackend/services/fetchers/earth_observation.py1829CODE
MEDIUMbackend/services/fetchers/earth_observation.py1831CODE
MEDIUMscripts/e2e_dm_short_address_live.py1431CODE
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWfrontend/src/i18n/translations/zh-CN.json321 "placeholder": "输入消息..."CODE
LOWfrontend/src/i18n/translations/en.json321 "placeholder": "Type a message..."CODE
LOWfrontend/src/i18n/translations/fr.json321 "placeholder": "Tapez un message..."CODE
LOWfrontend/src/i18n/translations/fa.json321 "placeholder": "پیامی بنویسید..."CODE
LOWbackend/tests/test_per_operator_outbound_attribution.py104 ("user@example.com", "user-example-com"),CODE
LOW⚡backend/services/env_check.py189 return "placeholder"CODE
LOW⚡backend/services/env_check.py201 return "placeholder"CODE
LOW⚡…end/services/infonet/tests/test_privacy_scaffolding.py135 fake_key = FunctionKey(secret=b"fake", epoch="2026-04", credential=b"")CODE
LOW⚡…end/services/infonet/tests/test_privacy_scaffolding.py138 ok, reason = verify_response(response=response, key=fake_key, now=1000.5)CODE
LOWopenclaw-skills/shadowbroker/SKILL.md267await sb.send_command("osint_lookup", {"tool": "leaks", "email": "user@example.com"})CODE
Modern AI Meta-Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md1028│ │ ├── data_fetcher.py # Core scheduler — orchestrates all data sourcesCODE
MEDIUMREADME.md1073│ │ ├── mesh_wormhole_ratchet.py # Double-ratchet DM scaffoldingCODE
MEDIUM…es/infonet/privacy/function_keys/challenge_response.py70 # scaffolding accepts any opaque bytes.COMMENT
MEDIUMbackend/services/infonet/tests/test_infonet_router.py47 # Sprint 11+ scaffolding: all report not_implemented.COMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocker-compose.gitlab.yml5# Usage:COMMENT
LOWbackend/scripts/scan-secrets.sh4# Usage:COMMENT
LOWdesktop-shell/tauri-skeleton/dev.sh10# Usage:COMMENT
LOWdesktop-shell/tauri-skeleton/build.sh24# Usage:COMMENT
LOWhelm/chart/values-gitlab.yaml5# Usage:COMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
LOWbackend/services/fetchers/nuforc_enrichment.py343 # No date filter — just return the most recent entry for this stateCOMMENT
MEDIUMbackend/services/infonet/time_validity.py46# Byzantine arithmetic with up to ~5 colluding nodes (median is robust).COMMENT