🌐 The Internet Computer! Free, Open-Source, and Self-Hostable.
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | install.sh | 53 | # ── Step 1: dependency check ──────────────────────────────────────── | COMMENT |
| MEDIUM | install.sh | 61 | # ── Step 2: install dir ───────────────────────────────────────────── | COMMENT |
| MEDIUM | install.sh | 79 | # ── Step 3: docker-compose.yml + nginx config ────────────────────── | COMMENT |
| MEDIUM | install.sh | 95 | # ── Step 4: secrets, .env, config.json ────────────────────────────── | COMMENT |
| MEDIUM | install.sh | 193 | # ── Step 5: bring it up ───────────────────────────────────────────── | COMMENT |
| MEDIUM | docker-compose.yml | 167 | # ── Optional: local LLM ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/driverPolicies.test.ts | 62 | // ── Non-AI drivers (migrated from hardcoded-permissions) ──────────── | COMMENT |
| MEDIUM | src/backend/drivers/driverPolicies.test.ts | 155 | // ── Iface coordination cross-check ────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 32 | // ── validateDriverRateLimit ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 143 | // ── resolveDriverMethodRateLimit ──────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 182 | // ── @Driver decorator: rateLimit propagation ──────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 271 | // ── validateDriverConcurrent ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 340 | // ── resolveDriverMethodConcurrent ─────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 371 | // ── @Driver — concurrent option ───────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/ai-ocr/OCRDriver.test.ts | 57 | // ── SDK mocks ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/ai-ocr/OCRDriver.test.ts | 99 | // ── Test harness ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/ai-ocr/OCRDriver.test.ts | 177 | // ── getReportedCosts ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/ai-ocr/OCRDriver.test.ts | 195 | // ── Argument validation ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/ai-ocr/OCRDriver.test.ts | 239 | // ── AWS Textract ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/ai-ocr/OCRDriver.test.ts | 374 | // ── Mistral OCR ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/ai-ocr/OCRDriver.test.ts | 571 | // ── Default provider selection ────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/util/fileInput.test.ts | 29 | // ── Test harness ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/util/fileInput.test.ts | 113 | // ── inferFilenameFromUrlOrPath ───────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/util/fileInput.test.ts | 145 | // ── loadFileInput — argument validation ───────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/util/fileInput.test.ts | 192 | // ── loadFileInput — data URL path ─────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/util/fileInput.test.ts | 272 | // ── loadFileInput — FS path ───────────────────────────────────────── | COMMENT |
| MEDIUM | …ackend/drivers/notification/NotificationDriver.test.ts | 28 | // ── Test harness ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ackend/drivers/notification/NotificationDriver.test.ts | 75 | // ── create ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ackend/drivers/notification/NotificationDriver.test.ts | 136 | // ── read ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ackend/drivers/notification/NotificationDriver.test.ts | 184 | // ── select / predicates ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …ackend/drivers/notification/NotificationDriver.test.ts | 274 | // ── mark_shown / mark_acknowledged ───────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 57 | // ── Test harness ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 103 | // ── Helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 127 | // ── Model catalog ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 180 | // ── Auth + model resolution ───────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 257 | // ── Happy path: events + cost emission ────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 423 | // ── Validation event routing ──────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 480 | // ── Credit gate + max_tokens cap ──────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 624 | // ── Normalisation ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 678 | // ── Fallback / error envelope ─────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 744 | // ── Streaming ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 58 | // ── OpenAI SDK mock ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 81 | // ── imageHandling stub ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 91 | // ── Test harness ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 152 | // ── Construction ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 165 | // ── Model catalog ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 192 | // ── Request shape ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 334 | // ── Image inlining for vision models ──────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 392 | // ── Model resolution ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 466 | // ── Non-stream completion ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 596 | // ── Streaming deltas ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 727 | // ── Error mapping ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 750 | // ── Moderation ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/ai-chat/providers/together/TogetherAIProvider.test.ts | 57 | // ── Together SDK mock ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/ai-chat/providers/together/TogetherAIProvider.test.ts | 78 | // ── Test harness ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/ai-chat/providers/together/TogetherAIProvider.test.ts | 173 | // ── Construction ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/ai-chat/providers/together/TogetherAIProvider.test.ts | 183 | // ── Model catalog ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/ai-chat/providers/together/TogetherAIProvider.test.ts | 221 | // ── Request shape ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/ai-chat/providers/together/TogetherAIProvider.test.ts | 344 | // ── Model resolution ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/ai-chat/providers/together/TogetherAIProvider.test.ts | 399 | // ── Non-stream completion ─────────────────────────────────────────── | COMMENT |
| 630 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 1 | #!/usr/bin/env sh | COMMENT |
| LOW | install.sh | 21 | # PUTER_DOMAIN domain Puter will serve on (default: puter.localhost) | COMMENT |
| LOW | install.sh | 61 | # ── Step 2: install dir ───────────────────────────────────────────── | COMMENT |
| LOW | docker-compose.yml | 1 | --- | COMMENT |
| LOW | docker-compose.yml | 21 | # grabs this file, generates secrets, writes .env + config.json, and runs | COMMENT |
| LOW | docker-compose.yml | 161 | else | COMMENT |
| LOW | src/puter-js/src/index.js | 501 | try { | COMMENT |
| LOW | src/puter-js/src/lib/path.js | 1 | // import {cwd} from './env.js' | COMMENT |
| LOW | src/puter-js/src/lib/utils.js | 441 | xhr._puterDriverRequestInfo = requestInfo; | COMMENT |
| LOW | src/puter-js/src/modules/AI.js | 221 | // language: "en-US" | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 161 | #parentAppConnection = null; | COMMENT |
| LOW | src/puter-js/src/modules/Drivers.js | 241 | // For example: | COMMENT |
| LOW | src/backend/server.ts | 221 | // Anti-CSRF tokens live in redis so they survive cross-node hops | COMMENT |
| LOW | src/backend/server.ts | 701 | createErrorHandler({ | COMMENT |
| LOW | src/backend/server.ts | 801 | // that subdomain(s). Routes WITHOUT a `subdomain` option (and that | COMMENT |
| LOW | src/backend/server.ts | 861 | // `requireVerified` intentionally does NOT imply `requireUserActor`: | COMMENT |
| LOW | src/backend/server.ts | 921 | // 2c. Captcha verification. Reads captchaToken + captchaAnswer | COMMENT |
| LOW | src/backend/clients/event/types.ts | 381 | // EVERY driver call under a key scoped to the interface + method: | COMMENT |
| LOW | src/backend/drivers/util/aiLimits.ts | 21 | DEFAULT_FREE_SUBSCRIPTION, | COMMENT |
| LOW | src/backend/drivers/ai-chat/providers/azure/models.ts | 21 | COMMENT | |
| LOW | src/backend/drivers/subdomain/SubdomainDriver.ts | 501 | } | COMMENT |
| LOW | src/backend/drivers/apps/AppDriver.js | 521 | allowEmpty: true, | COMMENT |
| LOW | src/backend/drivers/apps/AppDriver.js | 901 | if (!privateAccess.hasAccess) { | COMMENT |
| LOW | src/backend/core/http/middleware/privateAppGate.test.ts | 761 | expectedAppUid: `app-target-${uuidv4()}`, | COMMENT |
| LOW | src/backend/core/http/middleware/puterSite.test.ts | 21 | import type { Request, Response } from 'express'; | COMMENT |
| LOW | src/backend/core/http/middleware/puterSite.test.ts | 861 | ); | COMMENT |
| LOW | src/backend/util/appIcon.ts | 21 | // than the `puter-app-icons` subdomain directly. Some apps (especially those | COMMENT |
| LOW | src/backend/util/nodeFetchDispatcherGuard.ts | 21 | // dispatcher slot — `Symbol.for('undici.globalDispatcher.1')`, shared with | COMMENT |
| LOW | src/backend/util/nodeFetchDispatcherGuard.ts | 41 | // data: fetch cannot fail meaningfully; if it ever does, the slot is | COMMENT |
| LOW | src/backend/util/nativeImport.ts | 21 | // analysis, but the resulting function inherits a vm context with no | COMMENT |
| LOW | src/backend/stores/app/AppStore.js | 41 | const APP_ID_PROPERTIES = ['id', 'uid', 'name']; | COMMENT |
| LOW | src/backend/stores/app/AppStore.js | 81 | // Categories: | COMMENT |
| LOW | src/backend/stores/subdomain/SubdomainStore.js | 21 | import { PuterStore } from '../types'; | COMMENT |
| LOW | src/backend/stores/permission/PermissionStore.ts | 561 | 'WHERE issuer_user_id = ? AND holder_user_id = ? AND permission LIKE ?', | COMMENT |
| LOW | src/backend/stores/session/SessionStore.js | 21 | import { PuterStore } from '../types'; | COMMENT |
| LOW | src/backend/stores/session/SessionStore.js | 41 | const TOUCH_THROTTLE_MAX_ENTRIES = 10000; | COMMENT |
| LOW | src/backend/controllers/drivers/DriverController.ts | 321 | void handle.release(); | COMMENT |
| LOW | src/backend/controllers/auth/AuthController.ts | 621 | } | COMMENT |
| LOW | src/backend/controllers/auth/AuthController.ts | 681 | // Set by the abuse harness for low-reputation signups: the account is | COMMENT |
| LOW | src/backend/controllers/auth/AuthController.ts | 1181 | // -- SMS-to-card fallback ----------------------------------------- | COMMENT |
| LOW | src/backend/controllers/oidc/OIDCController.test.ts | 41 | // Boots one real PuterServer with a custom OIDC provider configured, | COMMENT |
| LOW | src/backend/controllers/fs/LegacyFSController.ts | 1741 | }); | COMMENT |
| LOW | src/backend/controllers/apps/AppController.js | 341 | // default icon is SVG — but SVGs can carry `<script>` tags | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 41 | // router.post( | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 61 | // } | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 81 | // }; | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 101 | // // Email must be confirmed | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 121 | // ); | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 141 | // }; | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 161 | // // -- POST /sharelink/request ------------------------------------- | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 181 | // actor.user.email_confirmed && | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 201 | // (share.data as Record<string, unknown>)?.permissions ?? | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 221 | COMMENT | |
| LOW | src/backend/controllers/share/ShareController.ts | 241 | // } | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 261 | // ); | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 281 | // permissions: permissions.map( | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 301 | // metadata: body.metadata ?? {}, | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 321 | // html: `<p>${actor.user.username} shared items with you.</p><p><a href="${origin}?shar | COMMENT |
| LOW | src/backend/controllers/share/ShareController.ts | 341 | COMMENT | |
| LOW | src/backend/controllers/share/ShareController.ts | 361 | // * Convert share declarations into a flat permission list. | COMMENT |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extensions/thumbnails.ts | 75 | async function decodeAndValidateThumbnail( | CODE |
| LOW | src/dev-center/js/apps.js | 2692 | function getDefaultPreviewImagesState () { | CODE |
| LOW | src/dev-center/js/apps.js | 2700 | function createPreviewThumbElement (item) { | CODE |
| LOW | src/puter-js/test/index.html | 1131 | function updateMasterCheckboxState() { | CODE |
| LOW | src/puter-js/src/lib/socket.io/socket.io.js | 469 | function createPacketEncoderStream() { | CODE |
| LOW | src/puter-js/src/lib/socket.io/socket.io.js | 524 | function createPacketDecoderStream(maxPayload, binaryType) { | CODE |
| LOW | src/puter-js/src/modules/EmailConfirmationDialog.js | 257 | export function showEmailConfirmationDialog (message) { | CODE |
| LOW | src/backend/drivers/meta.ts | 189 | export function resolveDriverMethodRateLimit( | CODE |
| LOW | src/backend/drivers/meta.ts | 291 | export function resolveDriverMethodConcurrent( | CODE |
| LOW | src/backend/drivers/util/fileInput.ts | 263 | export function inferFilenameFromUrlOrPath( | CODE |
| LOW | src/backend/drivers/subdomain/SubdomainDriver.ts | 810 | function mapEntryToSubdomainRootDir(entry: FSEntry): Record<string, unknown> { | CODE |
| LOW | src/backend/core/http/middleware/rateLimit.js | 353 | export function listConfiguredRateLimitBackends() { | CODE |
| LOW | src/backend/core/http/middleware/rateLimit.js | 428 | export function computeNetworkFingerprint(req) { | CODE |
| LOW | src/backend/core/http/middleware/privateAppGate.ts | 189 | export async function resolveOwnedAppForHostedSite(opts: { | CODE |
| LOW | src/backend/core/http/middleware/privateAppGate.ts | 474 | export async function resolvePublicHostedIdentity(opts: { | CODE |
| LOW | src/backend/util/inlineContentSecurity.ts | 38 | export function applyInlineContentSecurity( | CODE |
| LOW | src/backend/util/privateLaunchAccess.ts | 106 | export async function resolvePrivateLaunchAccess({ | CODE |
| LOW | src/backend/stores/fs/pendingUploadSessionHelpers.ts | 30 | export function toPendingUploadSessionKey(sessionId: string): string { | CODE |
| LOW | src/backend/stores/fs/pendingUploadSessionHelpers.ts | 34 | export function toPendingUploadSessionExpiresAtSeconds( | CODE |
| LOW | src/backend/stores/fs/pendingUploadSessionHelpers.ts | 95 | export function normalizePendingUploadSession( | CODE |
| LOW | src/backend/stores/fs/pendingUploadSessionHelpers.ts | 133 | export function withPendingUploadSessionStatus( | CODE |
| LOW | src/backend/controllers/fs/legacyFsHelpers.ts | 290 | function mapAppForLegacyAssociatedApp( | CODE |
| LOW | src/backend/controllers/fs/legacyFsHelpers.ts | 481 | export function signingConfigFromAppConfig(config: IConfig): SigningConfig { | CODE |
| LOW | src/docs/build.js | 114 | function createDirectoryRecursively (directoryPath) { | CODE |
| LOW | src/docs/build.js | 121 | function removeDirectoryRecursively (directoryPath) { | CODE |
| LOW | src/docs/build.js | 165 | function generateSearchTriggerHTML () { | CODE |
| LOW | src/docs/build.js | 194 | function generateTableOfContentsHTML (htmlContent, title) { | CODE |
| LOW | src/docs/build.js | 248 | function generatePlatformCompatibilityHTML (frontMatter) { | CODE |
| LOW | src/docs/build.js | 701 | function getDescriptionFromMarkdown (sourcePath) { | CODE |
| LOW | src/mcp-connector/src/oauth.js | 139 | function protectedResourceMetadata(event) { | CODE |
| LOW | src/gui/src/UI/UIWindowRequestPermission.js | 22 | async function UIWindowRequestPermission (options) { | CODE |
| LOW | src/gui/src/UI/UIWindowEmailConfirmationRequired.js | 23 | function UIWindowEmailConfirmationRequired (options) { | CODE |
| LOW | src/gui/src/UI/UIWindowPhoneVerificationRequired.js | 60 | function UIWindowPhoneVerificationRequired(options) { | CODE |
| LOW | src/gui/src/UI/UIWindowCardVerificationRequired.js | 49 | function UIWindowCardVerificationRequired(options) { | CODE |
| LOW | src/gui/src/UI/UIWindowDesktopBGSettings.js | 22 | async function UIWindowDesktopBGSettings (options) { | CODE |
| LOW | src/gui/src/UI/Settings/UIWindowConfirmUserDeletion.js | 23 | async function UIWindowConfirmUserDeletion (options) { | CODE |
| LOW | src/gui/src/UI/Settings/UIWindowFinalizeUserDeletion.js | 23 | async function UIWindowFinalizeUserDeletion (options) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/dev-center/js/websites.js | 57 | // Step 1: Show directory picker | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 67 | // Step 2: Ask for website name | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 71 | // Step 3: Create website with selected directory | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 447 | // Step 1: Show directory picker | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 454 | // Step 2: Confirm the change since it will replace the current website | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 474 | // Step 3: Show loading spinner | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 478 | // Step 4: Delete the existing website | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 481 | // Step 5: Create a new website with the same name but new directory | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 484 | // Step 6: Refresh the websites list to show the updated directory | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 487 | // Step 7: Show success message | COMMENT |
| LOW | src/dev-center/js/workers.js | 75 | // Step 1: Show file picker limited to .js files | COMMENT |
| LOW⚡ | src/dev-center/js/workers.js | 87 | // Step 2: Ask for worker name | COMMENT |
| LOW⚡ | src/dev-center/js/workers.js | 91 | // Step 3: Create worker with selected file | COMMENT |
| LOW | src/puter-js/test/ai.test.js | 103 | // For streaming, we need to check if it's an async iterator or has a different structure | COMMENT |
| LOW | src/docs/src/playground/examples/ai-image-edit.html | 8 | // Step 1: Generate initial image | COMMENT |
| LOW | src/docs/src/playground/examples/ai-image-edit.html | 23 | // Step 2: Edit the image in a follow-up turn | COMMENT |
| LOW | src/gui/src/index.js | 58 | // window.disable_temp_users might be set somewhere else, so we need to check if it is already set and if not, use t | COMMENT |
| LOW | src/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js | 17258 | // IE sets focus asynchronously, so we need to check if focus | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/dev-center/js/websites.js | 57 | // Step 1: Show directory picker | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 67 | // Step 2: Ask for website name | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 71 | // Step 3: Create website with selected directory | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 447 | // Step 1: Show directory picker | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 454 | // Step 2: Confirm the change since it will replace the current website | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 474 | // Step 3: Show loading spinner | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 478 | // Step 4: Delete the existing website | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 481 | // Step 5: Create a new website with the same name but new directory | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 484 | // Step 6: Refresh the websites list to show the updated directory | COMMENT |
| LOW⚡ | src/dev-center/js/websites.js | 487 | // Step 7: Show success message | COMMENT |
| LOW | src/dev-center/js/workers.js | 75 | // Step 1: Show file picker limited to .js files | COMMENT |
| LOW⚡ | src/dev-center/js/workers.js | 87 | // Step 2: Ask for worker name | COMMENT |
| LOW⚡ | src/dev-center/js/workers.js | 91 | // Step 3: Create worker with selected file | COMMENT |
| LOW | src/docs/src/playground/examples/ai-image-edit.html | 8 | // Step 1: Generate initial image | COMMENT |
| LOW | src/docs/src/playground/examples/ai-image-edit.html | 23 | // Step 2: Edit the image in a follow-up turn | COMMENT |
| LOW | src/docs/src/AI/chat.md | 704 | // Step 1: Generate initial image | COMMENT |
| LOW | src/docs/src/AI/chat.md | 719 | // Step 2: Edit the image in a follow-up turn | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/dev-center/js/libs/jquery-3.6.0.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | src/gui/src/lib/jquery-3.6.1/jquery-3.6.1.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | src/gui/src/lib/jquery-ui-1.13.2/jquery-ui.min.js | 6 | !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/puter-js/src/ui/components/PuterPrompt.js | 153 | const placeholder = this.getAttribute('placeholder') || ''; | CODE |
| LOW | src/puter-js/src/modules/UI.js | 744 | if ( placeholder ) el.setAttribute('placeholder', placeholder); | CODE |
| LOW | src/backend/drivers/kv/KVStoreDriver.test.ts | 37 | email: 'test@test.com', | CODE |
| LOW | src/backend/drivers/workers/WorkerDriver.test.ts | 37 | email: 'test@test.com', | CODE |
| LOW | src/docs/src/UI/prompt.md | 34 | puter.ui.prompt('Please enter your name:', 'John Doe').then((resp) => { | CODE |
| LOW | src/docs/src/playground/examples/ui-prompt.html | 5 | puter.ui.prompt('Please enter your name:', 'John Doe').then((resp) => { | CODE |
| LOW | src/docs/src/playground/examples/workers-exec.html | 187 | profile: { name: 'John Doe', email: 'john@example.com' }, | CODE |
| LOW | src/gui/src/UI/UIWindowPhoneVerificationRequired.js | 519 | if (inp) inp.setAttribute('placeholder', phone_example_for(c.iso) || ''); | CODE |
| LOW | src/gui/src/UI/UIQRCode.js | 78 | if ( options.appendTo && options.appendTo.$ === 'placeholder' ) { | CODE |
| LOW | src/gui/src/UI/UIQRCode.js | 93 | if ( destination && destination.$ === 'placeholder' ) { | CODE |
| LOW | src/gui/src/util/Placeholder.js | 42 | $: 'placeholder', | CODE |
| LOW | src/gui/src/util/Component.js | 160 | if ( destination.$ === 'placeholder' ) { | CODE |
| LOW | src/gui/src/lib/jquery-ui-1.13.2/jquery-ui.min.js | 6 | !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict" | CODE |
| LOW | src/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js | 2591 | element.data( dataSpace + "placeholder", placeholder ); | CODE |
| LOW | src/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js | 2604 | var dataKey = dataSpace + "placeholder", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/backend/controllers/puterai/PuterAIController.ts | 144 | // Reverse-proxies AI-generated video URLs that can't be given | COMMENT |
| HIGH | src/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js | 8706 | // Format a name, short or long as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/docs/src/FS.md | 90 | puter.print('Error creating directory:', error); | CODE |
| MEDIUM | …/docs/src/playground/examples/fs-write-from-input.html | 11 | puter.print('Error writing file:', error); | CODE |
| MEDIUM | src/docs/src/playground/examples/fs-mkdir.html | 10 | puter.print('Error creating directory:', error); | CODE |
| MEDIUM | src/docs/src/FS/mkdir.md | 51 | puter.print('Error creating directory:', error); | CODE |
| MEDIUM | src/docs/src/FS/write.md | 76 | puter.print('Error writing file:', error); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/puter-js/types/puter.d.ts | 83 | print(text: string, options?: { code?: boolean; escapeHTML?: boolean }): void; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/gui/src/i18n/translations/nn.js | 187 | confirm_2fa_setup: 'Eg har lagt til koden i autentikatorappen min', // In English: "I have added the code to my | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 4 | # Usage: | COMMENT |