AI Slop Code Risk Monitor

jitsucom/jitsu

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

Jitsu is an open-source Segment alternative. Fully-scriptable data ingestion engine for modern data teams. Set-up a real-time data pipeline in minutes, not days

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jitsucom/jitsu, a TypeScript project with 5,123 GitHub stars. SynthScan examined 286,559 lines of code across 1638 source files, recording 415 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 2.6 (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.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
5.1K
Stars
TypeScript
Language
286.6K
Lines of Code
1.6K
Files
415
Pattern Hits
2026-10-31
Scan Date
0.02
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.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.9/100 · LOW

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

Agent Over-Engineering Ratio 3.5/100 · LOW

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

PR Review Velocity Impact 11.5/100 · LOW

Which changes need focused human review? 415 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 13HIGH 21MEDIUM 33LOW 348

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 415 distinct pattern matches across 16 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 Block179 hits · 178 pts
SeverityFileLineSnippetContext
LOWAGENTS.md61COMMENT
LOWCLAUDE.md61COMMENT
LOWwebapps/console/next.config.js41 // },COMMENT
LOWwebapps/console/next-env.d.ts1/// <reference types="next" />COMMENT
LOWwebapps/console/vitest.config.ts1import { defineConfig } from "vitest/config";COMMENT
LOWwebapps/console/components/DataView/EventsBrowser.tsx501 // useEffect(() => {COMMENT
LOW…mponents/ConnectionEditorPage/ConnectionEditorPage.tsx781 rows={3}COMMENT
LOW…ole/components/FunctionsDebugger/FunctionsDebugger.tsx701 // render: (d: typeof mapEvents[number]) => {COMMENT
LOWwebapps/console/__tests__/integration/support/setup.ts1/* eslint-disable no-restricted-properties -- this file's job is to WRITE theCOMMENT
LOWwebapps/console/scripts/maintenance-mode.sh1#!/usr/bin/env bashCOMMENT
LOWwebapps/console/lib/api.ts361 // working (auth, app-config, maintenance, healthcheck, admin maintenanceCOMMENT
LOWwebapps/console/lib/nextauth.config.ts241 },COMMENT
LOWwebapps/console/lib/firebase-client.tsx341 // The lookup endpoint now only returns [] for a genuineCOMMENT
LOWwebapps/console/lib/server/audit-log-service.ts581 const notCliToken: Prisma.AuditLogWhereInput[] = [COMMENT
LOWwebapps/console/lib/server/serverEnv.ts241 // Enable audit logging for security and complianceCOMMENT
LOWwebapps/console/lib/server/serverEnv.ts261 // `https://ee${JITSU_BRANCH_SUFFIX}.jitsu.localhost/` to follow the currentCOMMENT
LOWwebapps/console/lib/server/serverEnv.ts381 MAINTENANCE: z.string().optional(),COMMENT
LOWwebapps/console/lib/server/serverEnv.ts401 // Slack webhook URL for notificationsCOMMENT
LOWwebapps/console/lib/server/oauth/services.ts261// otherwise returns original credentials part of configCOMMENT
LOWwebapps/console/lib/server/mcp-server/auth.ts41 send401(res, "invalid_token", "Token format must be tokenId:secret");COMMENT
LOWwebapps/console/lib/schema/destinations.tsx1001 credentialsUi: meta.MixpanelCredentialsUi,COMMENT
LOWwebapps/console/lib/schema/destinations.tsx1021 // syncOptions: z.object({}),COMMENT
LOWwebapps/console/lib/schema/export-contracts.ts1import { z } from "zod";COMMENT
LOWwebapps/console/pages/[workspaceId]/streams.tsx101 // <div className="mb-4 flex items-center justify-left">COMMENT
LOWwebapps/console/pages/[workspaceId]/destinations.tsx841 )}COMMENT
LOWwebapps/console/pages/[workspaceId]/syncs/index.tsx421 sortDirections={["ascend", "descend"]}COMMENT
LOWwebapps/console/pages/api/oauth/service.ts21 throw new ApiError("Method was disabled as it is not used");COMMENT
LOWwebapps/console/pages/api/oauth/service.ts41 // const packageId = (object.config as any).package;COMMENT
LOWwebapps/console/pages/api/oauth/service.ts61 // warning: `Service ${query.serviceId} not found in database`,COMMENT
LOWwebapps/console/pages/api/admin/notifications.ts41COMMENT
LOWwebapps/console/pages/api/admin/events-log-trim.ts81 // would otherwise pick up, pausing retention). Reload/materialize belowCOMMENT
LOWwebapps/console/pages/api/admin/export/[name]/index.ts101 clickhouseSettings: z.unknown().optional(),COMMENT
LOWwebapps/console/pages/api/admin/export/[name]/index.ts1281 }COMMENT
LOWwebapps/console/pages/api/admin/export/[name]/index.ts1481 lastModified: exportWorkspacesWithProfilesLastModified,COMMENT
LOWwebapps/console/pages/api/admin/export/[name]/index.ts1501 // const records = await db.prisma().functionsServer.findMany();COMMENT
LOWwebapps/console/pages/api/[workspaceId]/domain-check.ts61 }COMMENT
LOWtypes/protocols/analytics.d.ts521 getContextProperty(name: string): JSONValue;COMMENT
LOWhelm-deps/values.yaml1# Jitsu Dev Dependencies Helm Chart ValuesCOMMENT
LOW…estination-functions/src/functions/user-recognition.ts121 ctx.log.error(`User Recognition function failed for Message ID:${event.messageId} Error: ${e}`);COMMENT
LOW…ination-functions/src/functions/posthog-destination.ts121 json: () => res.json(),COMMENT
LOW…ination-functions/src/functions/posthog-destination.ts221 // This is where the queued events are actually sent. Flush explicitly first:COMMENT
LOW…destination-functions/src/functions/ga4-destination.ts141COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts921 // if (obj && obj.id) {COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts941 // },COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts961 // 10,COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts981 // name: "nested changes among array insertions and deletions",COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1001 // },COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1021 // id: 12,COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1041 // delta: {COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1061 // 0: [{ id: 1 }],COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1081 // objectHash(obj: { id?: string }) {COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1101 // id: 4,COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1121 // id: 3,COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1141 // },COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1161 // left: [COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1181 // },COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1201 // inner: {COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1221 // },COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1241 // inner: {COMMENT
LOWlibs/jsondiffpatch/test/examples/diffpatch.ts1261 // reverse: {COMMENT
119 more matches not shown…
Hallucination Indicators13 hits · 145 pts
SeverityFileLineSnippetContext
CRITICALlibs/warehouse-query/src/snowflake.test.ts483 const query = f.connection.execute.mock.calls.at(-1)![0].sqlText;CODE
CRITICALlibs/warehouse-query/src/snowflake.test.ts508 expect(f.connection.execute.mock.calls.every(([options]) => options.parameters.STRICT_JSON_OUTPUT === true)).toBe(CODE
CRITICAL…ination-functions/src/functions/hubspot-destination.ts40 const properties = await this.client.crm.properties.coreApi.getAll(opts.objectType || "contacts");CODE
CRITICAL…ination-functions/src/functions/hubspot-destination.ts45 await this.client.crm.properties.coreApi.create(opts.objectType || "contacts", {CODE
CRITICAL…ination-functions/src/functions/hubspot-destination.ts70 const remoteProps = await this.client.crm.properties.coreApi.getAll(opts.objectType || "contacts");CODE
CRITICAL…ination-functions/src/functions/hubspot-destination.ts82 const remoteProps = await this.client.crm.properties.coreApi.getAll(opts.objectType || "contacts");CODE
CRITICAL…ination-functions/src/functions/hubspot-destination.ts110 const searchResults = await this.client.crm.companies.searchApi.doSearch({CODE
CRITICAL…ination-functions/src/functions/hubspot-destination.ts143 await this.client.crm.companies.basicApi.update(companyId, companyProperties);CODE
CRITICAL…ination-functions/src/functions/hubspot-destination.ts148 const { id: companyId } = await this.client.crm.companies.basicApi.create({CODE
CRITICAL⚡…ination-functions/src/functions/hubspot-destination.ts187 await this.client.crm.contacts.basicApi.update(existingContactId, contactProperties);CODE
CRITICAL⚡…ination-functions/src/functions/hubspot-destination.ts191 const { id: contactId } = await this.client.crm.contacts.basicApi.create({CODE
CRITICAL⚡…ination-functions/src/functions/hubspot-destination.ts200 await this.client.crm.associations.batchApi.create("contacts", "companies", {CODE
CRITICAL…ination-functions/src/functions/hubspot-destination.ts226 const searchResults = await this.client.crm.contacts.searchApi.doSearch({CODE
Cross-Language Confusion (JS/TS)20 hits · 118 pts
SeverityFileLineSnippetContext
HIGHcli/jitsu-cli/src/commands/spec.ts26 print(spec, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts70 print(data, opts.output);CODE
HIGH⚡cli/jitsu-cli/src/commands/config/handlers.ts81 print(data.objects ?? data, opts.output);CODE
HIGH⚡cli/jitsu-cli/src/commands/config/handlers.ts90 print(data.links ?? data, opts.output);CODE
HIGH⚡cli/jitsu-cli/src/commands/config/handlers.ts99 print(data.profileBuilders ?? data, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts115 print(data, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts124 print(data, opts.output);CODE
HIGH⚡cli/jitsu-cli/src/commands/config/handlers.ts142 print(data, opts.output);CODE
HIGH⚡cli/jitsu-cli/src/commands/config/handlers.ts152 print(data, opts.output);CODE
HIGH⚡cli/jitsu-cli/src/commands/config/handlers.ts162 print(data, opts.output);CODE
HIGH⚡cli/jitsu-cli/src/commands/config/handlers.ts172 print(data, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts196 print(data, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts207 print(data ?? { ok: true }, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts220 print(data, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts234 print(data, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts273 print(data, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts287 print(data ?? { ok: true }, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts306 print(data ?? { ok: true }, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts317 print(data ?? { ok: true }, opts.output);CODE
HIGHcli/jitsu-cli/src/commands/config/handlers.ts338 print(data, opts.output);CODE
Hyper-Verbose Identifiers114 hits · 112 pts
SeverityFileLineSnippetContext
LOW…s/console/components/ReverseETL/DeliveryStatistics.tsx30export function ReverseDeliveryStatistics({ task }: { task: ReverseTask }) {CODE
LOW…le/components/ReverseETL/DestinationTargetSelector.tsx8export function DestinationTargetSelector({CODE
LOW…kspaceNameAndSlugEditor/WorkspaceNameAndSlugEditor.tsx13export function WorkspaceNameAndSlugEditor({CODE
LOW…__tests__/integration/backup-retention-service.test.ts37function prismaWithConcurrentWrite(onAfterRead: (rows: any[]) => Promise<void>) {CODE
LOWwebapps/console/lib/nextauth.config.ts145export async function getOrCreateUser(opts: {CODE
LOWwebapps/console/lib/zod.ts45export function prepareZodObjectForSerialization(obj: any) {CODE
LOWwebapps/console/lib/zod.ts49export function prepareZodObjectForDeserialization(obj: any) {CODE
LOWwebapps/console/lib/ui.tsx45function copyTextToClipboardFallback(text) {CODE
LOWwebapps/console/lib/server/ee.ts110export function eeAuthHeadersOrServiceToken(CODE
LOWwebapps/console/lib/server/events-log-stream.ts42async function assertActorBelongsToWorkspace(workspaceId: string, actorId: string, type: string) {CODE
LOWwebapps/console/lib/server/signup-restrictions.ts18export function isPersonalEmailSignupBlocked(opts: { email: string; loginProvider?: string | null }): boolean {CODE
LOWwebapps/console/lib/server/signup-restrictions.ts35export async function shouldRejectPersonalEmailSignup(user: {CODE
LOW…ps/console/lib/server/migrate-reverse-sync-settings.ts47export async function migrateReverseSyncSettings(prisma: PrismaClient, workspaceId: string) {CODE
LOWwebapps/console/lib/server/config-objects-service.ts57function ingestionDestinationError(config: any): ApiError | undefined {CODE
LOWwebapps/console/lib/server/firebase-server.ts129export function clearLegacyHostAuthCookie(req: NextApiRequest, opts: { secure: boolean }): string | undefined {CODE
LOWwebapps/console/lib/server/firebase-server.ts213export function isUnverifiedPasswordAccount(decoded: admin.auth.DecodedIdToken): boolean {CODE
LOWwebapps/console/lib/server/google-audiences.ts15export async function managedGoogleAudienceForSync(CODE
LOWwebapps/console/lib/server/reverse-microsoft-options.ts64export async function microsoftOptionsForConfig(CODE
LOWwebapps/console/lib/server/destination-accounts.ts19export async function destinationAccountsForConfig(CODE
LOWwebapps/console/lib/server/maintenance.ts134export function getPublicMaintenanceState(): PublicMaintenanceState | undefined {CODE
LOWwebapps/console/lib/server/google-audience-oauth.ts15export async function readGoogleAudienceConnectionToken(CODE
LOWwebapps/console/lib/server/reverse-retention.ts93export async function provisionRetlBucketForSync(CODE
LOWwebapps/console/lib/server/plan-gate.ts83export async function assertCustomDomainsAllowed(CODE
LOWwebapps/console/lib/server/plan-gate.ts141export async function assertCustomDomainsEntitlement(CODE
LOWwebapps/console/lib/server/plan-gate.ts168export async function assertIdentityStitchingAllowed(CODE
LOWwebapps/console/lib/server/oidc-discovery.ts71export async function updateProviderWithDiscovery(CODE
LOWwebapps/console/lib/server/db.ts132export function getApplicationDatabaseUrl(): string {CODE
LOWwebapps/console/lib/server/reverse-etl-models.ts175export async function guardReverseDeliveryChanges(prisma: ModelDb, workspaceId: string, id: string, type: string) {CODE
LOWwebapps/console/lib/shared/observability-exports.ts76export function maskObservabilityExportsSettings(settings: ObservabilityExportsSettings): ObservabilityExportsSettings {CODE
LOWwebapps/console/lib/shared/observability-exports.ts83export function unmaskObservabilityExportsSettings(CODE
LOWwebapps/console/lib/shared/observability-exports.ts98export function containsMaskedHeaderValues(settings: ObservabilityExportsSettings): boolean {CODE
LOWwebapps/console/lib/shared/data-retention.ts53export function defaultBackupRetentionHours(capDays?: number): number {CODE
LOWwebapps/console/lib/shared/data-retention.ts106export function parseExplicitBackupRetentionHours(dataRetentionValue: unknown): number | undefined {CODE
LOWwebapps/console/lib/shared/data-retention.ts170export function getBackupRetentionCapDays(CODE
LOWwebapps/console/lib/shared/data-retention.ts232export function validateBackupRetentionChange(CODE
LOWwebapps/console/lib/openapi/annotations.ts87export function getAnnotatedConfigObjectSchema(type: string): z.ZodTypeAny | undefined {CODE
LOWwebapps/console/lib/schema/secrets.ts16export function getDestinationSecretPaths(destinationType: string): string[] {CODE
LOWwebapps/console/lib/schema/secrets.ts143export function unmaskSecretsFromOriginal(object: any, dbEntity: any): any {CODE
LOWwebapps/console/lib/schema/destinations.tsx287export function getCoreDestinationTypeNonStrict(typeId: string | undefined): DestinationType | undefined {CODE
LOWwebapps/console/lib/store/index.tsx43export function getProfileBuilderCacheKey(workspaceId: string) {CODE
LOWwebapps/console/lib/store/index.tsx263export function useConfigObjectLinksLoader(opts?: UseConfigObjectLinksParams): Result<UseConfigObjectLinkResult[]> {CODE
LOWwebapps/console/pages/[workspaceId]/destinations.tsx384function ProvisionedDestinationShowCredentials(props: { destination: DestinationConfig }) {CODE
LOWwebapps/console/pages/[workspaceId]/destinations.tsx472function ProvisionedDestinationDeleteButton(props: {CODE
LOWwebapps/console/pages/api/admin/notifications.ts296async function loadNotificationsChannels() {CODE
LOWwebapps/console/pages/api/admin/notifications.ts561function computeBatchConnectionAggregate(CODE
LOWwebapps/console/pages/api/admin/notifications.ts667async function prepareBatchAggregateRows(CODE
LOWwebapps/console/pages/api/admin/notifications.ts755function buildAggregateRowDescription(CODE
LOWwebapps/console/pages/api/admin/export/[name]/index.ts246function selectProfileBuilderFunctionsServer(CODE
LOWwebapps/console/pages/api/admin/export/[name]/index.ts317async function getEnabledObservabilityExports(): Promise<CODE
LOWwebapps/console/pages/api/admin/export/[name]/index.ts869async function exportStreamsWithDestinations(writer: Writer) {CODE
LOWwebapps/console/pages/api/admin/export/[name]/index.ts1075async function exportWorkspacesLastModified(): Promise<Date | undefined> {CODE
LOWwebapps/console/pages/api/admin/export/[name]/index.ts1088async function functionsClassByWorkspace(): Promise<Map<string, { class: string; status: string }>> {CODE
LOWwebapps/console/pages/api/admin/export/[name]/index.ts1176async function exportWorkspacesWithProfilesLastModified(): Promise<Date | undefined> {CODE
LOWwebapps/console/pages/api/admin/export/[name]/index.ts1197async function exportWorkspacesWithProfiles(writer: Writer) {CODE
LOW…nsole/pages/api/[workspaceId]/ee/provision-db/index.ts11export async function findProvisionedDestination(workspaceId) {CODE
LOWwebapps/console/pages/api/fb-auth/sign-in-methods.ts19async function verifiedEmailFromAccessToken(provider: "github.com" | "google.com", accessToken: string) {CODE
LOWcli/jitsu-cli/src/commands/config/handlers.ts57async function requireResolvedWorkspaceId(opts: LeafOpts, client: ApiClient): Promise<string> {CODE
LOWlibs/destination-functions/__tests__/lib/mem-store.ts58export function createAnonymousEventsStore(eventsStore: Record<string, EventsByAnonId>): AnonymousEventsStore {CODE
LOWlibs/destination-functions/src/reverse-etl/editor.ts74export function missingStreamRequirements(stream: ReverseStreamEditor, options: ReverseEditorOptions) {CODE
LOWlibs/destination-functions/src/reverse-etl/failure.ts21export function requiresManualReconciliation(error: unknown): boolean {CODE
54 more matches not shown…
Decorative Section Separators27 hits · 86 pts
SeverityFileLineSnippetContext
MEDIUMwebapps/console/components/AuditLog/AuditLog.tsx298 // ── URL ⇄ filter sync ──────────────────────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/config-objects-service.ts185 // ─── Config objects ───────────────────────────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/config-objects-service.ts464 // ─── Connections (links) ──────────────────────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/oauth.ts100 // ─── Discovery: RFC 8414 ────────────────────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/oauth.ts116 // ─── Discovery: RFC 9728 (MCP-required) ─────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/oauth.ts126 // ─── DCR: RFC 7591 ──────────────────────────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/oauth.ts184 // ─── Authorize approval (called from the consent page) ──────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/oauth.ts252 // ─── Token endpoint: handles both grants ────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/tools.ts302 // ─── Observability: events log ────────────────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/tools.ts353 // ─── Syncs: source → destination lifecycle ─────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/tools.ts607 // ─── Testing & debugging ───────────────────────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/tools.ts687 // ─── Reports & stats ───────────────────────────────────────────────────────COMMENT
MEDIUM⚡webapps/console/lib/server/mcp-server/index.ts74 // ─── OAuth endpoints ────────────────────────────────────────────────────COMMENT
MEDIUM⚡webapps/console/lib/server/mcp-server/index.ts80 // ─── Discovery ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡webapps/console/lib/server/mcp-server/index.ts85 // ─── MCP transport ──────────────────────────────────────────────────────COMMENT
MEDIUMwebapps/console/lib/server/mcp-server/index.ts119 // ─── Used by /api/user/keys DELETE handler ──────────────────────────────COMMENT
MEDIUMservices/rotor/src/functions-server.ts630// ── FunctionRuntime implementations ──────────────────────────────────COMMENT
MEDIUMservices/rotor/src/functions-server.ts680// ── Lazy worker pool with TTL-based eviction ──────────────────────────COMMENT
MEDIUMservices/rotor/src/lib/workspace-worker.ts28// ── Proxy helpers ───────────────────────────────────────────────────COMMENT
MEDIUMservices/rotor/src/lib/workspace-worker.ts45// ── Loaded function type ────────────────────────────────────────────COMMENT
MEDIUMservices/rotor/src/lib/workspace-worker.ts61// ── UDF instantiation from IIFE code ────────────────────────────────COMMENT
MEDIUMservices/rotor/src/lib/workspace-worker.ts79// ── Build proxied context ───────────────────────────────────────────COMMENT
MEDIUMservices/rotor/src/lib/workspace-worker.ts223// ── Chain execution (delegates to shared runFunctionChain) ──────────COMMENT
MEDIUMservices/rotor/src/lib/workspace-worker.ts236// ── Message handler ─────────────────────────────────────────────────COMMENT
MEDIUMservices/rotor/src/lib/worker-protocol.ts6// ── Messages: Main → Worker ─────────────────────────────────────────COMMENT
MEDIUMservices/rotor/src/lib/worker-protocol.ts69// ── Messages: Worker → Main ─────────────────────────────────────────COMMENT
MEDIUMservices/rotor/src/lib/worker-protocol.ts135// ── Shared helper types ─────────────────────────────────────────────COMMENT
Fake / Example Data26 hits · 26 pts
SeverityFileLineSnippetContext
LOW…omponents/TrackingIntegrationDocumentation/HTTPApi.tsx78 "userId": "user@example.com",CODE
LOW…omponents/TrackingIntegrationDocumentation/HTTPApi.tsx99 "email": "user@example.com"CODE
LOW…console/components/FunctionsDebugger/example_events.ts16 userId: "user@example.com",CODE
LOW…console/components/FunctionsDebugger/example_events.ts38 email: "user@example.com",CODE
LOW…console/components/FunctionsDebugger/example_events.ts63 userId: "user@example.com",CODE
LOW…console/components/FunctionsDebugger/example_events.ts65 email: "user@example.com",CODE
LOW…console/components/FunctionsDebugger/example_events.ts114 userId: "user@example.com",CODE
LOW…console/components/FunctionsDebugger/example_events.ts136 email: "user@example.com",CODE
LOW…bapps/console/components/ProfileBuilderPage/example.ts49 name: "John Doe",CODE
LOWwebapps/console/lib/server/templates.tsx25 inviting: { email: invitingEmail = "john.doe@xyzco.net", name: invitingName = "John Doe" } = {},CODE
LOWcli/jitsu-cli/data/page.json13 "userId": "user@example.com",CODE
LOWcli/jitsu-cli/data/page.json35 "email": "user@example.com"CODE
LOWlibs/destination-functions/__tests__/lib/test-data.ts88 const traits = { email: "john.doe.1@gmail.com", name: "John Doe" };CODE
LOW…nation-functions/__tests__/lib/datalayout-test-data.ts320 userId: "user@example.com",CODE
LOW…nation-functions/__tests__/lib/datalayout-test-data.ts342 email: "user@example.com",CODE
LOW…nation-functions/__tests__/lib/datalayout-test-data.ts366 user_id: "user@example.com",CODE
LOW…nation-functions/__tests__/lib/datalayout-test-data.ts388 email: "user@example.com",CODE
LOW…nation-functions/__tests__/lib/datalayout-test-data.ts414 user_id: "user@example.com",CODE
LOW…nation-functions/__tests__/lib/datalayout-test-data.ts436 email: "user@example.com",CODE
LOW…nation-functions/__tests__/lib/datalayout-test-data.ts464 user_id: "user@example.com",CODE
LOW…nation-functions/__tests__/lib/datalayout-test-data.ts486 email: "user@example.com",CODE
LOWlibs/functions/__tests__/data/classic-events.ts24 email: "user@example.com",CODE
LOWlibs/functions/__tests__/data/classic-events.ts26 name: "John Doe",CODE
LOWlibs/jitsu-js/__tests__/node/nodejs.test.ts284 email: "test@test.com",CODE
LOWlibs/jitsu-js/__tests__/node/nodejs.test.ts327 expect(identify.traits.email).toBe("test@test.com");CODE
LOWservices/retl-runner/src/artifacts/journal.test.ts645 (_a: unknown, row: any) => [{ identity: "user@example.com", upsert: {}, remove: {} }],CODE
Structural Annotation Overuse10 hits · 17 pts
SeverityFileLineSnippetContext
LOWemulate-ci-build.sh92# Step 1: Build or pull the builder imageCOMMENT
LOWemulate-ci-build.sh109# Step 2: Emulate lint.yml workflowCOMMENT
LOWemulate-ci-build.sh160# Step 3: Emulate services.yaml workflowCOMMENT
LOW⚡JITSU_FUNCTIONS_PIPELINE.md81### Step 1: Builtin TransformationsCOMMENT
LOW⚡JITSU_FUNCTIONS_PIPELINE.md85### Step 2: User Defined Function PipelineCOMMENT
LOW⚡JITSU_FUNCTIONS_PIPELINE.md93### Step 3: Builtin Destination FunctionCOMMENT
LOWbulker/sync-sidecar/load.go76 // Step 1: if a discover init wrote /shared/discover.jsonl, extract theCOMMENT
LOWbulker/sync-sidecar/load.go94 // Step 2: read the catalog row.COMMENT
LOWbulker/sync-sidecar/load.go105 // Step 3: apply selectStreamsFromCatalog port.COMMENT
LOWbulker/sync-sidecar/load.go116 // Step 4: load source_state and format for airbyte.COMMENT
Verbosity Indicators8 hits · 12 pts
SeverityFileLineSnippetContext
LOWemulate-ci-build.sh92# Step 1: Build or pull the builder imageCOMMENT
LOWemulate-ci-build.sh109# Step 2: Emulate lint.yml workflowCOMMENT
LOWemulate-ci-build.sh160# Step 3: Emulate services.yaml workflowCOMMENT
LOW…lkerlib/implementations/sql/replacepartition_stream.go149 //but we need to check if partitionId column exists in table firstCOMMENT
LOWbulker/sync-sidecar/load.go76 // Step 1: if a discover init wrote /shared/discover.jsonl, extract theCOMMENT
LOWbulker/sync-sidecar/load.go94 // Step 2: read the catalog row.COMMENT
LOWbulker/sync-sidecar/load.go105 // Step 3: apply selectStreamsFromCatalog port.COMMENT
LOWbulker/sync-sidecar/load.go116 // Step 4: load source_state and format for airbyte.COMMENT
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWhelm/dev-deploy.sh49# Check if minikube is runningCOMMENT
LOWhelm/dev-deploy.sh67 # Check if already mountedCOMMENT
LOWhelm/dev-deploy.sh131 # Check if mount is runningCOMMENT
LOWhelm/dev-deploy.sh547 # Check if tunnel might be neededCOMMENT
LOWhelm/templates/install-job.yaml32 # Check if we need to rebuild by comparing pnpm-lock.yaml hashCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWcli/jitsu-cli/src/templates/functions.ts36 //TODO: implement testCOMMENT
LOWcli/jitsu-cli/src/templates/functions.ts66 //TODO: implement testCOMMENT
LOWbulker/bulkerlib/implementations/sql/table_helper.go306 //TODO: implement system error notificationCOMMENT
LOWbulker/jitsubase/logging/global_logger.go84 //TODO: implement system error notificationCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/publish.yml119 # longer drags a stable rebuild of every microservice with it.COMMENT
MEDIUM.github/workflows/cli.yaml9 # doesn't drag along a stable rebuild of every microservice. The publishedCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMhelm/values-custom.example.yaml3# This file is for non-secret values (hosts, URLs, database names, etc.)COMMENT
MEDIUMhelm/templates/console.yaml56 # Create the events-log ClickHouse tables (powers Live Events).COMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHhelm/tests/test_dev_tunnel.py73except ProcessLookupError:CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcli/jitsu-cli/src/lib/body-fields.ts4// as ad-hoc body fields, but Commander would reject unknown options. The simplest robustCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWbulker/connectors/airbytecdk/cmdparser.go36// Example usageCOMMENT
LOWhelm/values-custom.example.yaml5# Usage:COMMENT
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMbulker/sync-sidecar/read.go500 s.errprint("Error posting events log: %v", err)CODE