Skip to content

Harden Companion deployment and release security - #3

Closed
MatchHar wants to merge 3 commits into
mainfrom
agent/security-hardening
Closed

Harden Companion deployment and release security#3
MatchHar wants to merge 3 commits into
mainfrom
agent/security-hardening

Conversation

@MatchHar

@MatchHar MatchHar commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep Companion port 8083 off public and LAN interfaces in Docker Caddy deployments
  • fail closed when DATABASE_PASS or the private Docker bridge gateway is unavailable
  • pin runtime images by digest and clarify the supported-version/authentication boundary documentation
  • add race, reachable-vulnerability, secret, CodeQL, and release-provenance checks

Validation

  • go test ./...
  • go vet ./...
  • go test -race ./...
  • go run golang.org/x/vuln/cmd/govulncheck@v1.1.4 ./...
  • bash -n install.sh update.sh uninstall.sh backup.sh restore.sh storage-status.sh scripts/*.sh
  • parsed all workflow YAML
  • Gitleaks scan: no leaks found
  • git diff --check

This is intentionally a draft until GitHub-hosted checks have completed.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@MatchHar
MatchHar force-pushed the agent/security-hardening branch from b29acf1 to d08d542 Compare August 8, 2026 12:59
@MatchHar

Copy link
Copy Markdown
Owner Author

Superseded by the newer main branch security, HostBox, lock-secure, CI, and idempotent release-publishing work. Closing this conflicting draft so the current audited main branch is the single source of truth.

@MatchHar MatchHar closed this Aug 12, 2026
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.

2 participants