Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Directus Config Security Audit

    by CashonlyTian

    1

    Audit a self-hosted Directus install before it stays exposed: 10 checks / 100 points on version vs the verified CVE fix table, admin auth, secrets, TLS, database, public WebSocket auth, storage, mail, container hardening and backups, plus a score card and fixes.

    $7.20

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Directus Config Security Audit

    Directus Config Security Audit

    Example session with this skill installed

    Audit my Directus install in ./deploy and generate a Chinese report. The .env file uses a floating directus:12-alpine tag.

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

    I have completed the security audit for the Directus installation in ./deploy. The scan analyzed your .env, docker-compose.yml, and .gitignore files.

    Demo 1 — Unsafe: Acme Directus Demo (directus/directus:12.0.2)

    Audit Summary

    CheckScoreStatus
    version0/10CRITICAL: Version 12.0.2 is below the verified CVE fix versions
    admin_auth0/10CRITICAL: ADMIN_PASSWORD is too short
    literal_secrets0/10CRITICAL: Literal secrets found in .env
    public_url_tls0/10CRITICAL: PUBLIC_URL using http://
    database0/10CRITICAL: Database credentials are weak or exposed
    websockets0/10CRITICAL: WEBSOCKETS_REST_AUTH=public
    files_storage4/10HIGH: Storage location is not hardened
    email2/10HIGH: Email configuration is insecure
    container0/10CRITICAL: Running as root user
    hygiene_backups0/10CRITICAL: No backup configuration found

    Score: 6/100
    Final Grade: F
    Risk Level: CRITICAL
    Findings: 47

    Demo 2 — Clean: Acme Directus Clean (directus/directus:12.7.0)

    Score: 100/100
    Final Grade: A
    Risk Level: LOW
    Findings: 0

    All 10 checks pass on the pinned image directus/directus:12.7.0 with strong admin auth, masked secrets, HTTPS public URL, hardened database, WebSocket auth set to user, secure storage, mail, container and backups.

    Security Fix Report (English/中文)

    1. WebSocket Security / WebSocket 安全

    • Severity: CRITICAL
    • Finding: WEBSOCKETS_REST_AUTH is set to public.
    • Impact: This allows unauthenticated users to access sensitive event data via the REST interface.
    • Fix: Set WEBSOCKETS_REST_AUTH="user" in your .env file.
    • 修复: 在 .env 文件中设置 WEBSOCKETS_REST_AUTH="user"。

    2. Version Pinning / 版本锁定

    • Severity: CRITICAL
    • Finding: Using image directus/directus:12.0.2, below the verified CVE fix versions.
    • Impact: The install is exposed to CVE-2026-126539 (fixed in 12.1.0) and CVE-2026-129239 (fixed in 12.3.1).
    • Fix: Pin to a specific version, e.g., directus/directus:12.7.0.
    • 修复: 固定到具体版本,例如 directus/directus:12.7.0。

    3. Admin Password / 管理员密码

    • Severity: CRITICAL
    • Finding: ADMIN_PASSWORD does not meet minimum length requirements.

    Fix: Update ADMIN_PASSWORD to a high-entropy string of at least 16 characters. Secrets are masked to *** in reports and never leave the machine.

    Next steps

    1. Review out/scan-report.md for the full list of 47 findings.
    2. Update the .env file with the recommended security values.
    3. Rerun the scan to verify the new score reaches Grade A (100/100).

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

    About this skill

    Audit a self-hosted Directus install before it stays exposed: 10 checks / 100 points on version vs the verified CVE fix table, admin auth, secrets, TLS, database, public WebSocket auth, storage, mail, container hardening and backups, plus a score card and fixes.

    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.

    Audits local config files only; no network scan, and no roles, policies or database content analysis. CVE data is current as of 2026-11-30; versions after 2026-11-30 may drift. CVE-2026-132136's fix version is unverified and out of scope.

    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 today

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Write Files
    Read Files
    Environment Variables
    Listedtoday

    What's inside

    Frequently Asked Questions

    It audits a self-hosted Directus install's .env + Docker Compose + container setup with 10 checks / 100 points: version vs the verified CVE fix table, admin auth, secrets, TLS, database, public WebSocket auth, storage, mail, container hardening and backups, plus a score card and fixes.

    Collections, roles and policies. Those live in the database, not in config files, so this local config audit does not analyse them, and it does not analyse any database content.

    Run python3 scripts/run.py. It is pure Python + Pillow, runs locally with no network access, and needs no running Directus containers or active network scan.

    It reads .env, the Docker Compose file, .gitignore, and reverse-proxy / backups / webhooks notes. Secrets are masked to *** in reports and never leave the machine.

    Yes. It generates EN + ZH score cards (PNG) and reports, including the Chinese report shown in the demo.

    Local config files only, with no network scan and no roles, policies or database content analysis. Versions after 2026-11-30 may drift, and CVE-2026-132136's fix version is unverified and out of scope.

    New in LLM Ops