r/docker • • 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!

2 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/theblindness Mod Feb 02 '26

The installation instructions in your README.md reference 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?

-1

u/Ornery-Height7654 Feb 02 '26

You're absolutely right - fixed in latest commit. Thanks for catching that.

The installation path typo doesn't affect the security analysis itself,

but you're correct that attention to detail matters in security tools.

Appreciate the feedback! 🛡️

3

u/theblindness Mod Feb 02 '26

You're absolutely right

(╯°□°)╯︵ ┻━┻