Repository Analysis

Mintplex-Labs/anything-llm

The all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.

0.9 Likely human-written View on GitHub
0.9
Adjusted Score
0.9
Raw Score
100%
Time Factor
2026-05-30
Last Push
60,795
Stars
JavaScript
Language
236,234
Lines of Code
1158
Files
169
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 19LOW 149

Pattern Findings

169 matches across 9 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers115 hits · 115 pts
SeverityFileLineSnippet
LOWfrontend/src/EmbeddingProgressContext.jsx27export function useWorkspaceEmbeddingProgress(
LOWfrontend/src/EmbeddingProgressContext.jsx64export function EmbeddingProgressProvider({ children }) {
LOWfrontend/src/utils/session.js5export default async function validateSessionTokenForUser() {
LOWfrontend/src/components/Sidebar/index.jsx210function WorkspaceAndThreadTooltips() {
LOWfrontend/src/components/Sidebar/SearchBox/index.jsx190function ShortWidthNewWorkspaceButton({ user, showNewWsModal }) {
LOW…ents/EmbeddingSelection/GenericOpenAiOptions/index.jsx5export default function GenericOpenAiEmbeddingOptions({ settings }) {
LOW…ponents/EmbeddingSelection/OpenRouterOptions/index.jsx29function OpenRouterEmbeddingModelSelection({ settings }) {
LOW…/components/EmbeddingSelection/OllamaOptions/index.jsx199function OllamaEmbeddingModelSelection({ settings, basePath = null }) {
LOWfrontend/src/components/contexts/TTSProvider.jsx68export function emitAssistantMessageCompleteEvent(chatId) {
LOWfrontend/src/components/contexts/TTSProvider.jsx82export function useWatchForAutoPlayAssistantTTSResponse() {
LOWfrontend/src/components/CanViewChatHistory/index.jsx26export function CanViewChatHistoryProvider({ children }) {
LOW…ManageWorkspace/Documents/WorkspaceDirectory/index.jsx468function WorkspaceDocumentTooltips() {
LOW…pace/Documents/UploadFile/FileUploadProgress/index.jsx8function FileUploadProgressComponent({
LOW…c/components/LLMSelection/FireworksAiOptions/index.jsx38function FireworksAiModelSelection({ apiKey, settings }) {
LOW…onents/LLMSelection/DockerModelRunnerOptions/index.jsx182function DockerModelRunnerModelSelection({
LOW…end/src/components/LLMSelection/DPAISOptions/index.jsx107function DellProAiStudioModelSelection({ settings, basePath = null }) {
LOW…criptionSelection/NativeTranscriptionOptions/index.jsx5export default function NativeTranscriptionOptions({ settings }) {
LOWfrontend/src/components/lib/ModelTable/loading.jsx4export default function ModelTableLoadingSkeleton() {
LOW…components/TextToSpeech/OpenAiGenericOptions/index.jsx3export default function OpenAiGenericTextToSpeechOptions({ settings }) {
LOW…nd/src/components/TextToSpeech/OpenAiOptions/index.jsx7export default function OpenAiTextToSpeechOptions({ settings }) {
LOWfrontend/src/components/WorkspaceChat/index.jsx138export function setEventDelegatorForCodeSnippets() {
LOW…tainer/MemoriesSidebar/PersonalizationToggle/index.jsx26 async function handleAutoExtractionToggle(checked) {
LOW…ceChat/ChatContainer/ChatHistory/PromptReply/index.jsx55function RenderAssistantChatContent({ message, messageId }) {
LOW…hatContainer/ChatHistory/ToolApprovalRequest/index.jsx163function ToolApprovalResponseOption({
LOW…hatContainer/ChatHistory/ToolApprovalRequest/index.jsx207function ToolApprovalResponseMessage({ approved }) {
LOW…tory/HistoricalMessage/Actions/RenderMetrics/index.jsx78 function handleShowingMetricsEvent(e) {
LOW…toricalMessage/HistoricalClarifyingQuestions/index.jsx9export default function HistoricalClarifyingQuestions({ surveys = [] }) {
LOW…aceChat/ChatContainer/PromptInput/LLMSelector/utils.js4export function autoScrollToSelectedLLMProvider(
LOW…romptInput/ToolsMenu/Tabs/AgentSkills/skillRegistry.js55export function getSubSkillPreferenceKeys() {
LOW…romptInput/ToolsMenu/Tabs/AgentSkills/skillRegistry.js90export function isSkillMultiUserSupported(skillKey) {
LOWfrontend/src/hooks/useOnboardingComplete.js6export default function useRedirectToHomeOnOnboardingComplete() {
LOWfrontend/src/hooks/useWebPushNotifications.js24export async function subscribeToPushNotifications(askToEnable = true) {
LOWfrontend/src/hooks/useChatContainerQuickScroll.js8export default function useChatContainerQuickScroll() {
LOWfrontend/src/hooks/useScrollActiveItemIntoView.js11export default function useScrollActiveItemIntoView({
LOWfrontend/src/hooks/useChatHistoryScrollHandle.js14export default function useChatHistoryScrollHandle(
LOWfrontend/src/hooks/useProviderEndpointAutoDiscovery.js4export default function useProviderEndpointAutoDiscovery({
LOW…rc/pages/GeneralSettings/EmbeddingPreference/index.jsx151export default function GeneralEmbeddingPreference() {
LOW…neralSettings/CommunityHub/Trending/HubItems/index.jsx15function useCommunityHubExploreItems() {
LOW…ages/GeneralSettings/CommunityHub/ImportItem/index.jsx70export default function CommunityHubImportItemFlow() {
LOW…eneralSettings/CommunityHub/ImportItem/Steps/index.jsx47export function CommunityHubImportItemLayout({ setStep, children }) {
LOW…/GeneralSettings/CommunityHub/Authentication/index.jsx12function useCommunityHubAuthentication() {
LOW…/GeneralSettings/CommunityHub/Authentication/index.jsx97export default function CommunityHubAuthentication() {
LOW…ages/GeneralSettings/TranscriptionPreference/index.jsx33export default function TranscriptionModelPreference() {
LOW…serExtensionApiKey/BrowserExtensionApiKeyRow/index.jsx7export default function BrowserExtensionApiKeyRow({
LOW…tensionApiKey/NewBrowserExtensionApiKeyModal/index.jsx6export default function NewBrowserExtensionApiKeyModal({
LOW…/src/pages/GeneralSettings/ScheduledJobs/utils/cron.js248export function buildCronFromBuilderState(state) {
LOW…eralSettings/EmbeddingTextSplitterPreference/index.jsx19export default function EmbeddingTextSplitterPreference() {
LOW…xperimentalFeatures/Features/LiveSync/manage/index.jsx39function WatchedDocumentsContainer() {
LOWfrontend/src/pages/Admin/DefaultSystemPrompt/index.jsx25 async function setupVariableHighlighting() {
LOW…in/Agents/SQLConnectorSelection/SQLConnectionModal.jsx153 function isDuplicateConnectionName(slugifiedName) {
LOW…src/pages/Admin/Agents/SQLConnectorSelection/index.jsx11export default function AgentSQLConnectorSelection({
LOW…/pages/Admin/Agents/GoogleCalendarSkillPanel/index.jsx96 function toggleGoogleCalendarSkill(skillName) {
LOW…paceSettings/ChatSettings/ChatPromptSettings/index.jsx52 async function setupVariableHighlighting() {
LOW…tend/src/pages/WorkspaceSettings/AgentConfig/index.jsx13export default function WorkspaceAgentConfiguration({ workspace }) {
LOW…s/VectorDatabase/DocumentSimilarityThreshold/index.jsx3export default function DocumentSimilarityThreshold({
LOWfrontend/src/pages/Main/Home/index.jsx119 async function handleDropWithoutWorkspace(acceptedFiles) {
LOWcollector/utils/shell.js8async function patchShellEnvironmentPath() {
LOWcollector/utils/extensions/RepoLoader/index.js27function resolveRepoLoaderFunction(platform = "github") {
LOWcollector/utils/extensions/YoutubeTranscript/index.js20async function fetchVideoTranscriptContent({ url }) {
LOWcollector/utils/extensions/YoutubeTranscript/index.js203function buildTranscriptContentWithMetadata(content = "", metadata = {}) {
55 more matches not shown…
Decorative Section Separators16 hits · 48 pts
SeverityFileLineSnippet
MEDIUMserver/utils/router/index.js59 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js61 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js101 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js103 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js191 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js193 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js236 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js238 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js294 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js296 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js416 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js418 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js518 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/utils/router/index.js520 // ─────────────────────────────────────────────────────────────────────────────
MEDIUMserver/jobs/helpers/memory-extraction-utils.js112// ── Phase 1: Observer ────────────────────────────────────────────────
MEDIUMserver/jobs/helpers/memory-extraction-utils.js218// ── Phase 2: Reflector ───────────────────────────────────────────────
Over-Commented Block23 hits · 23 pts
SeverityFileLineSnippet
LOWfrontend/src/locales/resources.js1// Looking for a language to translate AnythingLLM to?
LOWfrontend/src/models/agentFlows.js81 // headers: {
LOW…ployments/aws/cloudformation/aws_https_instructions.md41# listen 80;
LOWcloud-deployments/helm/charts/anythingllm/values.yaml41
LOWcloud-deployments/helm/charts/anythingllm/values.yaml61 # selector:
LOWcloud-deployments/helm/charts/anythingllm/values.yaml81 name: ""
LOWcloud-deployments/helm/charts/anythingllm/values.yaml101 # in order to have the right permissions on mounted volumes
LOWcloud-deployments/helm/charts/anythingllm/values.yaml121 UID: "1000"
LOWcloud-deployments/helm/charts/anythingllm/values.yaml161 # List of rules and filters applied.
LOWcloud-deployments/helm/charts/anythingllm/values.yaml221 port: 8888
LOWcloud-deployments/helm/charts/anythingllm/values.yaml241nodeSelector: {}
LOWcloud-deployments/helm/charts/anythingllm/values.yaml261# name: open-ai-api-key-secret
LOWserver/endpoints/agentFlows.js101 );
LOWserver/endpoints/agentFlows.js121 // results: {
LOWserver/utils/database/index.js1const { getGitVersion } = require("../../endpoints/utils");
LOWserver/utils/agents/aibitat/index.js321 * @returns The agent configuration.
LOWserver/utils/agents/aibitat/utils/dedupe.js1// Some models may attempt to call an expensive or annoying function many times and in that case we will want
LOWserver/utils/AiProviders/groq/index.js121 `${this.model} is not an explicitly supported vision model! Will omit attachments.`
LOWserver/utils/AiProviders/cerebras/index.js141 return userPrompt;
LOWserver/utils/telegramBot/index.js61 "504",
LOWserver/utils/BackgroundWorkers/index.js241 /* Job may already be removed */
LOWserver/models/systemSettings.js501 // --------------------------------------------------------
LOW.devcontainer/devcontainer.json1// For format details, see https://aka.ms/devcontainer.json. For config options, see the
Verbosity Indicators6 hits · 9 pts
SeverityFileLineSnippet
LOWserver/utils/middleware/simpleSSOEnabled.js20 // If the multi-user mode response local is not set, we need to check if it's enabled.
LOWserver/utils/AiProviders/modelRouter/index.js50 // Step 1: Calculated rules (always re-evaluated, they're instant)
LOWserver/utils/AiProviders/modelRouter/index.js62 // Step 2: LLM rules (cached to avoid expensive re-classification)
LOWserver/utils/AiProviders/modelRouter/index.js77 // Step 3: No rule matched — check sticky route
LOWserver/utils/AiProviders/modelRouter/index.js88 // Step 4: Sticky expired — use fallback
LOWserver/utils/helpers/admin/index.js4// When a user is updating or creating a user in multi-user, we need to check if they
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWdocker/docker-entrypoint.sh3# Check if STORAGE_DIR is set
LOWcloud-deployments/openshift/docker-entrypoint.sh13# Check if STORAGE_DIR is set
LOW.github/workflows/build-and-push-image-semver.yaml25 # Check if the secret for USERNAME is set (don't even check for the password)
LOW.github/workflows/build-and-push-image.yaml44 # Check if the secret for USERNAME is set (don't even check for the password)
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMfrontend/public/embed/anythingllm-chat-widget.min.js37 */function M(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&ar
MEDIUMfrontend/public/embed/anythingllm-chat-widget.min.js37 */function M(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&ar
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippet
HIGH…ponents/VectorDBSelection/ChromaCloudOptions/index.jsx13 placeholder="ck-your-api-key-here"
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMserver/endpoints/api/openai/index.js21 #swagger.description = 'Get all available "models" which are workspaces you can use for chatting.'
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippet
LOWserver/__tests__/utils/TextSplitter/index.test.js38 docAuthor: "John Doe",