[PR #1466] Add compose-lint to Security #33091

Open
opened 2026-07-12 21:02:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/veggiemonk/awesome-docker/pull/1466
Author: @tmatens
Created: 6/10/2026
Status: 🔄 Open

Base: master ← Head: add-compose-lint


📝 Commits (1)

  • 4c468e2 Add compose-lint to Security

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

IF THE PROJECT JUST RUNS IN DOCKER, AUTOMATICALLY DENIED

  • I HAVE READ .github/CONTRIBUTING.md

Write the sentence: "This project exists to ____."

This project exists to lint Docker Compose files for security misconfigurations. Its object of work is the Compose file itself — take Docker away and it has no reason to exist.

What changed and why:

Adds compose-lint to the Security section (alphabetical, between Checkov and container-explorer).

compose-lint is a static-analysis security linter for docker-compose.yml / compose.yaml. It catches privileged containers, missing cap_drop/no-new-privileges, host namespace sharing, wildcard port binds, unpinned images, Docker socket mounts, sensitive bind mounts, and plaintext credentials — every rule cites the OWASP Docker Security Cheat Sheet or the CIS Docker Benchmark, with specific fix guidance per finding.

Why Security rather than the Linter subsection: the Linter subsection sits under Building Images and is Dockerfile-oriented (Hadolint et al.); compose-lint targets runtime/deployment configuration and fits the same niche as Checkov and KICS, but specialized for Compose. Happy to move it if you prefer otherwise.

Quality signals:

Entry passes make lint locally (OK: 0 warnings): one GitHub link, one-sentence verb-first description, Docker connection explicit, alphabetical order preserved.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/veggiemonk/awesome-docker/pull/1466 **Author:** [@tmatens](https://github.com/tmatens) **Created:** 6/10/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `add-compose-lint` --- ### 📝 Commits (1) - [`4c468e2`](https://github.com/veggiemonk/awesome-docker/commit/4c468e2449199cff6feb6dfcb97524a2c209db2b) Add compose-lint to Security ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description # IF THE PROJECT JUST RUNS IN DOCKER, AUTOMATICALLY DENIED - [x] I HAVE READ .github/CONTRIBUTING.md Write the sentence: *"This project exists to ____."* **This project exists to lint Docker Compose files for security misconfigurations.** Its object of work is the Compose file itself — take Docker away and it has no reason to exist. What changed and why: Adds [compose-lint](https://github.com/tmatens/compose-lint) to the **Security** section (alphabetical, between Checkov and container-explorer). compose-lint is a static-analysis security linter for `docker-compose.yml` / `compose.yaml`. It catches privileged containers, missing `cap_drop`/`no-new-privileges`, host namespace sharing, wildcard port binds, unpinned images, Docker socket mounts, sensitive bind mounts, and plaintext credentials — every rule cites the OWASP Docker Security Cheat Sheet or the CIS Docker Benchmark, with specific fix guidance per finding. Why Security rather than the Linter subsection: the Linter subsection sits under *Building Images* and is Dockerfile-oriented (Hadolint et al.); compose-lint targets runtime/deployment configuration and fits the same niche as Checkov and KICS, but specialized for Compose. Happy to move it if you prefer otherwise. Quality signals: - Active: released on [PyPI](https://pypi.org/project/compose-lint/) and [Docker Hub](https://hub.docker.com/r/composelint/compose-lint) (distroless, multi-arch, nonroot, Sigstore-signed, SLSA provenance), CI on Python 3.10–3.14. - [OpenSSF Best Practices passing](https://www.bestpractices.dev/projects/12472) and OpenSSF Scorecard tracked. - Ships a [*State of Docker Compose Security* report](https://github.com/tmatens/compose-lint/blob/main/docs/state-of-compose.md) from scanning 6,444 public Compose files: 91% of those that parse had at least one finding, 68% HIGH or CRITICAL. Entry passes `make lint` locally (`OK: 0 warnings`): one GitHub link, one-sentence verb-first description, Docker connection explicit, alphabetical order preserved. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-12 21:02:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-docker#33091