Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Gitea Config Security Audit

    by CashonlyTian

    1

    Stop deploying Gitea instances with default credentials or unpatched vulnerabilities.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Gitea Config Security Audit

    Gitea Config Security Audit

    Example session with this skill installed

    Audit the Gitea install at ./gitea-prod and generate a scorecard. The running version is 28.2.0.

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

    Audit complete for project: gitea-prod (Gitea 28.2.0). The scan found 77 findings across all 10 checks — do not put this install live.

    Security Audit Results

    CategoryScoreStatusKey Finding
    Patched Version0/10FAILRunning 28.2.0; vulnerable to November 2026 CVEs (CVE-2026-125423, CVE-2026-123006, CVE-2026-120263)
    Install Lock0/10FAILINSTALL_LOCK = false in app.ini
    Registration0/10FAILDISABLE_REGISTRATION is false — open registration
    HTTPS & Cookies0/10FAILPlain HTTP; no TLS and cookies not Secure
    Secrets Security0/10FAILSECRET_KEY is a literal string in config
    Repository Defaults0/10FAILDEFAULT_PRIVATE is false — new repos are public
    Network Egress0/10FAILEGRESS_MODE is default (lax) — Actions and webhooks can reach the internal network
    Password Policy0/10FAILComplexity and Pwned check disabled
    Privacy & Services0/10FAILSwagger and Pprof enabled
    File Permissions0/10FAILapp.ini is world-readable (0644)

    Overall Score: 0/100 (Grade: F - CRITICAL RISK)
    Findings: 77
    Top 3 Fixes:

    1. Upgrade Gitea: Update to version 28.4.0 or higher to patch CVE-2026-125423 and CVE-2026-123006.
    2. Lock Installer: Set INSTALL_LOCK = true in [security] and move literal secrets to environment variables.
    3. Fix Permissions: Run chmod 600 custom/conf/app.ini to prevent credential exposure to other local users.
      Clean re-run (Gitea 28.4.0, after fixes)
      All 10 checks pass 10/10. Overall Score: 100/100 (Grade: A - LOW RISK) Findings: 0 — score-card PNG generated.
      Next steps
    • Review scan-report.md for the full line-by-line finding list.
    • Apply the version upgrade and configuration hardening steps.
    • Re-run the scan to verify the updated security posture.

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

    About this skill

    Stop deploying Gitea instances with default credentials or unpatched vulnerabilities. This skill audits local Gitea installation directories to identify configuration drifts, weak secrets, and critical security flaws before they are exploited. It specifically targets the November 2026 vulnerability batch including account takeovers, race conditions, and repository metadata leaks.

    What it does

    • Vulnerability scanning identifies versions susceptible to the November 2026 flaws like CVE-2026-125423 and CVE-2026-123006.
    • Config auditing checks app.ini for INSTALL_LOCK status, open registration, and insecure ROOT_URL settings.
    • Secret analysis flags literal strings for SECRET_KEY, INTERNAL_TOKEN, and database passwords instead of secure environment references.
    • Network hardening evaluates egress rules for Actions and webhooks to prevent internal network scanning.
    • Permission verification checks for world-readable app.ini files and insecure SQLite database permissions.

    How it works

    1. Target selection involves pointing the tool at a local Gitea installation directory containing custom/conf/app.ini.
    2. Static analysis runs a non-intrusive regex scan across configuration files without executing any Gitea binaries or processes.
    3. Score generation produces a 0-100 security grade based on 10 specific security domains.
    4. Reporting outputs a prioritized fix list and a visual scorecard PNG for stakeholders.

    Frameworks & tools

    Built for Gitea self-hosted environments. Uses Python-based regex parsing for app.ini and filesystem permission checks.

    Why this beats prompting it yourself

    Generic LLM prompts often miss specific Gitea version-based CVEs and cannot verify local file system permissions. This skill uses a structured 10-point audit framework that maps directly to documented Gitea security best practices and specific 2026 exploit vectors.

    Use cases

    • Auditing a new Gitea instance before opening it to the public internet.
    • Verifying that a version upgrade to 28.4.0 successfully mitigated recent CVEs.
    • Identifying literal passwords in configuration files that should be moved to environment variables.
    • Validating repository privacy defaults and registration controls for compliance.

    Known limitations

    Does not audit running server state or plugins. Scans only local configuration files and cannot perform network-based penetration testing.

    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 config files only. Does not connect to live hosts or audit installed plugins. Skips files over 2 MB.

    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 2 days ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed2 days ago

    What's inside

    Frequently Asked Questions

    This skill identifies critical security gaps in Gitea, specifically targeting the November 2026 vulnerability batch, insecure app.ini settings, and exposed secrets that could lead to account takeovers or data leaks.

    The tool is designed for self-hosted Gitea environments and requires access to the local installation directory to perform static analysis on configuration files and filesystem permissions.

    No, this skill performs a non-intrusive static analysis of your configuration files and does not execute Gitea binaries or interact with the running server process.

    You will receive the AI agent skill package, a structured 10-point audit framework, and the capability to generate prioritized fix lists and visual security scorecards.

    This skill goes beyond text analysis by verifying actual local filesystem permissions and mapping findings to a specific 10-point framework that covers 2026-specific exploit vectors that generic prompts often miss.

    New in LLM Ops