Works with the AI Agents you already use
Apache Config Security Audit
by CashonlyTian
Deploying an Apache configuration without a security review is a liability.
$7
Apache Config Security Audit
Example session with this skill installed
Audit the Apache config in ./configs/prod-site for project 'Acme-Main' with my brand 'SecurityOps'.
- Read your context and instructions
- Compiled the apache config security
- Generated the document
I have completed the security audit for the Apache configuration files located in ./configs/prod-site. The scan identified several high-severity misconfigurations related to TLS settings and sensitive file exposure.
Audit Results: Acme-Main
Score: 42/100
Grade: D
Risk Level: HIGH
| Check | Score | Status |
|---|---|---|
| TLS Enabled | 15/15 | PASS |
| TLS Strength | 0/10 | FAIL (SSLv3/TLS1.0 enabled) |
| Security Headers | 5/15 | PARTIAL (Missing HSTS, CSP) |
| Server Info | 0/5 | FAIL (ServerTokens Full) |
| Sensitive Files | 0/15 | FAIL (.env files accessible) |
| Proxy/SSRF | 10/10 | PASS |
| Directory Listing | 5/5 | PASS |
| Request Limits | 0/10 | FAIL (LimitRequestBody 0) |
| CGI Execution | 5/10 | PARTIAL (ExecCGI enabled in /scripts) |
| Config Hygiene | 2/5 | PARTIAL (Running as root) |
Top 3 Required Fixes
- Restrict Sensitive Files: Add
<Files ".env"> Require all denied </Files>to prevent credential leaks. - Hardening TLS: Update
SSLProtocoltoall -SSLv3 -TLSv1 -TLSv1.1to disable deprecated protocols. - Limit Request Size: Set
LimitRequestBodyto a non-zero value (e.g., 10485760) to mitigate DoS risks.
Next steps
- View the full list of 18 findings in
scan-report.md. - Share the visual scorecard found at
scan-2025-05-20.png. - Re-run the scan after applying the
.envrestriction to see the score update.
scan-2025-05-20.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
Deploying an Apache configuration without a security review is a liability. This skill audits your httpd.conf, apache2.conf, and .htaccess files to identify misconfigurations before they reach production.
What it does
- TLS Analysis flags weak protocols like SSLv3 or TLS 1.0 and identifies insecure cipher suites.
- Header Verification checks for missing HSTS, CSP, X-Frame-Options, and other essential security headers.
- Information Leak Detection finds exposed
.envor.gitfiles, version string leaks, and unprotected admin paths. - Proxy Risk Assessment identifies open forward proxies and SSRF vulnerabilities in
ProxyPassorRewriteRule. - Resource Limitation audits
LimitRequestBodyand timeout settings to prevent denial-of-service attacks. - Access Control detects directory indexing, stray CGI execution permissions, and processes running as root.
How it works
- Provide the local directory path containing your Apache configuration files.
- The skill runs a local Python-based scan that parses the config logic without connecting to any network.
- Review the generated
scan-report.mdwhich prioritizes fixes based on point loss and severity. - Inspect the
scan-YYYY-MM-DD.pngscorecard for a high-level grade and risk assessment.
Frameworks & tools
Works with Apache HTTP Server 2.2 and 2.4 configurations, including standard Debian/Ubuntu and RHEL/CentOS directory structures.
Why this beats prompting it yourself
Generic prompts often miss subtle inheritance issues or specific cipher exclusions. This skill uses a structured 10-point scoring system that ensures every critical vector, from SSRF to CGI execution, is checked against a consistent baseline.
Use cases
- Auditing an Apache config generated by an AI agent before deployment.
- Performing a security baseline check on a legacy server during onboarding.
- Generating a shareable security scorecard for client compliance reports.
- Verifying
.htaccessrules in a shared hosting environment.
Known limitations
Does not resolve Include directives to external paths; all files must be in the scanned folder. It audits static files only and cannot verify if the running server has actually loaded them.
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.
Does not resolve external Include paths. Audits files only, not the live running state. Header inheritance is approximated at the VirtualHost level. Files over 2MB are skipped.
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 4 days ago
- Software
Python 3Pillow