Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    AnythingLLM Config Security Audit

    by CashonlyTian

    1

    Scores 10 checks 0–100 with grade + score-card PNG.

    $7.20

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    AnythingLLM Config Security Audit

    AnythingLLM Config Security Audit

    Example session with this skill installed

    Audit my self-hosted AnythingLLM install at reference/demo-project and generate the security report. The project name is "Acme AnythingLLM Demo", date 2026-11-30, language en.

    • Read your context and instructions
    • Compiled the anythingllm config security

    Audit Results: Acme AnythingLLM Demo

    Score: 5/100 | Grade: F | Risk: CRITICAL | 47 findings

    Version 1.12.1 — exposed to 7 known flaws, including ripgrep RCE (CVE-2026-48116, CVSS 8.8).

    CheckScoreFindings
    Patched Version1/107
    Auth & Users0/103
    Literal Secrets0/104
    Agent Skills & Filesystem0/108
    Workspaces & Sharing0/105
    Vector DB Exposure2/102
    Network Exposure0/104
    Storage & Database2/102
    Container Hardening0/109
    File Hygiene & Backups0/103

    Per-check scores: 1, 0, 0, 0, 0, 2, 0, 2, 0, 0 — all 10 checks fire.

    Top fixes: upgrade to 1.20.0 (patched through 1.16.2); set a strong AUTH_TOKEN and JWT_SECRET and enable multi-user mode; remove literal secrets from .env; disable the filesystem agent skills (filesystem-search-files); make workspaces private and gate embed widgets; set a Qdrant API key; stop publishing port 3001 on 0.0.0.0 and put TLS in front; set STORAGE_DIR, protect anythingllm.db, pin the image, drop root/privileged/Docker-socket, and back up.

    The scan is local only and a 1024x1024 score-card PNG is generated.

    Clean demo (reference/demo-project-clean, version 1.20.0):

    100/100, grade A, risk LOW, 0 findings. Empty-directory sanity: 100/100, all checks n/a. scripts/verify.py PASS (166 checks).

    Connects securely to your tools. The creator never sees your data.

    About this skill

    AnythingLLM Config Security Audit

    Audit a self-hosted AnythingLLM install BEFORE it goes live — ripgrep RCE (CVE-2026-48116, 8.8), password-recovery takeover (CVE-2026-72917), Qdrant key leak (CVE-2026-24477), public workspaces, open embeds, exposed 3001, Docker hardening. Scores 10 checks 0–100 with grade + score-card PNG.

    Audit a self-hosted AnythingLLM install directory (a version.txt, a .env, a docker-compose.yml, a docker-compose.override.yaml, a package.json, a workspaces/*.json workspace export, an agent-skills.txt, an embeds.txt, a sharing.txt, a backups.txt, a reverse-proxy.txt, a setup.txt, a firewall.txt, a telemetry.txt, a tracked.txt and a storage/ data directory) BEFORE it goes live — the version against the verified November 2026 flaw table (CVE-2024-5211 path traversal via the custom-logo upload, CVSS 9.1, fixed 1.0.0; CVE-2024-0759 SSRF via the link collector, CVSS 7.7, fixed 1.0.0; CVE-2024-8248 path traversal in normalizePath(), CVSS 7.2, fixed 1.2.2; CVE-2024-10513 path traversal in the document uploads manager, CVSS 7.2, fixed 1.2.2; CVE-2024-13059 path traversal via non-ASCII filenames, CVSS 7.2, fixed 1.3.1; CVE-2026-24477 Qdrant API key leaked via /api/setup-complete, CVSS 7.5, fixed 1.10.0; CVE-2026-24478 DrupalWiki path traversal, CVSS 7.2, fixed 1.10.0; CVE-2026-48116 ripgrep --pre argument injection RCE in the filesystem-search-files agent skill, CVSS 8.8, fixed 1.13.0; CVE-2026-45403 filesystem-copy-file symlink escape, CVSS 2.5, fixed 1.13.0; CVE-2026-47713 legacy mobile device tokens bypass multi-user workspace scoping, CVSS 4.3, fixed 1.13.0; CVE-2026-48789 Windows path containment bypass, high, fixed 1.13.0; CVE-2026-55611 embed-parsed-file IDOR deletion, medium, fixed 1.14.1; CVE-2026-72917 password-recovery code reuse, CVSS 5.9, fixed 1.16.0; CVE-2026-88055 stored XSS in MetaGenerator, CVSS 5.5, fixed 1.16.2; GHSA-8wh8-3v68-whwj anonymous embed visitors receive the owner's private Memories, high, fixed 1.16.2 — all fixed in 1.16.2), a missing / weak AUTH_TOKEN, a missing / weak JWT_SECRET, single-user mode still on, literal secrets in .env / compose / workspaces/*.json, the filesystem agent skills enabled (the ripgrep RCE surface), a public workspace, an embed widget open to any website, Qdrant with no API key, port 3001 published on 0.0.0.0 with plain HTTP and no TLS reverse proxy, Qdrant / Postgres / Chroma ports published on 0.0.0.0, STORAGE_DIR unset, a world-readable anythingllm.db, a :latest image, a container running as root / privileged / with the Docker socket mounted, or a world-readable .env with no backup. Scores 10 checks 0-100 with grade, risk level and a shareable 1024x1024 score-card PNG (English + Chinese). The scan is local only: config files are parsed as text, workspace JSON files are read as text and never imported, and secret values are never printed in full anywhere — findings name the key and the kind only.

    The 10 checks (10 points each)

    1. patched_version — the installed version is fully patched: version.txt (or a version line in .env, or the version in package.json, or the compose image tag as a fallback) is 1.16.2 or later. Fully patched scores 10, 1.16.0–1.16.1 scores 8, 1.13.0–1.15.x scores 3, 1.10.0–1.12.x scores 1, older / unpatched scores 0, a missing version scores 5 (cannot verify — partial). A pre-release suffix caps the score at 7. Note: 1.20.0 is the latest release verified (17 November 2026) and the recommended pin; 1.16.2 (22 September 2026) is the last version the flaw table is verified against. One finding per CVE the version is exposed to.
    2. auth_and_users — authentication is configured and the defaults are gone: AUTH_TOKEN is set (missing is critical — without it, anyone who opens the domain can use the instance, read its documents and spend from your model account), not a weak value (changeme, password, secret — high) and not short (under 12 characters — medium); JWT_SECRET is set (missing is high), not the same value as AUTH_TOKEN (high) and not short (under 16 characters — medium); multi-user mode is recorded as enabled in setup.txt (not recorded is medium — the default single-user mode lets anyone with the URL see every document). A ${VAR} reference passes for any of these values. Score 10 minus weighted findings, floor 0.
    3. literal_secrets — no literal secrets in .env / docker-compose.yml / workspaces/*.json: model provider API keys (OpenAI, Anthropic, ...), vector-database keys (Qdrant, Pinecone, Chroma) and any other secret key. A placeholder / weak value (changeme, password, secret, under 8 characters for a key) is medium; any other literal value is high. A base64-looking value is still a literal secret. ${VAR} references are NOT flagged; secret values are never printed in full anywhere. AUTH_TOKEN and JWT_SECRET are check 2's job, so they are not counted here. A *_PATH variable holds a filesystem path, not a secret, so it is not flagged; a boolean feature flag is not a secret either. Score 10 minus weighted findings, floor 0.
    4. agent_skills_and_filesystem — the agent skills are locked down: ANYTHING_LLM_RUNTIME is not docker (the filesystem plugin is enabled by default in the official Docker image — medium); no agent-skills.txt line enables filesystem-search-files (high — the ripgrep --pre argument injection, CVE-2026-48116, CVSS 8.8) or filesystem-write-text-file (high — the sibling skill in the RCE chain); filesystem-copy-file (medium — CVE-2026-45403), filesystem-create-file / filesystem-edit-file (medium), sql-agent (medium) and web-browsing / web-scraping / rag-memory (low) are not enabled; no workspace in workspaces/*.json enables a filesystem skill. A disabled skill passes. Score 10 minus weighted findings, floor 0.
    5. workspaces_and_sharing — workspaces are not public and embed widgets are gated: no workspace in workspaces/*.json is marked public ("public": true / "isPublic": true / "is_public": true / "openToPublic": true) — high each; a public workspace with no sharing.txt note recording that the sharing was reviewed is medium; no embed widget in embeds.txt allows requests from any website (domains is * or missing) — high each; no embed widget has memory on in single-user mode (anonymous visitors receive the owner's private Memories, GHSA-8wh8-3v68-whwj) — high each; every embed widget has a per-session chat limit (a missing or unlimited maxChats is medium). Score 10 minus weighted findings, floor 0.
    6. vector_db_exposure — the vector database is not open: VECTOR_DB=qdrant has a QDRANT_API_KEY set (without one the vector database accepts unauthenticated connections — high); Qdrant is reached over https://, not plain http:// — medium; VECTOR_DB=chroma is kept on the internal Docker network (Chroma has no authentication by default) — medium. The embedded LanceDB default passes. Score 10 minus weighted findings, floor 0.
    7. network_exposure — no service in docker-compose publishes the front port (SERVER_PORT, else 3001 — AnythingLLM does NOT read PORT), 80 or 443 on 0.0.0.0 (a bare 3001:3001 entry binds all interfaces too) — each such publication is high; Qdrant (6333/ 6334), Postgres (5432) and Chroma (8000) are not published on 0.0.0.0 — high each; no TLS reverse proxy documented (no reverse-proxy.txt note) is medium; DISABLE_TELEMETRY not set to true is low. The proxy service in compose is the front door, not evidence of TLS. Docker-published ports skip ufw. Score 10 minus weighted findings, floor 0.
    8. storage_and_database — STORAGE_DIR is set (unset is medium — the server falls back to a path inside the image and UI-written settings are lost on recreate); a SQLite database file (anythingllm.db, *.db, .sqlite) readable by group / other users is high; and a backup exists (no backups.txt note, no backups/ directory, no *.bak marker is medium when a storage/ or data/ directory exists — the backup finding is also check 10's job). Score 10 minus weighted findings, floor 0.
    9. container_hardening — no image tagged :latest / :main / untagged is medium; no container running as root (no user:) is medium; privileged: true is critical and a dangerous cap_add (SYS_ADMIN / NET_ADMIN / ALL) is high; a Docker socket mount is high; a host / or /etc mount is high; no healthcheck, no restart policy and no resource limits are low each. Findings are aggregated per kind across services (one finding per kind, naming the services). Score 10 minus weighted findings, floor 0.
    10. file_hygiene_and_backups — .env / a TLS key with any group / other permission bit (mode & 0o077, i.e. anything looser than 0600) is high each; a storage/ or data/ directory that is world-writable is medium; no backup present (no backups.txt note, no backups/ directory, no *.bak marker) is medium when a storage/ or data/ directory exists; a missing version.txt is low — and only fires when check 1 also scored partial, so the same gap is not double-penalised. Score 10 minus weighted findings, floor 0.

    How to run

    # 1. Copy the whole install directory as-is (keep the file names
    #    and the file modes exactly as deployed): version.txt,
    #    .env, docker-compose.yml, docker-compose.override.yaml,
    #    package.json, workspaces/*.json, agent-skills.txt,
    #    embeds.txt, sharing.txt, backups.txt, reverse-proxy.txt,
    #    setup.txt, firewall.txt, telemetry.txt, tracked.txt,
    #    storage/. Record multi-user mode in setup.txt, public
    #    workspaces and embed widgets in sharing.txt, the TLS
    #    reverse proxy in reverse-proxy.txt, and backups in
    #    backups.txt.
    # 2. Write the meta JSON (see reference/example_input.json):
    #    {"date": "2026-11-30", "project": "Acme AnythingLLM Demo",
    #     "language": "en", "accent": "#C2410C",
    #     "brand": "AnythingLLM Config Security Audit",
    #     "path": "reference/demo-project"}
    # 3. Run the scan:
    python3 scripts/run.py --input <meta.json> --path <dir> --output <outdir>
    # 4. Verify the demo card and both demo projects:
    python3 scripts/verify.py
    

    Demo results (all run, not invented)

    • Unsafe demo (reference/demo-project, "Acme AnythingLLM Demo", version 1.12.1): 5/100, grade F, risk CRITICAL, 47 findings — 7 patched version, 3 auth and users, 4 literal secrets, 8 agent skills and filesystem, 5 workspaces and sharing, 2 vector DB exposure, 4 network exposure, 2 storage and database, 9 container hardening, 3 file hygiene and backups. Per-check scores: 1, 0, 0, 0, 0, 2, 0, 2, 0, 0 — all 10 checks fire.
    • Clean demo (reference/demo-project-clean, version 1.20.0): 100/100, grade A, risk LOW, 0 findings.
    • Empty-directory sanity: 100/100, all checks n/a.
    • scripts/verify.py PASS (166 checks, incl. the version ladder: 0.9.0 / 1.0.0 / 1.2.2 / 1.5.0 score 0, 1.10.0 / 1.12.1 score 1, 1.13.0 / 1.14.1 / 1.15.0 score 3, 1.16.0 / 1.16.1 score 8, 1.16.2 / 1.20.0 score 10, 1.16.2-dev caps at 7, missing version scores 5; exposed-flaw counts 0.9.0 → 12, 1.0.0 → 11, 1.2.2 → 9, 1.5.0 → 8, 1.10.0 → 6, 1.12.1 → 7, 1.13.0 → 4, 1.14.1 → 3, 1.15.0 → 3, 1.16.0 → 2, 1.16.1 → 2, 1.16.2 / 1.20.0 → 0; no demo secret value in any finding or report; .env byte-identical after a scan; no scanner script executes code; no curl|sh pipe in any fixture).
    • Build corrections (see reference/notes.md): three verify.py expectations were corrected after the scanner proved them wrong (the "JWT_SECRET short" case value was 16 characters, not 15, so it passed; STORAGE_DIR is set in both .env and the compose environment: block, so unsetting it means removing it from both; the workspace cases needed a 6-tuple because the clean base already ships sharing.txt). CVE-2026-48116 is scored at CVSS 8.8 (NVD), not the 7.5 in the original brief; CVE-2026-47713 is scored at CVSS 4.3 (NVD), not the 8.1 GHSA-advisory estimate in the original brief. AnythingLLM's own brand is a dark navy / purple gradient; the #C2410C burnt orange is the task-chosen accent for this skill's cards and logo, distinct from Flowise green #059669 and the recent skills' teal / cyan / blue / violet / crimson.

    Files

    • SKILL.md — the skill (inputs, the 10 checks, steps, safety rules).
    • scripts/scan.py — the scanner (pure Python, no network).
    • scripts/render.py — the 1024x1024 score-card renderer (Pillow).
    • scripts/run.py — the CLI (--input, --path, --output).
    • scripts/verify.py — the verifier (card layout, demo scores, secret masking, empty-directory sanity, read-only scan check, no-code-execution AST check, edge cases).
    • scripts/make_logo.py — makes logo.png (512x512).
    • scripts/make_demo.py — builds the two demo install directories (build-time only, excluded from the zip).
    • reference/patterns.md — what each check looks for.
    • reference/notes.md — verified facts, corrections, known limits.
    • reference/demo-project/ — deliberately unsafe install directory (all values fake, all hosts .test).
    • reference/demo-project-clean/ — clean install directory (scores 100/100, no false positives).

    Summary for Agensi

    Summary (291/300 chars — use this exact text for the Agensi summary field):

    Audit a self-hosted AnythingLLM install BEFORE it goes live — ripgrep RCE (CVE-2026-48116, 8.8), password-recovery takeover (CVE-2026-72917), Qdrant key leak (CVE-2026-24477), public workspaces, open embeds, exposed 3001, Docker hardening. Scores 10 checks 0–100 with grade + score-card PNG.

    Full description (verbatim SKILL.md frontmatter description — use this exact text for the Agensi full description field):

    Audit a self-hosted AnythingLLM install BEFORE it goes live — ripgrep RCE (CVE-2026-48116, 8.8), password-recovery takeover (CVE-2026-72917), Qdrant key leak (CVE-2026-24477), public workspaces, open embeds, exposed 3001, Docker hardening. Scores 10 checks 0–100 with grade + score-card PNG.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Scans local files only, no network probing. Limited to flaws verified through November 2026. Does not audit Dify, Langflow, or other LLM stacks.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Write Files
    Read Files
    Environment Variables
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill performs a structural audit of your configuration files, environment variables, and Docker manifests; it does not require a live network connection to your instance or administrative access to a running UI.

    The audit covers any self-hosted AnythingLLM deployment, whether running via Docker Compose or a manual local installation on Linux, macOS, or Windows.

    Yes, the skill includes a verified CVE mapping table that specifically identifies version-specific flaws like the ripgrep RCE and Qdrant API key leaks.

    You receive the core auditing logic, the 10-point scoring framework, and a template for generating visual security scorecards for reporting purposes.

    This skill is designed for structural hardening; it cannot detect active malware infections, zero-day exploits outside its database, or vulnerabilities within the underlying OS kernel.

    New in LLM Ops