Skip to content

Deny gate host configuration reads#142

Merged
chasebryan merged 1 commit into
mainfrom
agent/deny-gate-host-config
Jul 16, 2026
Merged

Deny gate host configuration reads#142
chasebryan merged 1 commit into
mainfrom
agent/deny-gate-host-config

Conversation

@chasebryan

@chasebryan chasebryan commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove broad copied-command read grants for /etc and /sys
  • assert that host account configuration and sysfs CPU state remain unreadable
  • disable system Git configuration and bind global Git configuration to /dev/null for every copied command
  • centralize the same hermetic Git baseline across all foundation test fixtures
  • suppress the gate probe own Bash startup-file lookup with --norc
  • document the narrower boundary and advance repository policy to 0.2.94

Verification

  • scripts/ci/check-repository
  • 288 standalone foundation validator tests
  • python3 tools/validate_foundation.py
  • git diff --check

The complete repository gate passed on exact head 72f2c4d, including debug and release Rust suites, relocated reproducibility builds, and doc tests. Earlier PR heads exposed hosted Git 2.54 reading /etc/gitconfig from fixture environments; this head fixes those environments directly without reopening /etc.

@chasebryan
chasebryan force-pushed the agent/deny-gate-host-config branch from 7ad7129 to 0d2ac14 Compare July 16, 2026 03:37
@chasebryan
chasebryan force-pushed the agent/deny-gate-host-config branch from 0d2ac14 to 72f2c4d Compare July 16, 2026 03:46
@chasebryan
chasebryan marked this pull request as ready for review July 16, 2026 03:49
@chasebryan
chasebryan merged commit ababfdd into main Jul 16, 2026
7 checks passed
@chasebryan
chasebryan deleted the agent/deny-gate-host-config branch July 16, 2026 03:49
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