Skip to content

Close HTTP approval routes and add explicit operator terminal review - #270

Merged
MichaelWave369 merged 1 commit into
mainfrom
fix/ghostwalk-operator-boundary
Oct 4, 2026
Merged

MichaelWave369 merged 1 commit into
mainfrom
fix/ghostwalk-operator-boundary

Conversation

@MichaelWave369

Copy link
Copy Markdown
Owner

Unauthenticated local HTTP callers could reach GhostWalk approval, executable binding and ActionLease issuance services. These POST routes now return 403 before dispatch in both servers. PhiShell displays evidence and terminal instructions; phi-operator reviews the full snapshot digest, requires interactive confirmation, rejects stale reviews, and performs each existing governed stage separately without executing an effect.

Other accepted HTTP writes validate loopback Host, Origin/fetch-site and JSON MIME. Terminal state rejects symlinks and POSIX shared-writable paths. A TTY is not human authentication: same-user malicious processes and Windows ACL verification remain explicit OS release gates. Linux cannot issue a desktop lease for the current Windows-only executor.

Validation: 73 focused Python tests, Ruff, mypy (301 modules), 15 targeted Node HTTP tests and PhiShell production build pass. All 75 TypeScript tests pass. The full local Node suite has three known host-environment failures (restricted network enumeration and absent systemd); required GitHub platform CI must pass. See docs/OPERATOR_AUTHORIZATION.md and docs/os/IMPLEMENTATION_STATUS.md for the approved plan and remaining release gates.

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