compose-lint

v1.2.0 safe
3.2
Low Risk

Docker Compose security linter. Catches dangerous misconfigurations before they reach production — grounded in OWASP and the CIS Docker Benchmark; emits SARIF for GitHub Code Scanning.

📦 Package Quality Overall: Low (4.6/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://tmatens.github.io/compose-lint/
  • Detailed PyPI description (30989 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 434 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • str) -> list[dict]: with urllib.request.urlopen(API.format(product=product), timeout=30) as resp:
  • not None else None req = urllib.request.Request(API + path, method=method, data=data) if token:
  • /json") try: with urllib.request.urlopen(req, timeout=30) as resp: raw = resp.rea
  • ot an exception.""" req = urllib.request.Request(url, method=method, headers=dict(headers)) req.a
  • _AGENT) try: with urllib.request.urlopen(req, timeout=30) as resp: return resp.st
  • (url: str) -> bytes: with urllib.request.urlopen(url, timeout=30) as response: # noqa: S310 - fixed
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • args: str) -> str: return subprocess.run( ["git", *args], capture_output=True, text=True, che
  • erage.md" completed = subprocess.run( [ # Invoked as a module, not as
  • + " ".join(args)) return subprocess.run(list(args), check=True, capture_output=capture, text=True)
  • return None result = subprocess.run( ["git", "diff", "--name-only", before, "HEAD"],
  • """ try: result = subprocess.run( ("git", "-C", str(repo_root), *args),
  • letedProcess[str]: return subprocess.run(args, cwd=cwd, capture_output=True, text=True, timeout=120)
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • e it points at ``/home/runner/.aws/credentials`` — the scenario ADR-027 §7 names and promises to refus
  • t an ``env_file: /home/runner/.aws/credentials`` added in a pull request would put lint-host key *names* i
  • # points at `/home/runner/.aws/credentials` — the scenario ADR-027 §7 # names and promises to refu
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Todd Matens" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with compose-lint
Build a simple Python application using the compose-lint package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!