Works with the AI Agents you already use
Directus Config Security Audit
by CashonlyTian
Audit a self-hosted Directus install before it stays exposed: 10 checks / 100 points on version vs the verified CVE fix table, admin auth, secrets, TLS, database, public WebSocket auth, storage, mail, container hardening and backups, plus a score card and fixes.
$7.20
Directus Config Security Audit
Example session with this skill installed
Audit my Directus install in ./deploy and generate a Chinese report. The .env file uses a floating directus:12-alpine tag.
- Read your context and instructions
- Compiled the directus config security
I have completed the security audit for the Directus installation in ./deploy. The scan analyzed your .env, docker-compose.yml, and .gitignore files.
Demo 1 — Unsafe: Acme Directus Demo (directus/directus:12.0.2)
Audit Summary
| Check | Score | Status |
|---|---|---|
| version | 0/10 | CRITICAL: Version 12.0.2 is below the verified CVE fix versions |
| admin_auth | 0/10 | CRITICAL: ADMIN_PASSWORD is too short |
| literal_secrets | 0/10 | CRITICAL: Literal secrets found in .env |
| public_url_tls | 0/10 | CRITICAL: PUBLIC_URL using http:// |
| database | 0/10 | CRITICAL: Database credentials are weak or exposed |
| websockets | 0/10 | CRITICAL: WEBSOCKETS_REST_AUTH=public |
| files_storage | 4/10 | HIGH: Storage location is not hardened |
| 2/10 | HIGH: Email configuration is insecure | |
| container | 0/10 | CRITICAL: Running as root user |
| hygiene_backups | 0/10 | CRITICAL: No backup configuration found |
Score: 6/100
Final Grade: F
Risk Level: CRITICAL
Findings: 47
Demo 2 — Clean: Acme Directus Clean (directus/directus:12.7.0)
Score: 100/100
Final Grade: A
Risk Level: LOW
Findings: 0
All 10 checks pass on the pinned image directus/directus:12.7.0 with strong admin auth, masked secrets, HTTPS public URL, hardened database, WebSocket auth set to user, secure storage, mail, container and backups.
Security Fix Report (English/中文)
1. WebSocket Security / WebSocket 安全
- Severity: CRITICAL
- Finding:
WEBSOCKETS_REST_AUTHis set topublic. - Impact: This allows unauthenticated users to access sensitive event data via the REST interface.
- Fix: Set
WEBSOCKETS_REST_AUTH="user"in your.envfile. - 修复: 在
.env文件中设置WEBSOCKETS_REST_AUTH="user"。
2. Version Pinning / 版本锁定
- Severity: CRITICAL
- Finding: Using image
directus/directus:12.0.2, below the verified CVE fix versions. - Impact: The install is exposed to CVE-2026-126539 (fixed in 12.1.0) and CVE-2026-129239 (fixed in 12.3.1).
- Fix: Pin to a specific version, e.g.,
directus/directus:12.7.0. - 修复: 固定到具体版本,例如
directus/directus:12.7.0。
3. Admin Password / 管理员密码
- Severity: CRITICAL
- Finding:
ADMIN_PASSWORDdoes not meet minimum length requirements.
Fix: Update ADMIN_PASSWORD to a high-entropy string of at least 16 characters. Secrets are masked to *** in reports and never leave the machine.
Next steps
- Review
out/scan-report.mdfor the full list of 47 findings. - Update the
.envfile with the recommended security values. - Rerun the scan to verify the new score reaches Grade A (100/100).
Connects securely to your tools. The creator never sees your data.
About this skill
Audit a self-hosted Directus install before it stays exposed: 10 checks / 100 points on version vs the verified CVE fix table, admin auth, secrets, TLS, database, public WebSocket auth, storage, mail, container hardening and backups, plus a score card and fixes.
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 scan, and no roles, policies or database content analysis. CVE data is current as of 2026-11-30; versions after 2026-11-30 may drift. CVE-2026-132136's fix version is unverified and out of scope.
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 today
- Software
Python 3Pillow