Repository Analysis

HeyPuter/puter

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

6.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of HeyPuter/puter, a TypeScript project with 42,713 GitHub stars. SynthScan v2.0 examined 345,616 lines of code across 1163 source files, recording 871 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 6.7 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).

6.7
Adjusted Score
6.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
42.7K
Stars
TypeScript
Language
345.6K
Lines of Code
1.2K
Files
871
Pattern Hits
2026-07-14
Scan Date
0.01
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 695LOW 169

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 871 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 Separators690 hits · 2040 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh53# ── Step 1: dependency check ────────────────────────────────────────COMMENT
MEDIUMinstall.sh61# ── Step 2: install dir ─────────────────────────────────────────────COMMENT
MEDIUMinstall.sh79# ── Step 3: docker-compose.yml + nginx config ──────────────────────COMMENT
MEDIUMinstall.sh95# ── Step 4: secrets, .env, config.json ──────────────────────────────COMMENT
MEDIUMinstall.sh193# ── Step 5: bring it up ─────────────────────────────────────────────COMMENT
MEDIUMdocker-compose.yml167 # ── Optional: local LLM ───────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/driverPolicies.test.ts62// ── Non-AI drivers (migrated from hardcoded-permissions) ────────────COMMENT
MEDIUMsrc/backend/drivers/driverPolicies.test.ts155// ── Iface coordination cross-check ──────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts32// ── validateDriverRateLimit ─────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts143// ── resolveDriverMethodRateLimit ────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts182// ── @Driver decorator: rateLimit propagation ────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts271// ── validateDriverConcurrent ────────────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts340// ── resolveDriverMethodConcurrent ───────────────────────────────────COMMENT
MEDIUMsrc/backend/drivers/meta.test.ts371// ── @Driver — concurrent option ─────────────────────────────────────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.ts571// ── Default provider selection ──────────────────────────────────────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.ts257// ── Happy path: events + cost emission ──────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts423// ── Validation event routing ────────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts480// ── Credit gate + max_tokens cap ────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts624// ── Normalisation ───────────────────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts678// ── Fallback / error envelope ───────────────────────────────────────COMMENT
MEDIUM…c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts744// ── 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.ts334// ── Image inlining for vision models ────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts392// ── Model resolution ────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts466// ── Non-stream completion ───────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts596// ── Streaming deltas ────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts727// ── Error mapping ───────────────────────────────────────────────────COMMENT
MEDIUM…rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts750// ── Moderation ──────────────────────────────────────────────────────COMMENT
MEDIUM…/ai-chat/providers/together/TogetherAIProvider.test.ts57// ── Together SDK mock ───────────────────────────────────────────────COMMENT
MEDIUM…/ai-chat/providers/together/TogetherAIProvider.test.ts78// ── Test harness ────────────────────────────────────────────────────COMMENT
MEDIUM…/ai-chat/providers/together/TogetherAIProvider.test.ts173// ── Construction ────────────────────────────────────────────────────COMMENT
MEDIUM…/ai-chat/providers/together/TogetherAIProvider.test.ts183// ── Model catalog ──────────────────────────────────────────────────COMMENT
MEDIUM…/ai-chat/providers/together/TogetherAIProvider.test.ts221// ── Request shape ──────────────────────────────────────────────────COMMENT
MEDIUM…/ai-chat/providers/together/TogetherAIProvider.test.ts344// ── Model resolution ────────────────────────────────────────────────COMMENT
MEDIUM…/ai-chat/providers/together/TogetherAIProvider.test.ts399// ── Non-stream completion ───────────────────────────────────────────COMMENT
630 more matches not shown…
Over-Commented Block81 hits · 81 pts
SeverityFileLineSnippetContext
LOWinstall.sh1#!/usr/bin/env shCOMMENT
LOWinstall.sh21# PUTER_DOMAIN domain Puter will serve on (default: puter.localhost)COMMENT
LOWinstall.sh61# ── Step 2: install dir ─────────────────────────────────────────────COMMENT
LOWdocker-compose.yml1---COMMENT
LOWdocker-compose.yml21# grabs this file, generates secrets, writes .env + config.json, and runsCOMMENT
LOWdocker-compose.yml161 elseCOMMENT
LOWsrc/puter-js/src/index.js501 try {COMMENT
LOWsrc/puter-js/src/lib/path.js1// import {cwd} from './env.js'COMMENT
LOWsrc/puter-js/src/lib/utils.js441 xhr._puterDriverRequestInfo = requestInfo;COMMENT
LOWsrc/puter-js/src/modules/AI.js221 // language: "en-US"COMMENT
LOWsrc/puter-js/src/modules/UI.js161 #parentAppConnection = null;COMMENT
LOWsrc/puter-js/src/modules/Drivers.js241 // For example:COMMENT
LOWsrc/backend/server.ts221 // Anti-CSRF tokens live in redis so they survive cross-node hopsCOMMENT
LOWsrc/backend/server.ts701 createErrorHandler({COMMENT
LOWsrc/backend/server.ts801 // that subdomain(s). Routes WITHOUT a `subdomain` option (and thatCOMMENT
LOWsrc/backend/server.ts861 // `requireVerified` intentionally does NOT imply `requireUserActor`:COMMENT
LOWsrc/backend/server.ts921 // 2c. Captcha verification. Reads captchaToken + captchaAnswerCOMMENT
LOWsrc/backend/clients/event/types.ts381 // EVERY driver call under a key scoped to the interface + method:COMMENT
LOWsrc/backend/drivers/util/aiLimits.ts21 DEFAULT_FREE_SUBSCRIPTION,COMMENT
LOWsrc/backend/drivers/ai-chat/providers/azure/models.ts21COMMENT
LOWsrc/backend/drivers/subdomain/SubdomainDriver.ts501 }COMMENT
LOWsrc/backend/drivers/apps/AppDriver.js521 allowEmpty: true,COMMENT
LOWsrc/backend/drivers/apps/AppDriver.js901 if (!privateAccess.hasAccess) {COMMENT
LOWsrc/backend/core/http/middleware/privateAppGate.test.ts761 expectedAppUid: `app-target-${uuidv4()}`,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/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 APP_ID_PROPERTIES = ['id', 'uid', 'name'];COMMENT
LOWsrc/backend/stores/app/AppStore.js81// Categories:COMMENT
LOWsrc/backend/stores/subdomain/SubdomainStore.js21import { PuterStore } from '../types';COMMENT
LOWsrc/backend/stores/permission/PermissionStore.ts561 'WHERE issuer_user_id = ? AND holder_user_id = ? AND permission LIKE ?',COMMENT
LOWsrc/backend/stores/session/SessionStore.js21import { PuterStore } from '../types';COMMENT
LOWsrc/backend/stores/session/SessionStore.js41const TOUCH_THROTTLE_MAX_ENTRIES = 10000;COMMENT
LOWsrc/backend/controllers/drivers/DriverController.ts321 void handle.release();COMMENT
LOWsrc/backend/controllers/auth/AuthController.ts621 }COMMENT
LOWsrc/backend/controllers/auth/AuthController.ts681 // Set by the abuse harness for low-reputation signups: the account isCOMMENT
LOWsrc/backend/controllers/auth/AuthController.ts1181 // -- SMS-to-card fallback -----------------------------------------COMMENT
LOWsrc/backend/controllers/oidc/OIDCController.test.ts41// Boots one real PuterServer with a custom OIDC provider configured,COMMENT
LOWsrc/backend/controllers/fs/LegacyFSController.ts1741 });COMMENT
LOWsrc/backend/controllers/apps/AppController.js341 // default icon is SVG — but SVGs can carry `<script>` tagsCOMMENT
LOWsrc/backend/controllers/share/ShareController.ts41 // router.post(COMMENT
LOWsrc/backend/controllers/share/ShareController.ts61 // }COMMENT
LOWsrc/backend/controllers/share/ShareController.ts81 // };COMMENT
LOWsrc/backend/controllers/share/ShareController.ts101 // // Email must be confirmedCOMMENT
LOWsrc/backend/controllers/share/ShareController.ts121 // );COMMENT
LOWsrc/backend/controllers/share/ShareController.ts141 // };COMMENT
LOWsrc/backend/controllers/share/ShareController.ts161 // // -- POST /sharelink/request -------------------------------------COMMENT
LOWsrc/backend/controllers/share/ShareController.ts181 // actor.user.email_confirmed &&COMMENT
LOWsrc/backend/controllers/share/ShareController.ts201 // (share.data as Record<string, unknown>)?.permissions ??COMMENT
LOWsrc/backend/controllers/share/ShareController.ts221COMMENT
LOWsrc/backend/controllers/share/ShareController.ts241 // }COMMENT
LOWsrc/backend/controllers/share/ShareController.ts261 // );COMMENT
LOWsrc/backend/controllers/share/ShareController.ts281 // permissions: permissions.map(COMMENT
LOWsrc/backend/controllers/share/ShareController.ts301 // metadata: body.metadata ?? {},COMMENT
LOWsrc/backend/controllers/share/ShareController.ts321 // html: `<p>${actor.user.username} shared items with you.</p><p><a href="${origin}?sharCOMMENT
LOWsrc/backend/controllers/share/ShareController.ts341COMMENT
LOWsrc/backend/controllers/share/ShareController.ts361 // * Convert share declarations into a flat permission list.COMMENT
21 more matches not shown…
Hyper-Verbose Identifiers37 hits · 37 pts
SeverityFileLineSnippetContext
LOWextensions/thumbnails.ts75async function decodeAndValidateThumbnail(CODE
LOWsrc/dev-center/js/apps.js2692function getDefaultPreviewImagesState () {CODE
LOWsrc/dev-center/js/apps.js2700function createPreviewThumbElement (item) {CODE
LOWsrc/puter-js/test/index.html1131 function updateMasterCheckboxState() {CODE
LOWsrc/puter-js/src/lib/socket.io/socket.io.js469 function createPacketEncoderStream() {CODE
LOWsrc/puter-js/src/lib/socket.io/socket.io.js524 function createPacketDecoderStream(maxPayload, binaryType) {CODE
LOWsrc/puter-js/src/modules/EmailConfirmationDialog.js257export function showEmailConfirmationDialog (message) {CODE
LOWsrc/backend/drivers/meta.ts189export function resolveDriverMethodRateLimit(CODE
LOWsrc/backend/drivers/meta.ts291export function resolveDriverMethodConcurrent(CODE
LOWsrc/backend/drivers/util/fileInput.ts263export function inferFilenameFromUrlOrPath(CODE
LOWsrc/backend/drivers/subdomain/SubdomainDriver.ts810function mapEntryToSubdomainRootDir(entry: FSEntry): Record<string, unknown> {CODE
LOWsrc/backend/core/http/middleware/rateLimit.js353export function listConfiguredRateLimitBackends() {CODE
LOWsrc/backend/core/http/middleware/rateLimit.js428export function computeNetworkFingerprint(req) {CODE
LOWsrc/backend/core/http/middleware/privateAppGate.ts189export async function resolveOwnedAppForHostedSite(opts: {CODE
LOWsrc/backend/core/http/middleware/privateAppGate.ts474export async function resolvePublicHostedIdentity(opts: {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/fs/legacyFsHelpers.ts290function mapAppForLegacyAssociatedApp(CODE
LOWsrc/backend/controllers/fs/legacyFsHelpers.ts481export 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.js701function getDescriptionFromMarkdown (sourcePath) {CODE
LOWsrc/mcp-connector/src/oauth.js139function protectedResourceMetadata(event) {CODE
LOWsrc/gui/src/UI/UIWindowRequestPermission.js22async function UIWindowRequestPermission (options) {CODE
LOWsrc/gui/src/UI/UIWindowEmailConfirmationRequired.js23function UIWindowEmailConfirmationRequired (options) {CODE
LOWsrc/gui/src/UI/UIWindowPhoneVerificationRequired.js60function UIWindowPhoneVerificationRequired(options) {CODE
LOWsrc/gui/src/UI/UIWindowCardVerificationRequired.js49function 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
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.js103 // 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.md704 // Step 1: Generate initial imageCOMMENT
LOWsrc/docs/src/AI/chat.md719 // 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
Fake / Example Data15 hits · 15 pts
SeverityFileLineSnippetContext
LOWsrc/puter-js/src/ui/components/PuterPrompt.js153 const placeholder = this.getAttribute('placeholder') || '';CODE
LOWsrc/puter-js/src/modules/UI.js744 if ( placeholder ) el.setAttribute('placeholder', placeholder);CODE
LOWsrc/backend/drivers/kv/KVStoreDriver.test.ts37 email: 'test@test.com',CODE
LOWsrc/backend/drivers/workers/WorkerDriver.test.ts37 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.js519 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
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHsrc/backend/controllers/puterai/PuterAIController.ts144 // 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
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
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/puter-js/types/puter.d.ts83 print(text: string, options?: { code?: boolean; escapeHTML?: boolean }): void;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
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinstall.sh4# Usage:COMMENT