You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sandbox): make ~/.gitconfig read-only in the macOS sandbox
Remove ~/.gitconfig from the file-write* allow list in all six macOS Seatbelt
profiles so the sandboxed process can no longer modify the user's global git
config (git config can drive command execution via aliases, core.pager,
core.hooksPath, etc.). Read access is unchanged, so normal git operations are
unaffected. Documented in docs/cli/sandbox.md.
describe('Security Regression: .gemini and .gitconfig HITL',()=>{
313
-
it('should require ASK_USER for .gemini paths inside workspace, but deny them if outside, including case, trailing-character, and NTFS ADS bypasses',async()=>{
expect(result.reason).toContain('outside of the allowed workspace');
346
-
}
347
-
});
348
-
349
-
it('should require ASK_USER for .gitconfig files inside workspace, but deny them if outside, including case, trailing-character, and NTFS ADS bypasses',async()=>{
0 commit comments