Works with the AI Agents you already use
Gitea Config Security Audit
by CashonlyTian
Stop deploying Gitea instances with default credentials or unpatched vulnerabilities.
$7
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
| Category | Score | Status | Key Finding |
|---|---|---|---|
| Patched Version | 0/10 | FAIL | Running 28.2.0; vulnerable to November 2026 CVEs (CVE-2026-125423, CVE-2026-123006, CVE-2026-120263) |
| Install Lock | 0/10 | FAIL | INSTALL_LOCK = false in app.ini |
| Registration | 0/10 | FAIL | DISABLE_REGISTRATION is false — open registration |
| HTTPS & Cookies | 0/10 | FAIL | Plain HTTP; no TLS and cookies not Secure |
| Secrets Security | 0/10 | FAIL | SECRET_KEY is a literal string in config |
| Repository Defaults | 0/10 | FAIL | DEFAULT_PRIVATE is false — new repos are public |
| Network Egress | 0/10 | FAIL | EGRESS_MODE is default (lax) — Actions and webhooks can reach the internal network |
| Password Policy | 0/10 | FAIL | Complexity and Pwned check disabled |
| Privacy & Services | 0/10 | FAIL | Swagger and Pprof enabled |
| File Permissions | 0/10 | FAIL | app.ini is world-readable (0644) |
Overall Score: 0/100 (Grade: F - CRITICAL RISK)
Findings: 77
Top 3 Fixes:
- Upgrade Gitea: Update to version 28.4.0 or higher to patch CVE-2026-125423 and CVE-2026-123006.
- Lock Installer: Set
INSTALL_LOCK = truein[security]and move literal secrets to environment variables. - Fix Permissions: Run
chmod 600 custom/conf/app.inito 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.mdfor 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.iniforINSTALL_LOCKstatus, open registration, and insecureROOT_URLsettings. - 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.inifiles and insecure SQLite database permissions.
How it works
- Target selection involves pointing the tool at a local Gitea installation directory containing
custom/conf/app.ini. - Static analysis runs a non-intrusive regex scan across configuration files without executing any Gitea binaries or processes.
- Score generation produces a 0-100 security grade based on 10 specific security domains.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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