Skip to content

Harden daily workflows and simplify the public docs - #7

Merged
Labeeb2339 merged 4 commits into
mainfrom
codex/readme-cleanup
Aug 10, 2026
Merged

Harden daily workflows and simplify the public docs#7
Labeeb2339 merged 4 commits into
mainfrom
codex/readme-cleanup

Conversation

@Labeeb2339

Copy link
Copy Markdown
Owner

What changed

  • rewrote the README and contribution templates around the workflows users actually run
  • pinned Windows PowerShell and required modules to validated system paths
  • made Trivy scans reject unsafe, relative, network, missing, or reparse-point executables
  • made scan --all evaluate every mapped immutable Docker image without failing on unrelated native listeners
  • added an explicit lock --allow-weak-owner policy for standard-user baselines, while keeping unknown owners and evidence regressions fail-closed
  • bounded lockfile input to 16 MiB and 50,000 listeners

Why

Normal standard-user hosts could not create a useful full-host baseline, and the advertised all-listener vulnerability gate failed whenever native listeners were present. Helper discovery also relied on ambient executable/module search paths. The public README had grown into an internal design record instead of a practical project page.

Validation

  • locked restore
  • Release build: 0 warnings, 0 errors
  • tests: 433/433
  • format and diff checks
  • gitleaks over source, tests, scripts, docs, workflows, and schemas
  • installer harness: 66 checks
  • live standard-user strong-lock rejection, weak-policy lock, and strict unchanged check
  • live Docker TCP/UDP mapping, lock/check, and authorized loopback scan
  • live Trivy database readiness and mixed-host scan --all --fail-on high
  • live adaptive loopback SSH/HTTP fingerprinting
  • local performance budgets

@Labeeb2339
Labeeb2339 marked this pull request as ready for review August 10, 2026 08:50
@Labeeb2339
Labeeb2339 merged commit b275f64 into main Aug 10, 2026
4 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a0dc7f7430

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

foreach (var listener in listeners
.Where(listener => !coveredListeners.Contains(listener))
.OrderBy(static listener => listener.Key, StringComparer.Ordinal))
if (selectionMode == VulnerabilitySelectionMode.ExactListeners)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Treat unscannable container mappings as incomplete

In scan --all --fail-on ..., a listener with container exposure whose ImageId is null or fails the immutable-ID check is now silently omitted because only ExactListeners emits unresolved subjects. If any other image scans successfully, subjects.Count is nonzero and Summary.IsComplete can become true, allowing the vulnerability gate to pass despite a selected Docker mapping that was never scanned. Preserve an incomplete subject/diagnostic for container exposures rejected by this filter while continuing to ignore genuinely unrelated native listeners.

Useful? React with 👍 / 👎.

@Labeeb2339
Labeeb2339 deleted the codex/readme-cleanup branch August 11, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant