Skip to content

fix: harden CLI security defaults#197

Open
bgdnvk wants to merge 1 commit into
bgdnvk:masterfrom
clankercloud:fix/security-audit
Open

fix: harden CLI security defaults#197
bgdnvk wants to merge 1 commit into
bgdnvk:masterfrom
clankercloud:fix/security-audit

Conversation

@bgdnvk

@bgdnvk bgdnvk commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • upgrade vulnerable transitive security modules and harden local secret/state file permissions
  • redact credential/config display paths and validate local/API URLs before HTTP calls
  • replace insecure SSH host-key handling, add crypto-random jitter, guard raw JSON responses, and harden Terraform/BigQuery/path handling

Verification

  • go test ./...
  • go build -o /tmp/clanker-security-audit .
  • go run golang.org/x/vuln/cmd/govulncheck@latest ./...
  • git diff --check

Security scan notes

  • govulncheck reports 0 reachable vulnerabilities
  • gosec still reports broad static-analysis categories around command wrappers, user-supplied paths, public IDs/test strings, intentional executable installer chmods, and taint warnings on already-normalized URLs

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