Works with the AI Agents you already use
Cacti Config Security Audit
by CashonlyTian
Cacti instances are frequently targeted by unauthenticated RCE exploits and credential stuffing due to insecure default configurations.
$7
Cacti Config Security Audit
Example session with this skill installed
Run a security audit on the Cacti install files in ./deploy/cacti. The project name is 'Monitoring-Prod' and use a blue #0000FF accent for the scorecard.
- Read your context and instructions
- Compiled the cacti config security
- Generated the document
Audit complete for project
Monitoring-Prod. The scanner analyzed the configuration files and SQL dumps in ./deploy/cacti.
Unsafe demo — Cacti Security Audit Results
| Metric | Value |
|---|---|
| Security Score | 0/100 |
| Grade | F |
| Risk Level | CRITICAL |
| Findings | 48 findings |
| Checks firing | 10 of 10 |
Critical Findings
Zero-Day Exposure: Version 1.2.31 detected with guest account enabled in user_auth.sql. This matches the 4HTTP2SHELL unauthenticated RCE profile.
Installer Present: The install/ directory still exists, allowing potential re-configuration by unauthorized users.
- Default Credentials: Admin password hash in
user_auth.sqlmatches the documented Cacti default. - Literal DB Password: A literal database password was found in
include/config.php. - Auth Disabled:
auth_methodis off, so the install is unauthenticated. - Dangerous Plugins:
eval()calls found in plugin code. - Insecure Poller: System is configured to use
cmd.phpinstead of the hardenedspinepoller. - Default SNMP Community: Default SNMP community string in use.
Top 3 Required Fixes
Disable Guest Account: Update user_auth.sql or the database to disable the guest user immediately to block the RCE path.
2. Remove Install Directory: Delete the install/ folder from the web root.
3. Update Admin Password: Change the default admin password to a unique, complex string.
The visual scorecard has been generated at scan-2025-05-20.png and the full technical breakdown is available in scan-report.md.
Clean demo — same install after hardening
| Metric | Value |
|---|---|
| Security Score | 100/100 |
| Grade | A |
| Risk Level | Low |
| Findings | 0 findings |
| Checks firing | 0 of 10 |
No findings. All 10 checks pass on the hardened install.
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
Cacti instances are frequently targeted by unauthenticated RCE exploits and credential stuffing due to insecure default configurations. This skill audits local Cacti install directories to identify critical exposures before they are reachable over the network.
What it does
- Zero-day detection checks for the 4HTTP2SHELL vulnerability (Cacti 1.2.31 with guest access enabled).
- Credential auditing flags default admin password hashes, weak database passwords in
config.php, and default SNMP community strings. - Surface analysis identifies dangerous PHP functions like
eval()orshell_exec()in plugin code and checks if theinstall/directory is still present. - Hardening verification validates that
auth_methodis enabled, SSL/TLS is used for remote DB/LDAP, and the spine poller is used over cmd.php. - Permissions scanning reports on world-writable files, missing
.htaccessguards, and exposed debug logging levels.
How it works
- Identify source by pointing the agent to a local Cacti install directory containing core files and SQL dumps (
settings.sql,user_auth.sql, etc.). - Execute scan using the local python script which parses config files as text via regex without executing PHP or connecting to a database.
- Analyze results generated in a Markdown report and a visual scorecard PNG.
- Prioritize remediation based on a 0-100 score, risk grade, and a list of the top 3 highest-impact fixes.
Frameworks & tools
This tool targets Cacti network monitoring installations. It requires local access to the PHP source files and exported SQL schema dumps for configuration analysis.
Why this beats prompting it yourself
Generic prompts often miss specific Cacti-related SQL flags like auth_method 0 or version-specific zero-day triggers. This skill uses a structured 10-point scoring system and regex-based parsing to ensure no critical security check is skipped or hallucinated.
Use cases
- Pre-flight checks before moving a new Cacti installation into production.
- Audit existing source to find hardcoded credentials in
include/config.php. - Plugin validation to scan third-party plugin directories for hidden web shells or dangerous calls.
- Reporting to generate a visual security scorecard for clients or stakeholders.
Known limitations
This is a static config audit only. It does not perform network penetration testing, live database queries, or general CVE scanning for all plugins.
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.
Requires local file access and SQL dumps. Does not scan live instances over the network. Versions other than 1.2.31 may have different RCE profiles not covered by the zero-day check.
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