Repository Analysis

HeyPuter/puter

🌐 The Internet Computer! Free, Open-Source, and Self-Hostable.

5.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of HeyPuter/puter, a TypeScript project with 43,295 GitHub stars. SynthScan v2.0 examined 503,155 lines of code across 1573 source files, recording 1054 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 5.3 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

5.3
Adjusted Score
5.3
Raw Score
100%
Time Factor
2026-08-28
Last Push
43.3K
Stars
TypeScript
Language
503.2K
Lines of Code
1.6K
Files
1.1K
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 3HIGH 4MEDIUM 783LOW 264

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1054 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators777 hits · 2296 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh56# ── Step 1: dependency check ────────────────────────────────────────COMMENT
MEDIUMinstall.sh64# ── Step 2: install dir ─────────────────────────────────────────────COMMENT
MEDIUMinstall.sh82# ── Step 3: docker-compose.yml + Caddy config ──────────────────────COMMENT
MEDIUMinstall.sh100# ── Step 4: secrets, .env, config.json ──────────────────────────────COMMENT
MEDIUMinstall.sh220# ── Step 5: bring it up ─────────────────────────────────────────────COMMENT
MEDIUMdocker-compose.yml168 # ── Optional: local LLM ───────────────────────────────────────────COMMENT
MEDIUMsrc/dev-center/js/apps.js3047// ── App Users modal ──────────────────────────────────────────────COMMENT
MEDIUMsrc/puter-js/tests/api/suites/ai.suite.ts362 // ── Unified driver routing ──────────────────────────────────────COMMENT
MEDIUMsrc/backend/extensions.test.ts99// ── Registry writers ─────────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/extensions.test.ts152// ── Event subscription ───────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/extensions.test.ts180// ── Route registration ───────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/extensions.test.ts313// ── Import proxy ─────────────────────────────────────────────────────COMMENT
MEDIUM…c/backend/clients/database/MySQLDatabaseClient.test.ts183// ── Replica read failover ───────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/driverPolicies.test.ts63// ── Non-AI drivers (migrated from hardcoded-permissions) ────────────COMMENT
MEDIUMsrc/backend/drivers/driverPolicies.test.ts275// ── Iface coordination cross-check ──────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/driverPolicies.test.ts291// ── Cross-driver invariants ────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts38// ── validateDriverRateLimit ─────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts149// ── resolveDriverMethodRateLimit ────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts188// ── @Driver decorator: rateLimit propagation ────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts277// ── validateDriverConcurrent ────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts346// ── resolveDriverMethodConcurrent ───────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts377// ── @Driver — concurrent option ─────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts446// ── requireSubscription ─────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts550// ── requireReputation ───────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/ai-ocr/OCRDriver.test.ts57// ── SDK mocks ───────────────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/ai-ocr/OCRDriver.test.ts99// ── Test harness ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/ai-ocr/OCRDriver.test.ts177// ── getReportedCosts ────────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/ai-ocr/OCRDriver.test.ts195// ── Argument validation ─────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/ai-ocr/OCRDriver.test.ts239// ── AWS Textract ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/ai-ocr/OCRDriver.test.ts374// ── Mistral OCR ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/ai-ocr/OCRDriver.test.ts588// ── Default provider selection ──────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/kv/KVStoreDriver.test.ts1498 // ── Budget enforcement ───────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/util/fileInput.test.ts29// ── Test harness ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/util/fileInput.test.ts113// ── inferFilenameFromUrlOrPath ─────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/util/fileInput.test.ts145// ── loadFileInput — argument validation ─────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/util/fileInput.test.ts192// ── loadFileInput — data URL path ───────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/util/fileInput.test.ts272// ── loadFileInput — FS path ─────────────────────────────────────────COMMENT
MEDIUM…ackend/drivers/notification/NotificationDriver.test.ts28// ── Test harness ────────────────────────────────────────────────────COMMENT
MEDIUM…ackend/drivers/notification/NotificationDriver.test.ts75// ── create ──────────────────────────────────────────────────────────COMMENT
MEDIUM…ackend/drivers/notification/NotificationDriver.test.ts136// ── read ────────────────────────────────────────────────────────────COMMENT
MEDIUM…ackend/drivers/notification/NotificationDriver.test.ts184// ── select / predicates ─────────────────────────────────────────────COMMENT
MEDIUM…ackend/drivers/notification/NotificationDriver.test.ts274// ── mark_shown / mark_acknowledged ─────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts57// ── Test harness ────────────────────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts103// ── Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts127// ── Model catalog ───────────────────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts180// ── Auth + model resolution ─────────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts357// ── Happy path: events + cost emission ──────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts523// ── Validation event routing ────────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts580// ── Credit gate + max_tokens cap ────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts772// ── Normalisation ───────────────────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts826// ── Fallback / error envelope ───────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts893// ── Streaming ───────────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts58// ── OpenAI SDK mock ─────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts81// ── imageHandling stub ──────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts91// ── Test harness ────────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts152// ── Construction ────────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts165// ── Model catalog ───────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts192// ── Request shape ───────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts348// ── Image inlining for vision models ────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts406// ── Model resolution ────────────────────────────────────────────────COMMENT
717 more matches not shown…
Over-Commented Block159 hits · 158 pts
SeverityFileLineSnippetContext
LOWinstall.sh1#!/usr/bin/env shCOMMENT
LOWinstall.sh21# PUTER_URL base URL to fetch docker-compose.yml (default: GitHub raw, main branch)COMMENT
LOWinstall.sh61docker compose version >/dev/null 2>&1 \COMMENT
LOWdocker-compose.yml1---COMMENT
LOWdocker-compose.yml21# grabs this file, generates secrets, writes .env + config.json, and runsCOMMENT
LOWdocker-compose.yml161 echo "bucket $$bucket already exists"COMMENT
LOWdocker-compose.yml281 ports:COMMENT
LOW.github/workflows/backend-tests.yaml21permissions:COMMENT
LOWsrc/dev-center/js/apps.js1921 `/${auth_username}/AppData/${dev_center_uid}/${app.uid ?? app.uuid}`,COMMENT
LOWsrc/puter-js/test/aiProviders.test.js1/* eslint-disable */COMMENT
LOWsrc/puter-js/test/signin.test.js1/* eslint-disable */COMMENT
LOWsrc/puter-js/tests/e2e/specs/requestPermission.spec.js741 // it, and the severing instead surfaces as `popup.closed` flipping trueCOMMENT
LOWsrc/puter-js/tests/e2e/specs/requestPermission.spec.js1201 await expect(page.locator('dialog.perm-dialog')).toHaveCount(0);COMMENT
LOWsrc/puter-js/src/lib/networkUtils.js361const RETRYABLE_STATUS = new Set([502, 503, 504]);COMMENT
LOWsrc/puter-js/src/modules/UI.js461 itemWatchCallbackFunctions = [];COMMENT
LOWsrc/puter-js/src/modules/UI.js481 #onItemsOpened;COMMENT
LOWsrc/puter-js/src/modules/UI.js1801 requested.length > MAX_REQUESTED_PERMISSIONS ||COMMENT
LOWsrc/puter-js/src/modules/UI.js1821 try {COMMENT
LOWsrc/puter-js/src/modules/UI.js1901 const watchPopup = (popup) => {COMMENT
LOWsrc/puter-js/src/modules/UI.js1921 pollDecision();COMMENT
LOWsrc/puter-js/src/modules/UI.js1941 // navigation commits the severing whenever it commits.COMMENT
LOWsrc/puter-js/src/modules/UI.js2021 // Transient network failure, or this attempt's abort; keepCOMMENT
LOWsrc/puter-js/src/modules/UI.js2181 // A severed opener relationship (COOP) means the popup can'tCOMMENT
LOWsrc/puter-js/src/modules/UI.js2441 // falls back to the consent dialog to obtain one when not), notices theCOMMENT
LOW…r-js/src/modules/FileSystem/operations/upload/index.js121 // We need to check the storage capacity before the upload starts becauseCOMMENT
LOWsrc/backend/server.ts241COMMENT
LOWsrc/backend/server.ts541 }),COMMENT
LOWsrc/backend/server.ts781 createNotFoundHandler({ guiDomain: this.#config.domain }),COMMENT
LOWsrc/backend/server.ts801 // SKIP_ALERT_PREFIXES override the 5xx rule the otherCOMMENT
LOWsrc/backend/server.ts921 reputationRequirement !== undefined &&COMMENT
LOWsrc/backend/server.ts981COMMENT
LOWsrc/backend/server.ts1001 // when an app acts on the user's behalf. `requireVerifiedGate` readsCOMMENT
LOWsrc/backend/clients/database/SQLBatcher.js361COMMENT
LOWsrc/backend/clients/event/types.ts521 // `sent-to-user.<wireName>` so per-user channels can subscribe by wire name.COMMENT
LOWsrc/backend/drivers/callableMethods.test.ts21import { puterDrivers } from './index.js';COMMENT
LOWsrc/backend/drivers/util/aiLimits.ts21 DEFAULT_FREE_SUBSCRIPTION,COMMENT
LOW…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts861 it('re-reads the balance between fallback attempts so a parallel request that drains the wallet aborts the chain', aCOMMENT
LOWsrc/backend/drivers/ai-chat/ChatCompletionDriver.ts1341 : entry.aliases;COMMENT
LOWsrc/backend/drivers/ai-chat/providers/azure/models.ts21COMMENT
LOW…/backend/drivers/ai-video/providers/byteplus/models.ts61// not exposed through this driver) and the create-task API referenceCOMMENT
LOWsrc/backend/drivers/subdomain/SubdomainDriver.ts181 // A name some other user's app still points at is not free either.COMMENT
LOWsrc/backend/drivers/subdomain/SubdomainDriver.ts601COMMENT
LOWsrc/backend/drivers/apps/AppDriver.js81// with one of these strings skips the uniqueness check so multiple rowsCOMMENT
LOWsrc/backend/drivers/apps/AppDriver.js641 // 4. `/app-icon/<uid>` endpoint URL (relative, or absoluteCOMMENT
LOWsrc/backend/drivers/apps/AppDriver.js981 if (params.icon_size) {COMMENT
LOWsrc/backend/core/reputation.ts21import { isSystemActor, type Actor } from './actor';COMMENT
LOWsrc/backend/core/http/types.ts421COMMENT
LOWsrc/backend/core/http/middleware/rateLimit.js221 const { res } = await kv.list({COMMENT
LOWsrc/backend/core/http/middleware/rateLimit.js261 },COMMENT
LOWsrc/backend/core/http/middleware/privateAppGate.test.ts801 sessionCookieName: 'puter_auth_token',COMMENT
LOWsrc/backend/core/http/middleware/puterSite.test.ts21import type { Request, Response } from 'express';COMMENT
LOWsrc/backend/core/http/middleware/puterSite.test.ts861 );COMMENT
LOWsrc/backend/core/http/middleware/authProbe.ts201 }COMMENT
LOWsrc/backend/util/appIcon.ts21// than the `puter-app-icons` subdomain directly. Some apps (especially thoseCOMMENT
LOWsrc/backend/util/nodeFetchDispatcherGuard.ts21// dispatcher slot — `Symbol.for('undici.globalDispatcher.1')`, shared withCOMMENT
LOWsrc/backend/util/nodeFetchDispatcherGuard.ts41 // data: fetch cannot fail meaningfully; if it ever does, the slot isCOMMENT
LOWsrc/backend/util/nativeImport.ts21// analysis, but the resulting function inherits a vm context with noCOMMENT
LOWsrc/backend/stores/app/AppStore.js41const FILETYPE_CACHE_TTL_SECONDS = 60;COMMENT
LOWsrc/backend/stores/app/AppStore.js81 year: 'toStartOfYear(fromUnixTimestamp(ts))',COMMENT
LOWsrc/backend/stores/user/UserStore.ts121 (typeof err.code === 'string' &&COMMENT
99 more matches not shown…
Hyper-Verbose Identifiers50 hits · 52 pts
SeverityFileLineSnippetContext
LOWextensions/thumbnails.ts124async function decodeAndValidateThumbnail(CODE
LOWsrc/dev-center/js/apps.js2706function getDefaultPreviewImagesState () {CODE
LOWsrc/dev-center/js/apps.js2714function createPreviewThumbElement (item) {CODE
LOWsrc/puter-js/test/index.html1220 function updateMasterCheckboxState() {CODE
LOWsrc/puter-js/src/modules/EmailConfirmationDialog.js257export function showEmailConfirmationDialog (message) {CODE
LOWsrc/backend/drivers/meta.ts201export function resolveDriverMethodRateLimit(CODE
LOWsrc/backend/drivers/meta.ts303export function resolveDriverMethodConcurrent(CODE
LOWsrc/backend/drivers/meta.ts329export function validateDriverRequireSubscription(CODE
LOWsrc/backend/drivers/meta.ts369export function resolveDriverMethodRequireSubscription(CODE
LOWsrc/backend/drivers/meta.ts396export function validateDriverRequireReputation(CODE
LOWsrc/backend/drivers/meta.ts436export function resolveDriverMethodRequireReputation(CODE
LOWsrc/backend/drivers/util/fileInput.ts262export function inferFilenameFromUrlOrPath(CODE
LOWsrc/backend/drivers/ai-video/creditCap.ts58export async function capSecondsToRemainingCredits({CODE
LOWsrc/backend/drivers/ai-speech2txt/providerAliases.ts55export function normalizeSpeechToTextProvider(CODE
LOWsrc/backend/drivers/subdomain/SubdomainDriver.ts871function mapEntryToSubdomainRootDir(entry: FSEntry): Record<string, unknown> {CODE
LOWsrc/backend/core/http/middleware/rateLimit.js476export function listConfiguredRateLimitBackends() {CODE
LOWsrc/backend/core/http/middleware/rateLimit.js548export function computeNetworkFingerprint(req) {CODE
LOWsrc/backend/core/http/middleware/privateAppGate.ts191export async function resolveOwnedAppForHostedSite(opts: {CODE
LOWsrc/backend/core/http/middleware/privateAppGate.ts471export async function resolvePublicHostedIdentity(opts: {CODE
LOWsrc/backend/util/hostedAppBacking.ts59function normalizeHostedDomainValue(domainValue: unknown): string | null {CODE
LOWsrc/backend/util/hostedAppBacking.ts68function normalizeConfiguredHostedDomain(domainValue: unknown): string | null {CODE
LOWsrc/backend/util/hostedAppBacking.ts74function configuredHostedDomainValues(CODE
LOWsrc/backend/util/hostedAppBacking.ts105export function buildHostedSubdomainIndexUrlCandidates(CODE
LOWsrc/backend/util/hostedAppBacking.ts149export function extractPuterHostedSubdomain(CODE
LOWsrc/backend/util/hostedAppBacking.ts187export async function hostedIndexUrlBackingIsUnavailable({CODE
LOWsrc/backend/util/cardFallback.ts77export function cardFallbackAfterAttempts(CODE
LOWsrc/backend/util/cardFallback.ts115export function resetCardVerificationStatusCache(): void {CODE
LOWsrc/backend/util/inlineContentSecurity.ts38export function applyInlineContentSecurity(CODE
LOWsrc/backend/util/privateLaunchAccess.ts106export async function resolvePrivateLaunchAccess({CODE
LOWsrc/backend/stores/fs/pendingUploadSessionHelpers.ts30export function toPendingUploadSessionKey(sessionId: string): string {CODE
LOWsrc/backend/stores/fs/pendingUploadSessionHelpers.ts34export function toPendingUploadSessionExpiresAtSeconds(CODE
LOWsrc/backend/stores/fs/pendingUploadSessionHelpers.ts95export function normalizePendingUploadSession(CODE
LOWsrc/backend/stores/fs/pendingUploadSessionHelpers.ts133export function withPendingUploadSessionStatus(CODE
LOWsrc/backend/controllers/oidc/OIDCController.ts101function sharedPathsFromReturnQuery(query: string): string[] | null {CODE
LOWsrc/backend/controllers/fs/legacyFsHelpers.ts330function mapAppForLegacyAssociatedApp(CODE
LOWsrc/backend/controllers/fs/legacyFsHelpers.ts549export function signingConfigFromAppConfig(config: IConfig): SigningConfig {CODE
LOWsrc/docs/build.js114function createDirectoryRecursively (directoryPath) {CODE
LOWsrc/docs/build.js121function removeDirectoryRecursively (directoryPath) {CODE
LOWsrc/docs/build.js165function generateSearchTriggerHTML () {CODE
LOWsrc/docs/build.js194function generateTableOfContentsHTML (htmlContent, title) {CODE
LOWsrc/docs/build.js248function generatePlatformCompatibilityHTML (frontMatter) {CODE
LOWsrc/docs/build.js696function getDescriptionFromMarkdown (sourcePath) {CODE
LOWsrc/mcp-connector/src/oauth.js139function protectedResourceMetadata(event) {CODE
LOWsrc/gui/src/UI/UIWindowEmailConfirmationRequired.js23function UIWindowEmailConfirmationRequired (options) {CODE
LOWsrc/gui/src/UI/UIWindowPhoneVerificationRequired.js74function UIWindowPhoneVerificationRequired(options) {CODE
LOWsrc/gui/src/UI/UIWindowCardVerificationRequired.js61function UIWindowCardVerificationRequired(options) {CODE
LOWsrc/gui/src/UI/UIWindowDesktopBGSettings.js22async function UIWindowDesktopBGSettings (options) {CODE
LOWsrc/gui/src/UI/Settings/UIWindowConfirmUserDeletion.js23async function UIWindowConfirmUserDeletion (options) {CODE
LOWsrc/gui/src/UI/Settings/UIWindowFinalizeUserDeletion.js23async function UIWindowFinalizeUserDeletion (options) {CODE
LOWsrc/gui/src/helpers/notificationApi.js39export async function markNotificationAcknowledged (uid) {CODE
Verbosity Indicators18 hits · 36 pts
SeverityFileLineSnippetContext
LOWsrc/dev-center/js/websites.js57 // Step 1: Show directory pickerCOMMENT
LOWsrc/dev-center/js/websites.js67 // Step 2: Ask for website nameCOMMENT
LOWsrc/dev-center/js/websites.js71 // Step 3: Create website with selected directoryCOMMENT
LOWsrc/dev-center/js/websites.js447 // Step 1: Show directory pickerCOMMENT
LOWsrc/dev-center/js/websites.js454 // Step 2: Confirm the change since it will replace the current websiteCOMMENT
LOWsrc/dev-center/js/websites.js474 // Step 3: Show loading spinnerCOMMENT
LOWsrc/dev-center/js/websites.js478 // Step 4: Delete the existing websiteCOMMENT
LOWsrc/dev-center/js/websites.js481 // Step 5: Create a new website with the same name but new directoryCOMMENT
LOWsrc/dev-center/js/websites.js484 // Step 6: Refresh the websites list to show the updated directoryCOMMENT
LOWsrc/dev-center/js/websites.js487 // Step 7: Show success messageCOMMENT
LOWsrc/dev-center/js/workers.js75 // Step 1: Show file picker limited to .js filesCOMMENT
LOWsrc/dev-center/js/workers.js87 // Step 2: Ask for worker nameCOMMENT
LOWsrc/dev-center/js/workers.js91 // Step 3: Create worker with selected fileCOMMENT
LOWsrc/puter-js/test/ai.test.js113 // For streaming, we need to check if it's an async iterator or has a different structureCOMMENT
LOWsrc/docs/src/playground/examples/ai-image-edit.html8 // Step 1: Generate initial imageCOMMENT
LOWsrc/docs/src/playground/examples/ai-image-edit.html23 // Step 2: Edit the image in a follow-up turnCOMMENT
LOWsrc/gui/src/index.js58 // window.disable_temp_users might be set somewhere else, so we need to check if it is already set and if not, use tCOMMENT
LOWsrc/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js17258 // IE sets focus asynchronously, so we need to check if focusCOMMENT
Structural Annotation Overuse17 hits · 34 pts
SeverityFileLineSnippetContext
LOWsrc/dev-center/js/websites.js57 // Step 1: Show directory pickerCOMMENT
LOWsrc/dev-center/js/websites.js67 // Step 2: Ask for website nameCOMMENT
LOWsrc/dev-center/js/websites.js71 // Step 3: Create website with selected directoryCOMMENT
LOWsrc/dev-center/js/websites.js447 // Step 1: Show directory pickerCOMMENT
LOWsrc/dev-center/js/websites.js454 // Step 2: Confirm the change since it will replace the current websiteCOMMENT
LOWsrc/dev-center/js/websites.js474 // Step 3: Show loading spinnerCOMMENT
LOWsrc/dev-center/js/websites.js478 // Step 4: Delete the existing websiteCOMMENT
LOWsrc/dev-center/js/websites.js481 // Step 5: Create a new website with the same name but new directoryCOMMENT
LOWsrc/dev-center/js/websites.js484 // Step 6: Refresh the websites list to show the updated directoryCOMMENT
LOWsrc/dev-center/js/websites.js487 // Step 7: Show success messageCOMMENT
LOWsrc/dev-center/js/workers.js75 // Step 1: Show file picker limited to .js filesCOMMENT
LOWsrc/dev-center/js/workers.js87 // Step 2: Ask for worker nameCOMMENT
LOWsrc/dev-center/js/workers.js91 // Step 3: Create worker with selected fileCOMMENT
LOWsrc/docs/src/playground/examples/ai-image-edit.html8 // Step 1: Generate initial imageCOMMENT
LOWsrc/docs/src/playground/examples/ai-image-edit.html23 // Step 2: Edit the image in a follow-up turnCOMMENT
LOWsrc/docs/src/AI/chat.md705 // Step 1: Generate initial imageCOMMENT
LOWsrc/docs/src/AI/chat.md720 // Step 2: Edit the image in a follow-up turnCOMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALsrc/dev-center/js/libs/jquery-3.6.0.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALsrc/gui/src/lib/jquery-3.6.1/jquery-3.6.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALsrc/gui/src/lib/jquery-ui-1.13.2/jquery-ui.min.js6!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict"CODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHsrc/puter-js/src/modules/Workers.js192 // envelope from the backend, exactly as requested.COMMENT
HIGHsrc/backend/controllers/puterai/PuterAIController.ts178 // Reverse-proxies AI-generated video URLs that can't be givenCOMMENT
HIGHsrc/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js8706 // Format a name, short or long as requestedCOMMENT
Fake / Example Data19 hits · 19 pts
SeverityFileLineSnippetContext
LOWsrc/puter-js/tests/api/suites/components.suite.ts431 prompt.setAttribute('placeholder', 'e.g. Ada');CODE
LOWsrc/puter-js/tests/e2e/specs/requestAppData.spec.js62 phone: { value: '555-0101' },CODE
LOWsrc/puter-js/tests/e2e/specs/requestAppData.spec.js167 seed: { phone: { value: '555-0101' } },CODE
LOWsrc/puter-js/src/ui/components/PuterPrompt.js153 const placeholder = this.getAttribute('placeholder') || '';CODE
LOWsrc/puter-js/src/modules/UI.js1150 if ( placeholder ) el.setAttribute('placeholder', placeholder);CODE
LOWsrc/backend/drivers/kv/KVStoreDriver.readCache.test.ts42 email: 'test@test.com',CODE
LOWsrc/backend/drivers/kv/KVStoreDriver.test.ts43 email: 'test@test.com',CODE
LOWsrc/backend/drivers/workers/WorkerDriver.test.ts38 email: 'test@test.com',CODE
LOWsrc/docs/src/UI/prompt.md34 puter.ui.prompt('Please enter your name:', 'John Doe').then((resp) => {CODE
LOWsrc/docs/src/playground/examples/ui-prompt.html5 puter.ui.prompt('Please enter your name:', 'John Doe').then((resp) => {CODE
LOWsrc/docs/src/playground/examples/workers-exec.html187 profile: { name: 'John Doe', email: 'john@example.com' },CODE
LOWsrc/gui/src/UI/UIWindowPhoneVerificationRequired.js653 if (inp) inp.setAttribute('placeholder', phone_example_for(c.iso) || '');CODE
LOWsrc/gui/src/UI/UIQRCode.js78 if ( options.appendTo && options.appendTo.$ === 'placeholder' ) {CODE
LOWsrc/gui/src/UI/UIQRCode.js93 if ( destination && destination.$ === 'placeholder' ) {CODE
LOWsrc/gui/src/util/Placeholder.js42 $: 'placeholder',CODE
LOWsrc/gui/src/util/Component.js160 if ( destination.$ === 'placeholder' ) {CODE
LOWsrc/gui/src/lib/jquery-ui-1.13.2/jquery-ui.min.js6!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict"CODE
LOWsrc/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js2591 element.data( dataSpace + "placeholder", placeholder );CODE
LOWsrc/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js2604 var dataKey = dataSpace + "placeholder",CODE
Excessive Try-Catch Wrapping5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMsrc/docs/src/FS.md90 puter.print('Error creating directory:', error);CODE
MEDIUM…/docs/src/playground/examples/fs-write-from-input.html11 puter.print('Error writing file:', error);CODE
MEDIUMsrc/docs/src/playground/examples/fs-mkdir.html10 puter.print('Error creating directory:', error);CODE
MEDIUMsrc/docs/src/FS/mkdir.md51 puter.print('Error creating directory:', error);CODE
MEDIUMsrc/docs/src/FS/write.md76 puter.print('Error writing file:', error);CODE
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/gui/src/i18n/translations/nn.js187 confirm_2fa_setup: 'Eg har lagt til koden i autentikatorappen min', // In English: "I have added the code to my CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…puter-js/src/modules/FileSystem/operations/scaffold.js1// Shared scaffold for the filesystem operations in this directory.COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinstall.sh4# Usage:COMMENT