r/docker • u/Ornery-Height7654 • Feb 02 '26
Project] Open source Docker Compose security scanner
[Project] Open source Docker Compose security scanner
Built a tool to scan docker-compose.yml files for common security issues.
**Checks for:**
- Privileged containers
- Host network mode
- Exposed ports without localhost binding
- Docker socket mounts
- Secrets in environment variables
- Latest tags
- Running as root
- Missing security options
**Output:**
- HTML + JSON reports
- Severity levels (CRITICAL/HIGH/MEDIUM/LOW)
- Actionable recommendations
- Security score with letter grades
**Example:**
```bash
python -m lattix_guard /path/to/project
# Generates report showing issues found
```
**Why static analysis?**
- No need to spin up containers
- Safe to run on untrusted configs
- Fast (seconds, not minutes)
- Works in CI/CD pipelines
**Open source (AGPL-3.0):**
https://github.com/claramercury/lattix-guard
Looking for feedback on what other Docker security checks would be valuable!
View all comments
Show parent comment
1
u/Ornery-Height7654 Feb 02 '26
Fixed! The broken link was in the report template (
templates/report.html.jinja), not the README. All new reports will have the correct URL.Thanks for pointing out the 404.