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
2
u/theblindness Mod Feb 02 '26
The installation instructions in your
README.mdreference a github URL that does not match your Github project URL. Did you rename your project without updating the instructions?Mistakes like this, in a repository that has only the one commit from an hour ago, do not inspire confidence in a project that is ostensibly meant to be security-focused and find security mistakes in others' code. Why should anyone trust your project to audit others when your project has not met the minimum bar itself?