Works with the AI Agents you already use
Discourse Config Security Audit
by CashonlyTian
- **Access control review** detects wide-open registrations, missing SSO secrets, and weak minimum password lengths.
$7.40
Discourse Config Security Audit
Example session with this skill installed
Run a security audit on my Discourse install at ./my-forum for the 'Acme Discourse Demo' project. The admin panel says we are running version 2026.7.2. Then re-run it on the patched install running 2026.11.0-latest.2 and compare the two scorecards.
- Read your context and instructions
- Compiled the discourse config security
- Generated the document
I have completed the security audit for your Discourse installation at ./my-forum (project: Acme Discourse Demo). The scanner analyzed your configuration files, including app.yml and site_settings.yml, against the 10-point security ladder.
Unsafe demo — Discourse 2026.7.2
Audit Summary
- Score: 0/100
- Grade: F
- Risk Level: CRITICAL
- Findings: 34 findings — all 10 checks fire
Discourse Security Report — 2026.7.2
| Check | Score | Status |
|---|---|---|
| Patched Version | 0/10 | FAIL (2026.7.2 is vulnerable to CVE-2026-91156 Chat auth bypass, Automation template injection to admin, RSA DoS and whisper leak) |
| Secrets Security | 0/10 | FAIL (weak/default SMTP, DB and S3 secrets) |
| HTTPS/Hostname | 0/10 | FAIL (plain HTTP) |
| SMTP/Mail | 0/10 | FAIL (weak SMTP secrets) |
| Registration/Login | 0/10 | FAIL (open registration) |
| Plugins/Automation | 0/10 | FAIL (Automation template injection to admin) |
| Uploads/S3 | 0/10 | FAIL (weak S3 secrets) |
| Port Exposure | 0/10 | FAIL (Postgres 5432 and Redis 6379 exposed) |
| Backups | 0/10 | FAIL (no backups) |
| Permissions | 0/10 | FAIL (config files world-readable) |
Clean demo — Discourse 2026.11.0-latest.2
Audit Summary
- Score: 100/100
- Grade: A
- Risk Level: LOW
- Findings: 0 findings — all 10 checks pass (10/10 each)
Discourse Security Report — 2026.11.0-latest.2
| Check | Score | Status |
|---|---|---|
| Patched Version | 10/10 | PASS (2026.11.0-latest.2, Nov 2026 flaws patched) |
| Secrets Security | 10/10 | PASS |
| HTTPS/Hostname | 10/10 | PASS |
| SMTP/Mail | 10/10 | PASS |
| Registration/Login | 10/10 | PASS |
| Plugins/Automation | 10/10 | PASS |
| Uploads/S3 | 10/10 | PASS |
| Port Exposure | 10/10 | PASS |
| Backups | 10/10 | PASS |
| Permissions | 10/10 | PASS |
Files Generated:
- Visual Scorecard:
scan-2026.7.2.png(0/100, grade F) andscan-2026.11.0-latest.2.png(100/100, grade A) - Detailed Report:
scan-report.md(EN + ZH)
Next steps
- Upgrade the unsafe install from 2026.7.2 to 2026.11.0-latest.2, rotate all secrets, enable HTTPS, close registration, remove the 5432/6379 exposures and set up backups.
- Re-run this audit after applying fixes to verify your new security grade.
2.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
Running an insecure Discourse instance is a liability for user data and server integrity. This skill audits your local Discourse installation directory to identify critical vulnerabilities, including the November 2026 flaw table and common configuration mistakes.
What it does
- Version validation checks your Discourse version against CVE-2026-91156, GHSA-fx7j-6fh9-xwvm, and other 2026 vulnerabilities.
- Secret strength analysis flags weak or default literal passwords for SMTP, Database, S3, SSO, and Redis.
- Network security audit identifies exposed Postgres (5432) or Redis (6379) ports and plain HTTP hostname configurations.
- Access control review detects wide-open registrations, missing SSO secrets, and weak minimum password lengths.
- Operational hygiene check verifies backup frequency, file permissions (0640), and ensures RAILS_ENV is set to production.
How it works
- Target selection requires the path to your Discourse install directory containing
containers/app.ymlandsite_settings.yml. - Local scanning executes a line-based text parser on your configuration files without ever executing code or connecting to the internet.
- Score generation produces a 0-100 score, a letter grade, and a prioritized list of security fixes.
- Visual reporting generates a shareable PNG scorecard and a detailed Markdown report.
Frameworks & tools
The scanner is built with Python and utilizes a line-based text parser to analyze YAML and ENV files. It targets Discourse installations, specifically checking app.yml, site_settings.yml, and version.txt.
Why this beats prompting it yourself
Manual audits often overlook specific CVSS-rated version flaws or port exposure details in complex YAML templates. This skill applies a rigid 10-check scoring ladder that ensures consistent, objective grading and prevents sensitive credentials from leaking into your chat history by automatically masking values.
Use cases
- Auditing a Discourse installation before moving from staging to production.
- Validating a third-party installation script or blog-post template for security anti-patterns.
- Generating a professional security scorecard for client handovers or compliance reports.
- Checking existing setups against the November 2026 critical vulnerability list.
Known limitations
Does not perform network-based penetration testing or exploit attempts. It only audits local configuration files and requires manual input of the running version if version.txt is missing.
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 probing. Skips files over 2MB. Version check defaults to 2026.7.2 if version.txt is missing and no version input is provided.
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
Git