Skip to content

Handle parent directory traversal in virtual container#14

Closed
beauagainagainagainagainagain wants to merge 0 commit into
codex/create-new-repositoryfrom
codex/create-virtual-container-for-terminal-tasks-41rmft
Closed

Handle parent directory traversal in virtual container#14
beauagainagainagainagainagain wants to merge 0 commit into
codex/create-new-repositoryfrom
codex/create-virtual-container-for-terminal-tasks-41rmft

Conversation

@beauagainagainagainagainagain
Copy link
Copy Markdown
Owner

Summary

  • clamp virtual container path resolution so parent directory traversal stays rooted and handles empty/relative segments safely
  • extend the test suite to cover POSIX-style cd .. behavior and ensure symlinks cannot escape the sandbox

Testing

  • pytest tests/scripts/test_virtual_container.py

https://chatgpt.com/codex/tasks/task_e_68d01fad03a0832090cc7c208b9a4c9a

@github-actions github-actions Bot closed this Sep 22, 2025
@github-actions github-actions Bot force-pushed the codex/create-virtual-container-for-terminal-tasks-41rmft branch from a3ecec6 to 677cfef Compare September 22, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant