🌐 The Internet Computer! Free, Open-Source, and Self-Hostable.
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).
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | install.sh | 56 | # ── Step 1: dependency check ──────────────────────────────────────── | COMMENT |
| MEDIUM | install.sh | 64 | # ── Step 2: install dir ───────────────────────────────────────────── | COMMENT |
| MEDIUM | install.sh | 82 | # ── Step 3: docker-compose.yml + Caddy config ────────────────────── | COMMENT |
| MEDIUM | install.sh | 100 | # ── Step 4: secrets, .env, config.json ────────────────────────────── | COMMENT |
| MEDIUM | install.sh | 220 | # ── Step 5: bring it up ───────────────────────────────────────────── | COMMENT |
| MEDIUM | docker-compose.yml | 168 | # ── Optional: local LLM ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/dev-center/js/apps.js | 3047 | // ── App Users modal ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/puter-js/tests/api/suites/ai.suite.ts | 362 | // ── Unified driver routing ────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/extensions.test.ts | 99 | // ── Registry writers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/extensions.test.ts | 152 | // ── Event subscription ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/extensions.test.ts | 180 | // ── Route registration ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/extensions.test.ts | 313 | // ── Import proxy ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/clients/database/MySQLDatabaseClient.test.ts | 183 | // ── Replica read failover ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/driverPolicies.test.ts | 63 | // ── Non-AI drivers (migrated from hardcoded-permissions) ──────────── | COMMENT |
| MEDIUM | src/backend/drivers/driverPolicies.test.ts | 275 | // ── Iface coordination cross-check ────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/driverPolicies.test.ts | 291 | // ── Cross-driver invariants ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 38 | // ── validateDriverRateLimit ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 149 | // ── resolveDriverMethodRateLimit ──────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 188 | // ── @Driver decorator: rateLimit propagation ──────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 277 | // ── validateDriverConcurrent ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 346 | // ── resolveDriverMethodConcurrent ─────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 377 | // ── @Driver — concurrent option ───────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 446 | // ── requireSubscription ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/meta.test.ts | 550 | // ── requireReputation ─────────────────────────────────────────────── | 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 | 588 | // ── Default provider selection ────────────────────────────────────── | COMMENT |
| MEDIUM | src/backend/drivers/kv/KVStoreDriver.test.ts | 1498 | // ── Budget enforcement ─────────────────────────────────────────── | 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 | 357 | // ── Happy path: events + cost emission ────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 523 | // ── Validation event routing ──────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 580 | // ── Credit gate + max_tokens cap ──────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 772 | // ── Normalisation ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 826 | // ── Fallback / error envelope ─────────────────────────────────────── | COMMENT |
| MEDIUM | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 893 | // ── 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 | 348 | // ── Image inlining for vision models ──────────────────────────────── | COMMENT |
| MEDIUM | …rs/ai-chat/providers/moonshot/MoonshotProvider.test.ts | 406 | // ── Model resolution ──────────────────────────────────────────────── | COMMENT |
| 717 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 1 | #!/usr/bin/env sh | COMMENT |
| LOW | install.sh | 21 | # PUTER_URL base URL to fetch docker-compose.yml (default: GitHub raw, main branch) | COMMENT |
| LOW | install.sh | 61 | docker compose version >/dev/null 2>&1 \ | 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 | echo "bucket $$bucket already exists" | COMMENT |
| LOW | docker-compose.yml | 281 | ports: | COMMENT |
| LOW | .github/workflows/backend-tests.yaml | 21 | permissions: | COMMENT |
| LOW | src/dev-center/js/apps.js | 1921 | `/${auth_username}/AppData/${dev_center_uid}/${app.uid ?? app.uuid}`, | COMMENT |
| LOW | src/puter-js/test/aiProviders.test.js | 1 | /* eslint-disable */ | COMMENT |
| LOW | src/puter-js/test/signin.test.js | 1 | /* eslint-disable */ | COMMENT |
| LOW | src/puter-js/tests/e2e/specs/requestPermission.spec.js | 741 | // it, and the severing instead surfaces as `popup.closed` flipping true | COMMENT |
| LOW | src/puter-js/tests/e2e/specs/requestPermission.spec.js | 1201 | await expect(page.locator('dialog.perm-dialog')).toHaveCount(0); | COMMENT |
| LOW | src/puter-js/src/lib/networkUtils.js | 361 | const RETRYABLE_STATUS = new Set([502, 503, 504]); | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 461 | itemWatchCallbackFunctions = []; | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 481 | #onItemsOpened; | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 1801 | requested.length > MAX_REQUESTED_PERMISSIONS || | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 1821 | try { | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 1901 | const watchPopup = (popup) => { | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 1921 | pollDecision(); | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 1941 | // navigation commits the severing whenever it commits. | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 2021 | // Transient network failure, or this attempt's abort; keep | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 2181 | // A severed opener relationship (COOP) means the popup can't | COMMENT |
| LOW | src/puter-js/src/modules/UI.js | 2441 | // falls back to the consent dialog to obtain one when not), notices the | COMMENT |
| LOW | …r-js/src/modules/FileSystem/operations/upload/index.js | 121 | // We need to check the storage capacity before the upload starts because | COMMENT |
| LOW | src/backend/server.ts | 241 | COMMENT | |
| LOW | src/backend/server.ts | 541 | }), | COMMENT |
| LOW | src/backend/server.ts | 781 | createNotFoundHandler({ guiDomain: this.#config.domain }), | COMMENT |
| LOW | src/backend/server.ts | 801 | // SKIP_ALERT_PREFIXES override the 5xx rule the other | COMMENT |
| LOW | src/backend/server.ts | 921 | reputationRequirement !== undefined && | COMMENT |
| LOW | src/backend/server.ts | 981 | COMMENT | |
| LOW | src/backend/server.ts | 1001 | // when an app acts on the user's behalf. `requireVerifiedGate` reads | COMMENT |
| LOW | src/backend/clients/database/SQLBatcher.js | 361 | COMMENT | |
| LOW | src/backend/clients/event/types.ts | 521 | // `sent-to-user.<wireName>` so per-user channels can subscribe by wire name. | COMMENT |
| LOW | src/backend/drivers/callableMethods.test.ts | 21 | import { puterDrivers } from './index.js'; | COMMENT |
| LOW | src/backend/drivers/util/aiLimits.ts | 21 | DEFAULT_FREE_SUBSCRIPTION, | COMMENT |
| LOW | …c/backend/drivers/ai-chat/ChatCompletionDriver.test.ts | 861 | it('re-reads the balance between fallback attempts so a parallel request that drains the wallet aborts the chain', a | COMMENT |
| LOW | src/backend/drivers/ai-chat/ChatCompletionDriver.ts | 1341 | : entry.aliases; | COMMENT |
| LOW | src/backend/drivers/ai-chat/providers/azure/models.ts | 21 | COMMENT | |
| LOW | …/backend/drivers/ai-video/providers/byteplus/models.ts | 61 | // not exposed through this driver) and the create-task API reference | COMMENT |
| LOW | src/backend/drivers/subdomain/SubdomainDriver.ts | 181 | // A name some other user's app still points at is not free either. | COMMENT |
| LOW | src/backend/drivers/subdomain/SubdomainDriver.ts | 601 | COMMENT | |
| LOW | src/backend/drivers/apps/AppDriver.js | 81 | // with one of these strings skips the uniqueness check so multiple rows | COMMENT |
| LOW | src/backend/drivers/apps/AppDriver.js | 641 | // 4. `/app-icon/<uid>` endpoint URL (relative, or absolute | COMMENT |
| LOW | src/backend/drivers/apps/AppDriver.js | 981 | if (params.icon_size) { | COMMENT |
| LOW | src/backend/core/reputation.ts | 21 | import { isSystemActor, type Actor } from './actor'; | COMMENT |
| LOW | src/backend/core/http/types.ts | 421 | COMMENT | |
| LOW | src/backend/core/http/middleware/rateLimit.js | 221 | const { res } = await kv.list({ | COMMENT |
| LOW | src/backend/core/http/middleware/rateLimit.js | 261 | }, | COMMENT |
| LOW | src/backend/core/http/middleware/privateAppGate.test.ts | 801 | sessionCookieName: 'puter_auth_token', | 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/core/http/middleware/authProbe.ts | 201 | } | 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 FILETYPE_CACHE_TTL_SECONDS = 60; | COMMENT |
| LOW | src/backend/stores/app/AppStore.js | 81 | year: 'toStartOfYear(fromUnixTimestamp(ts))', | COMMENT |
| LOW | src/backend/stores/user/UserStore.ts | 121 | (typeof err.code === 'string' && | COMMENT |
| 99 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extensions/thumbnails.ts | 124 | async function decodeAndValidateThumbnail( | CODE |
| LOW | src/dev-center/js/apps.js | 2706 | function getDefaultPreviewImagesState () { | CODE |
| LOW | src/dev-center/js/apps.js | 2714 | function createPreviewThumbElement (item) { | CODE |
| LOW | src/puter-js/test/index.html | 1220 | function updateMasterCheckboxState() { | CODE |
| LOW | src/puter-js/src/modules/EmailConfirmationDialog.js | 257 | export function showEmailConfirmationDialog (message) { | CODE |
| LOW | src/backend/drivers/meta.ts | 201 | export function resolveDriverMethodRateLimit( | CODE |
| LOW | src/backend/drivers/meta.ts | 303 | export function resolveDriverMethodConcurrent( | CODE |
| LOW | src/backend/drivers/meta.ts | 329 | export function validateDriverRequireSubscription( | CODE |
| LOW | src/backend/drivers/meta.ts | 369 | export function resolveDriverMethodRequireSubscription( | CODE |
| LOW | src/backend/drivers/meta.ts | 396 | export function validateDriverRequireReputation( | CODE |
| LOW | src/backend/drivers/meta.ts | 436 | export function resolveDriverMethodRequireReputation( | CODE |
| LOW | src/backend/drivers/util/fileInput.ts | 262 | export function inferFilenameFromUrlOrPath( | CODE |
| LOW | src/backend/drivers/ai-video/creditCap.ts | 58 | export async function capSecondsToRemainingCredits({ | CODE |
| LOW | src/backend/drivers/ai-speech2txt/providerAliases.ts | 55 | export function normalizeSpeechToTextProvider( | CODE |
| LOW | src/backend/drivers/subdomain/SubdomainDriver.ts | 871 | function mapEntryToSubdomainRootDir(entry: FSEntry): Record<string, unknown> { | CODE |
| LOW | src/backend/core/http/middleware/rateLimit.js | 476 | export function listConfiguredRateLimitBackends() { | CODE |
| LOW | src/backend/core/http/middleware/rateLimit.js | 548 | export function computeNetworkFingerprint(req) { | CODE |
| LOW | src/backend/core/http/middleware/privateAppGate.ts | 191 | export async function resolveOwnedAppForHostedSite(opts: { | CODE |
| LOW | src/backend/core/http/middleware/privateAppGate.ts | 471 | export async function resolvePublicHostedIdentity(opts: { | CODE |
| LOW⚡ | src/backend/util/hostedAppBacking.ts | 59 | function normalizeHostedDomainValue(domainValue: unknown): string | null { | CODE |
| LOW⚡ | src/backend/util/hostedAppBacking.ts | 68 | function normalizeConfiguredHostedDomain(domainValue: unknown): string | null { | CODE |
| LOW⚡ | src/backend/util/hostedAppBacking.ts | 74 | function configuredHostedDomainValues( | CODE |
| LOW | src/backend/util/hostedAppBacking.ts | 105 | export function buildHostedSubdomainIndexUrlCandidates( | CODE |
| LOW | src/backend/util/hostedAppBacking.ts | 149 | export function extractPuterHostedSubdomain( | CODE |
| LOW | src/backend/util/hostedAppBacking.ts | 187 | export async function hostedIndexUrlBackingIsUnavailable({ | CODE |
| LOW | src/backend/util/cardFallback.ts | 77 | export function cardFallbackAfterAttempts( | CODE |
| LOW | src/backend/util/cardFallback.ts | 115 | export function resetCardVerificationStatusCache(): void { | 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/oidc/OIDCController.ts | 101 | function sharedPathsFromReturnQuery(query: string): string[] | null { | CODE |
| LOW | src/backend/controllers/fs/legacyFsHelpers.ts | 330 | function mapAppForLegacyAssociatedApp( | CODE |
| LOW | src/backend/controllers/fs/legacyFsHelpers.ts | 549 | 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 | 696 | function getDescriptionFromMarkdown (sourcePath) { | CODE |
| LOW | src/mcp-connector/src/oauth.js | 139 | function protectedResourceMetadata(event) { | CODE |
| LOW | src/gui/src/UI/UIWindowEmailConfirmationRequired.js | 23 | function UIWindowEmailConfirmationRequired (options) { | CODE |
| LOW | src/gui/src/UI/UIWindowPhoneVerificationRequired.js | 74 | function UIWindowPhoneVerificationRequired(options) { | CODE |
| LOW | src/gui/src/UI/UIWindowCardVerificationRequired.js | 61 | 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 |
| LOW | src/gui/src/helpers/notificationApi.js | 39 | export async function markNotificationAcknowledged (uid) { | 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 | 113 | // 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 | 705 | // Step 1: Generate initial image | COMMENT |
| LOW | src/docs/src/AI/chat.md | 720 | // 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 |
|---|---|---|---|---|
| HIGH | src/puter-js/src/modules/Workers.js | 192 | // envelope from the backend, exactly as requested. | COMMENT |
| HIGH | src/backend/controllers/puterai/PuterAIController.ts | 178 | // 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 |
|---|---|---|---|---|
| LOW | src/puter-js/tests/api/suites/components.suite.ts | 431 | prompt.setAttribute('placeholder', 'e.g. Ada'); | CODE |
| LOW | src/puter-js/tests/e2e/specs/requestAppData.spec.js | 62 | phone: { value: '555-0101' }, | CODE |
| LOW | src/puter-js/tests/e2e/specs/requestAppData.spec.js | 167 | seed: { phone: { value: '555-0101' } }, | CODE |
| LOW | src/puter-js/src/ui/components/PuterPrompt.js | 153 | const placeholder = this.getAttribute('placeholder') || ''; | CODE |
| LOW | src/puter-js/src/modules/UI.js | 1150 | if ( placeholder ) el.setAttribute('placeholder', placeholder); | CODE |
| LOW | src/backend/drivers/kv/KVStoreDriver.readCache.test.ts | 42 | email: 'test@test.com', | CODE |
| LOW | src/backend/drivers/kv/KVStoreDriver.test.ts | 43 | email: 'test@test.com', | CODE |
| LOW | src/backend/drivers/workers/WorkerDriver.test.ts | 38 | 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 | 653 | 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 |
|---|---|---|---|---|
| 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/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 |
|---|---|---|---|---|
| MEDIUM | …puter-js/src/modules/FileSystem/operations/scaffold.js | 1 | // Shared scaffold for the filesystem operations in this directory. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 4 | # Usage: | COMMENT |