AI Slop Code RIsk Monitor

lmstudio-ai/lms

LM Studio CLI

4.6 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for lmstudio-ai/lms, a TypeScript project with 5,346 GitHub stars. SynthScan examined 17,235 lines of code across 112 source files, recording 80 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 4.6 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.6
Adjusted Signal
4.6
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
5.3K
Stars
TypeScript
Language
17.2K
Lines of Code
112
Files
80
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 20.6/100 · LOW

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

PR Review Velocity Impact 20.7/100 · LOW

Which changes need focused human review? 80 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 0MEDIUM 0LOW 80

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 80 distinct pattern matches across 1 syntactic category. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers80 hits · 80 pts
SeverityFileLineSnippetContext
LOWsrc/authenticationStatusUtils.ts13export function normalizeAuthenticationStatus(CODE
LOWsrc/authenticationStatusUtils.ts37export function formatAuthenticationStatusMessage(authenticationStatus: AuthenticationStatus): string {CODE
LOWsrc/authenticationStatusUtils.ts56export function makeCannotLoginWhileComputeDeviceError(CODE
LOWsrc/authenticationStatusUtils.ts72export function makeCannotLoginAsComputeDeviceWhileLoggedInUserError(CODE
LOWsrc/authenticationStatusUtils.ts87export function makeAlreadyLoggedInAsComputeDeviceError(CODE
LOWsrc/findProjectFolder.ts9export async function recursiveFindAncestorFolderWithFile(CODE
LOWsrc/handleDownloadWithProgressBar.ts17export async function handleDownloadWithProgressBar(CODE
LOWsrc/index.ts144function applyHelpConfigurationRecursively(CODE
LOWsrc/localAPIServer.ts106export async function findOrStartLocalAPIServer({CODE
LOWsrc/types/refinedNumber.ts15export function createRefinedNumberParser({ integer, min, max }: RefinedNumberOpts = {}): (CODE
LOWsrc/subcommands/push.ts250async function maybeGenerateManifestJson(logger: SimpleLogger, folderPath: string) {CODE
LOWsrc/subcommands/push.ts265function parseArtifactIdentifierToOwnerName(CODE
LOWsrc/subcommands/push.ts281async function generateManifestJsonFromModelYaml(folderPath: string, modelYamlPath: string) {CODE
LOW⚡src/subcommands/get.ts437function makeArtifactModelSelectionValue(downloadOptionIndex: number): ArtifactModelSelectionValue {CODE
LOW⚡src/subcommands/get.ts441function getSelectedDownloadOptionIndexFromArtifactModelSelectionValue(CODE
LOW⚡src/subcommands/get.ts450function artifactPlanModelNodeNeedsSelectionPrompt(modelNode: ArtifactDownloadPlanModelNode) {CODE
LOW⚡src/subcommands/get.ts454function getEditableArtifactPlanModelNodeIndexes(plan: ArtifactDownloadPlan): Array<number> {CODE
LOW⚡src/subcommands/get.ts463function shouldShowAlreadyOwnedArtifactSelectionChoice(modelNode: ArtifactDownloadPlanModelNode) {CODE
LOW⚡src/subcommands/get.ts472function getArtifactSelectionChoiceCount(modelNode: ArtifactDownloadPlanModelNode) {CODE
LOW⚡src/subcommands/get.ts478function getDefaultArtifactModelSelectionValue(CODE
LOWsrc/subcommands/get.ts119function getRequestedCompatibilityTypes({CODE
LOWsrc/subcommands/get.ts139function splitModelNameAndQuantization(modelName: string | undefined) {CODE
LOWsrc/subcommands/get.ts202function tryParseArtifactIdentifier(CODE
LOWsrc/subcommands/get.ts222function makeResolutionPreferences({CODE
LOWsrc/subcommands/get.ts245async function resolveStaffPickDownloadRequest({CODE
LOWsrc/subcommands/get.ts507export function formatCompatibilityTypeSuffix(compatibilityType: ModelCompatibilityType) {CODE
LOWsrc/subcommands/get.ts520function formatModelDisplayNameWithCompatibility(model: {CODE
LOWsrc/subcommands/get.ts540function createArtifactDownloadOptionTag(CODE
LOWsrc/subcommands/get.ts561function createArtifactDownloadOptionChoiceData(modelNode: ArtifactDownloadPlanModelNode) {CODE
LOWsrc/subcommands/get.ts595async function askToChooseArtifactDownloadSelection(CODE
LOWsrc/subcommands/get.ts636async function applyArtifactModelSelection(CODE
LOWsrc/subcommands/get.ts661function getArtifactSelectionPromptPageSize(renderedLineCount: number) {CODE
LOWsrc/subcommands/get.ts670async function openArtifactDownloadSelectionEditor(CODE
LOWsrc/subcommands/get.ts738function artifactDownloadPlanToString(CODE
LOWsrc/subcommands/get.ts855function buildArtifactDownloadPlanLines(CODE
LOWsrc/subcommands/get.ts900function printArtifactDownloadPlanScreen(CODE
LOWsrc/subcommands/get.ts915function normalizeDownloadPlannerCliOpts(CODE
LOWsrc/subcommands/get.ts954function maybeExitIfNothingToDownload({CODE
LOWsrc/subcommands/get.ts1016async function askToChooseDownloadAction({CODE
LOWsrc/subcommands/get.ts1122function planHasPreselectedRequestedQuant(CODE
LOWsrc/subcommands/get.ts1140async function maybeHandleMissingRequestedQuant({CODE
LOWsrc/subcommands/load.ts79export function assertLoadConfigSupportedForCliModel({CODE
LOWsrc/subcommands/load.ts130function hasDuplicatesOnSameDevice(models: Array<ModelInfo>): boolean {CODE
LOWsrc/subcommands/load.ts764function printEstimatedResourceUsage(CODE
LOWsrc/subcommands/loadSpeculativeDecoding.ts12export function resolveCliSpeculativeDecodingLoadConfig({CODE
LOWsrc/subcommands/parseLmStudioArtifactUrl.ts9export function tryParseLmStudioArtifactUrl(modelName: string): ParsedLmStudioArtifactUrl | null {CODE
LOWsrc/subcommands/importCmd.ts311async function maybeWarnAboutWindowsSymlink(logger: SimpleLogger) {CODE
LOWsrc/subcommands/importCmd.ts605async function resolveByHuggingFaceInteractive(CODE
LOWsrc/subcommands/importCmd.ts729async function findCandidateHuggingFaceUserRepos(logger: SimpleLogger, fileName: string) {CODE
LOWsrc/subcommands/log.ts156function printLlmPredictionLogEvent(data: DiagnosticsLogEventData, stats: boolean) {CODE
LOWsrc/subcommands/list.ts40function formatModelKeyWithVariantCount(model: ModelInfo) {CODE
LOWsrc/subcommands/list.ts84function printDownloadedModelsTable(CODE
LOWsrc/subcommands/list.ts148function printModelsWithVariantRows({CODE
LOWsrc/subcommands/server.ts44async function checkHttpServerWithRetries(CODE
LOWsrc/subcommands/chat/index.tsx45export async function getOrAskShouldFetchModelCatalog(CODE
LOWsrc/subcommands/chat/index.tsx45export async function getOrAskShouldFetchModelCatalog(CODE
LOWsrc/subcommands/chat/index.tsx77export function createModelDisplayOptions(CODE
LOWsrc/subcommands/chat/reasoning.ts9export function reasoningModeToPredictionOpts(CODE
LOWsrc/subcommands/chat/catalogHelpers.ts10export async function getCachedModelCatalogOrFetch(CODE
LOWsrc/subcommands/chat/util.ts158export function getLargePastePlaceholderText(content: string, previewLength: number = 50): string {CODE
20 more matches not shown…