Skip to content

Preserve SSH access, verify backups and align hardening documentation - #1

Merged
binaryTob merged 1 commit into
mainfrom
fix/ssh-safety-and-portfolio
Oct 14, 2026
Merged

binaryTob merged 1 commit into
mainfrom
fix/ssh-safety-and-portfolio

Conversation

@binaryTob

@binaryTob binaryTob commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Correct local OpenCode/SSH architecture metadata and document discovery, contextual risk, bounded hardening, backups, verification and rollback limits.
  • Put the SSH option terminator before the destination and include explicit ports in rollback identity.
  • Clear operational approvals when selecting a different host/port; avoid using context for another active target.
  • Keep preview/verify free of remote backup-directory creation, preserve restrictive config modes and verify backup content checksums before restore.
  • Attempt rollback after failed fresh SSH reconnect instead of accepting a listening port as proof of access.
  • Require successful administrative allow rules and known state/ports before UFW activation. Firewalld is manual until zone/interface/port-aware activation is implemented.
  • Add seven safety regression cases and SHA-pinned CI for lint, typecheck, tests, build, dependency audit and redacted history secret scan.

Verification

  • Bun 1.4.3 frozen install; Biome, TypeScript and build passed.
  • 93 tests passed, including in-memory remediation and offline transport/context checks.
  • Bun audit: no vulnerabilities found (14 checked packages).
  • Gitleaks 8.30.1: no matches in the project or fetched history.
  • git diff --check: clean.

Operational boundaries

No real host was hardened. Retained-session rollback is best effort, not an out-of-band timer. A disposable VM integration matrix is still needed for SSH includes/Match/socket activation, PAM and distro/firewall behavior. Firewalld automatic activation is deliberately unavailable because the former default-service path did not establish safe access. Existing licenses/visibility/history are not changed. Owner review and approval are required before merge.

GitHub Actions result

PR verification succeeded: 93 tests passed, lint, typecheck, build, dependency audit and redacted full-history secret scan passed.

@binaryTob
binaryTob merged commit d9a01d9 into main Oct 14, 2026
4 checks passed
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