Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Zulip Config Security Audit

    by CashonlyTian

    1

    Self-hosting a Zulip server often leads to misconfigurations that leave private communication exposed.

    $7.20

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Zulip Config Security Audit

    Zulip Config Security Audit

    Example session with this skill installed

    Audit my Zulip install in ./zulip-prod. It uses a docker-compose setup. Check the version against the latest GHSA advisories and verify the secrets are not placeholders.

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

    Audit completed for Zulip install at ./zulip-prod. Analyzed settings.py, zulip-secrets.conf, zulip.conf, docker-compose.yml, .env, version.txt and nginx configs.

    Security Audit Report

    Overall Score: 0/100 (Grade: F, Risk: CRITICAL)

    Total findings: 105

    CheckFindings
    version2
    secrets22
    registration_auth11
    external_host_tls10
    uploads_tusd6
    email4
    rate_limiting4
    integrations_webhooks4
    container33
    hygiene_backups9
    Total105

    What failed

    Version (2 findings): pinned version is behind the verified GHSA fix table — vulnerable to GHSA-f7qf-999g-f6h9 (tusd file upload) and GHSA-2fx7-3vcm-hg62 (Slack import). Fix in 13.3.

    Secrets (22 findings): weak, placeholder and short secrets in zulip-secrets.conf and .env, including a literal SECRET_KEY in settings.py.

    Registration / auth (11 findings): open registration enabled, 2FA not required, and SAML / LDAP / OAuth hardening missing.

    • EXTERNAL_HOST / TLS (10 findings): EXTERNAL_URI_SCHEME set to http, no TLS-terminating proxy, HSTS missing.
    • Uploads / tusd (6 findings): local-disk uploads with tusd misconfigured.
    • Email (4 findings): SMTP / mail settings insecure or incomplete.
    • Rate limiting (4 findings): rate limits not configured.
    • Integrations / webhooks (4 findings): webhook and integration settings insecure.

    Container (33 findings): privileged containers, dangerous capabilities, database and service ports published to 0.0.0.0, running as root.

    • Hygiene / backups (9 findings): no verified backup routine and stale / unpinned images.

    Next steps

    • Update the Zulip image tag to 13.3-0 and restart the container.
    • Rotate all placeholder and weak secrets in zulip-secrets.conf.
    • Disable open registration, require 2FA, and terminate TLS at nginx (port 443, ssl_certificate).
    • Remove privileged mode and unpublish database ports, then re-scan.

    Clean run (for comparison)

    A hardened install scores 100/100 (Grade: A, Risk: LOW) with 0 findings across all 10 checks.

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

    About this skill

    Self-hosting a Zulip server often leads to misconfigurations that leave private communication exposed. This skill audits your install configuration against 10 critical security domains to ensure your server is hardened before going live.

    What it does

    • Version validation checks your image tags against verified GHSA fix tables to identify vulnerable or end-of-life releases.
    • Secret scanning detects weak, placeholder, or world-readable keys in zulip-secrets.conf and environment files.
    • Auth auditing evaluates registration policies, 2FA status, LDAP/SAML encryption, and password complexity.
    • Network hardening verifies TLS configurations, HSTS headers, and proxy setups to prevent man-in-the-middle attacks.
    • Service isolation reviews Docker Compose files for privileged containers, dangerous capabilities, and exposed database ports.
    • Vulnerability matching specifically checks for the tusd file upload and Slack import vulnerabilities (GHSA-f7qf-999g-f6h9 and GHSA-2fx7-3vcm-hg62).

    How it works

    1. Targeting involves pointing the skill at your Zulip install directory containing settings.py, zulip.conf, and docker-compose.yml.
    2. Static Analysis parses your configuration as text to resolve variables across environment files and secrets.
    3. Scoring applies a 0 to 100 point system across 10 security checks, factoring in severity weights from low to critical.
    4. Reporting generates a Markdown fix report and a visual score-card PNG summarizing the server's risk level.

    Why this beats prompting it yourself

    Generic prompts often miss version-specific Zulip vulnerabilities like the tusd upload bug or specific LDAP/OIDC PKCE configuration requirements. This skill uses a codified table of verified GHSA fixes and scans across multiple linked files simultaneously, ensuring secrets are masked and environment variables are resolved correctly.

    Use cases

    • Audit a Zulip server before moving from staging to a public production URL.
    • Verify security posture after a major version upgrade or configuration change.
    • Perform a due diligence review on a self-hosted instance inherited from another admin.

    Known limitations

    Registration / 2FA / SAML / LDAP / OAuth / rate limiting / mail / upload settings that live only in the admin UI are read from note files; a missing note is not penalised, and whether the admin UI actually matches the note cannot be proven from files. The 'behind latest' finding uses the 13.3 snapshot from 2026-12-01; Zulip ships often, so it drifts. No digest finding is scored — the ghcr.io/zulip/zulip-server manifest digest was not verified from a citable source; tag pinning only. GHSA-h2r5-x5m7-3935 (the PKCE bug) has no version finding — it is scored only as a config matter (PKCE off). Whether the owner account was actually changed, and whether a secret is strong after boot, cannot be proven from config files — the scanner only reads what the files record.

    Demo — clean run

    A hardened install scores 100/100 (Grade: A, Risk: LOW) with 0 findings across all 10 checks.

    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.

    Registration / 2FA / SAML / LDAP / OAuth / rate limiting / mail / upload settings that live only in the admin UI are read from note files; a missing note is not penalised, and whether the admin UI actually matches the note cannot be proven from files. The 'behind latest' finding uses the 13.3 snapshot from 2026-12-01; Zulip ships often, so it drifts. No digest finding is scored — the ghcr.io/zulip/zulip-server manifest digest was not verified from a citable source; tag pinning only. GHSA-h2r5-x5m7-3935 (the PKCE bug) has no version finding — it is scored only as a config matter (PKCE off). Whether the owner account was actually changed, and whether a secret is strong after boot, cannot be proven from config files — the scanner only reads what the files record.

    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

    No. It reads local config files only — settings.py, zulip-secrets.conf, zulip.conf, docker-compose.yml, .env, the version.txt file, nginx configs and the scanner-convention notes — as text. Nothing is uploaded, nothing is executed, and the scanned directory is never written to.

    They are recorded in note files in the install root (registration.txt, auth.txt, email.txt, uploads.txt, setup.txt) and the scanner reads the notes. A missing note file is not penalised — the check simply cannot see those settings. The config file (settings.py / .env) always wins when both carry the same setting, and a setting is never double-counted.

    It does not flag the secret being in zulip-secrets.conf — that is the documented method. It scores the value for strength (weak / placeholder / shorter than 16 characters / missing entirely). A $(VAR) reference passes by design — the real value lives outside the scanned files. The same applies to the SECRETS_* values in .env and the SMTP password. A literal SECRET_KEY in settings.py is flagged because the real file reads it with get_mandatory_secret — the value belongs in zulip-secrets.conf.

    No — that is the default self-hosted deployment. Zulip itself serves plain http behind the proxy, and that passes when an nginx file in the scanned directory serves TLS (listen 443 ssl / ssl_certificate), or when reverse-proxy.txt records a TLS-terminating proxy. The finding fires only when there is no TLS-terminating proxy at all, or when port 443 is published directly to 0.0.0.0 (bypassing the proxy).

    The version check compares your pinned version against the verified GHSA fix table (13.3 on the 13.x line, 12.5 on the 12.x line) and against the latest stable at the time this skill was built (13.3, 2026-11-19). Being behind the latest stable with no GHSA finding is only a low finding — the medium and high findings are the ones tied to a GHSA, an end-of-life line, or a tag that cannot be matched against the advisory table.

    No. This is a config-misconfiguration check, not a vulnerability database. A 100/100 install can still have an unpatched application bug, a weak secret the scanner cannot see (a $(VAR) reference passes by design), or a setting in the admin UI that was never recorded in a note file. Fix the findings, re-scan, and keep the version pinned to a release past the GHSA fixes.

    New in LLM Ops