Works with the AI Agents you already use
Uptime Kuma Config Security Audit
by CashonlyTian
Scores 10 checks 0–100 with grade + score-card PNG.
$7.40
Uptime Kuma Config Security Audit
Example session with this skill installed
Audit my Uptime Kuma install for project "Acme Uptime Kuma Demo" (reference/demo-project). The running version is 2.5.8. Provide the report and the score-card PNG.
- Read your context and instructions
- Compiled the uptime kuma config
- Generated the document
I have completed the security audit for the Uptime Kuma installation for project Acme Uptime Kuma Demo (reference/demo-project), Uptime Kuma 2.5.8.
Uptime Kuma Security Audit Results — Unsafe demo
| Metric | Value |
|---|---|
| Project | Acme Uptime Kuma Demo |
| Uptime Kuma version | 2.5.8 |
| Score | 7 / 100 |
| Grade | F |
| Risk Level | CRITICAL |
| Findings | 36 |
Findings by check: 2 patched version, 6 literal secrets, 2 first-run setup, 1 auth disabled, 3 TLS, 3 network exposure, 5 notifications, 6 container hardening, 5 data / backup, 3 status pages / badges.
Top 3 Required Fixes
Upgrade Uptime Kuma: Version 2.5.8 is exposed to CVE-2026-119552 (TOCTOU race in the Socket.IO first-run setup handler, unauthenticated admin creation, through 2.5.8, fixed 2.5.9) and the Apprise RCE (GHSA-v2p3-6f5h-6hhf, versions <= 2.5.7). Update your image to louislam/uptime-kuma:2.5.12 or later immediately.
2.
Remove literal secrets: Literal secrets were found in .env / docker-compose.yml / notifications.txt. Move them to ${VAR} references or a protected secret store; secret values are masked to *** in every finding and report.
3.
Close first-run setup and re-enable auth: First-run setup is still open while port 3001 is published, and auth is disabled (disableAuth). Complete setup and turn auth back on before go-live.
Files generated:
- Score-card:
scan-2026-11-29.png(1024x1024) - Full Report:
scan-report.md
Clean demo — for comparison
| Metric | Value |
|---|---|
| Project | Acme Uptime Kuma Demo (clean install, reference/demo-project-clean) |
| Uptime Kuma version | 2.5.12 |
| Score | 100 / 100 |
| Grade | A |
| Risk Level | LOW |
| Findings | 0 |
Both demo results were run, not invented, and verified by scripts/verify.py (PASS).
scan-2026-11-29.png
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Uptime Kuma Config Security Audit
Audit an Uptime Kuma install (version.txt, compose, .env, settings.txt, notifications.txt, status-pages.txt) BEFORE go-live — version vs 2026 flaws (TOCTOU CVE-2026-119552, Apprise RCE, SSTI CVE-2026-33130), literal secrets, setup open, auth off. Scores 10 checks 0–100 with grade + score-card PNG.
Audit a self-hosted Uptime Kuma install directory (version.txt, docker-compose.yml, .env, settings.txt, setup.txt, notifications.txt, status-pages.txt, backups.txt, firewall.txt, reverse-proxy.txt, data/kuma.db, file modes) BEFORE it goes live — the Uptime Kuma version against the verified flaw table (CVE-2026-119552 TOCTOU race in the Socket.IO first-run setup handler, unauthenticated admin creation, through 2.5.8, CVSS 6.3, published 2026-10-30, fixed 2.5.9; GHSA-86ch-2247-gr56 unauthenticated Host-header injection + RSS cache poisoning, fixed 2.5.9; GHSA-v2p3-6f5h-6hhf authenticated RCE via Apprise CLI argument injection, versions <= 2.5.7, CVSS 8.7, fixed 2.5.8; GHSA-wf2j-5mc7-5c4w unauthenticated DoS in the ping badge, fixed 2.5.4; CVE-2026-77415 jsonata flaw, fixed 2.5.4; CVE-2026-33130 SSTI in Liquid notification templates, arbitrary file read, versions 1.23.0-2.2.0, CVSS 6.5, published 2026-03-20, fixed 2.2.1; CVE-2026-32230 missing authz on GET /api/badge/:id/ping/:duration?, leaks ping data of private monitors, versions 2.0.0-2.1.3, CVSS 5.3, published 2026-03-12, fixed 2.2.0; CVE-2026-136135 API-key management authz bypass, GHSA-qj5w-7r6x-6hfx, CVSS 3.1 5.4, published 2026-11-24, exploit disclosed, NO fixed release version published yet — a standing warning, never a claim that any version fixes it), literal secrets in .env / docker-compose.yml / notifications.txt, first-run setup still open while port 3001 is published, auth disabled (disableAuth), plain-HTTP public URL with no reverse proxy or NODE_TLS_REJECT_UNAUTHORIZED=0, port 3001 published to 0.0.0.0 on a deprecated :latest tag with no firewall note, notification channels with plaintext credentials or SMTP without TLS, a :latest / unpinned image or a container running as root / privileged, world-readable data/kuma.db or .env or no backup, and public status pages listing private monitors or ping badges on private monitors. Scores 10 checks 0-100 with grade, risk level and a shareable 1024x1024 score-card PNG (English + Chinese).
The 10 checks (10 points each)
- patched_version — the Uptime Kuma version from the
versioninput (or version.txt, or the docker-compose.ymlimage:line) against the verified flaw table. Ladder by exposed flaws: 0 exposed = 10; 1–3 = 7; 4–6 = 5; 7 = 0;:latest/ untagged / no version / a bare major tag (:2) = 5; a pre-release suffix caps the score at 7; versions below 2.0.0 are legacy and exposed to the whole scored table. One finding per flaw the version is exposed to. CVE-2026-136135 has no fixed release, so it is a standing warning in the fix text, never a scored finding. - literal_secrets — no literal secret sits in
.env,docker-compose.ymlenvironment ornotifications.txt: SMTP password, Apprise URL embedded credentials, webhook secrets, API keys hold only ${VAR} references, ********** masked values, empty values or ≥ 44-char base64-looking values. Secret values are masked to *** in every finding and report. Score 10 minus 5 per distinct literal, floor 0. - first_run_setup —
setup.txtsetup_completed=false→ high;setup.txtadmin_created=false→ high;setup.txtmissing orsetup_completedmissing → medium. Score 10 minus weighted findings, floor 0. - disable_auth —
settings.txtdisableAuth=true(orDISABLE_AUTH=truein.env) → critical (the whole check scores 0);disableAuthmissing / unset → medium. Score 0 on any critical finding, else 10 minus weighted findings, floor 0. - tls —
primaryBaseURLstarting withhttp://→ high;NODE_TLS_REJECT_UNAUTHORIZED=0→ high; no reverse-proxy configuration → medium;primaryBaseURLmissing → medium. Score 10 minus weighted findings, floor 0. - network_exposure — a 3001 port published to 0.0.0.0 / unbound → high; the
image:tag is:latest(deprecated — the Uptime Kuma README says to use:2) → high; no firewall note (nofirewall.txt) → medium. Score 10 minus weighted findings, floor 0. - notifications — an Apprise URL with embedded credentials → high; a Telegram
bot_tokenliteral → high; a Discord webhook URL in plaintext → high; an SMTP provider withtls=false→ high; an SMTP password literal → high. Score 10 minus weighted findings, floor 0. - container_hardening — image tag
:latestor unpinned (no tag) → high; nouser:(runs as root) oruser: root→ high;privileged: true→ critical; no healthcheck → medium; no restart policy → medium; a volume mounting/var/run/docker.sock→ high. Score 0 on any critical finding, else 10 minus weighted findings, floor 0. - data_backup —
data/kuma.db(or anykuma.db) at a mode with any group/other bit (mode > 0600) → high; thedata/directory writable by group/other → medium;.envat such a mode → high;docker-compose.ymlat such a mode while holding literal secrets → high;.envlisted intracked.txt(committed to git) → high per tracked secret-holding file; no backup evidence (nobackups.txtwith alast_backupdate, nobackups/directory, no backup file) → medium;last_backup30+ days old → low;version.txtmissing → medium. Score 10 minus weighted findings, floor 0. - status_pages_badges — a public status page listing a monitor whose name contains "private" → high; a ping badge enabled on a monitor whose name contains "private" → high;
trustProxy=truewith no reverse proxy configured → high;trustProxymissing → medium. Score 10 minus weighted findings, floor 0.
How to run
# 1. Export the install directory from a live Uptime Kuma host:
# .env, docker-compose.yml, data/kuma.db (copy only), the
# version as version.txt, settings.txt, setup.txt,
# notifications.txt, status-pages.txt, backups.txt
# (last_backup=YYYY-MM-DD), optionally tracked.txt,
# firewall.txt and reverse-proxy.txt.
# 2. Write the meta JSON (see reference/example_input.json):
# {"date": "2026-11-29", "project": "Acme Uptime Kuma Demo",
# "language": "en", "accent": "#22C55E",
# "brand": "Uptime Kuma 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 --input reference/demo-en.json --image out/demo-en/scan-2026-11-29.png
Demo results (all run, not invented)
- Unsafe demo (
reference/demo-project, Uptime Kuma 2.5.8): 7/100, grade F, risk CRITICAL, 36 findings — 2 patched version, 6 literal secrets, 2 first-run setup, 1 auth disabled, 3 TLS, 3 network exposure, 5 notifications, 6 container hardening, 5 data / backup, 3 status pages / badges. - Clean demo (
reference/demo-project-clean, Uptime Kuma 2.5.12): 100/100, grade A, risk LOW, 0 findings. - Empty-directory sanity: 100/100, all checks n/a.
scripts/verify.pyPASS (incl. no demo secret in any finding or report, no scanner script executes code, and the edge cases: version ladder 20 cases + exposed-flaw counts + no version + 6 image tags + version.txt priority, secret shapes, ${VAR} vs ********** vs 64-char base64 vs literal secrets, Apprise / Telegram / Discord literals, setup shapes, auth shapes, TLS shapes, network shapes, SMTP shapes, container shapes, data shapes, status-page shapes, loopback-bound ports pass).- Three bugs found and fixed during verification (see reference/notes.md): CVE-2026-32230's exposed range wrongly included 2.1.4–2.1.9 (the affected range is 2.0.0–2.1.3); the secret-key regex missed
SMTP_PASS(it matched onlypassword/passwd); and the missing-setup.txtbranch scored a flat 5 instead of the weighted 7.
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, no-code-execution AST check, edge cases).scripts/make_logo.py— makeslogo.png(512x512).reference/patterns.md— what each check looks for.reference/notes.md— verified facts, corrections, known limits.reference/demo-project/— deliberately unsafe Uptime Kuma install (all values fake, all hosts .test).reference/demo-project-clean/— clean Uptime Kuma install (scores 100/100, no false positives).
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.
Local file audit only. No network probing or API interaction. Cannot read kuma.db contents. Requires manual export of settings.txt and notifications.txt for full coverage.
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 1 day ago
- Software
Python 3Pillow