Repository navigation
v2.0.1: Security & Supply Chain Hardening
Sprawl CLI v2.0.1: Security & Supply Chain Hardening
This release incorporates comprehensive security enhancements, addressing 100% of findings from the internal security and engineering audit.
🛡️ Security Fixes & Hardening
- Path Containment Escape Patch: Patched a critical boundary escape where sibling directories sharing a prefix (e.g.,
/mountvs/mount-secrets) could bypass path containment inworkspace_fs.py. Both mount root and workspace root guards now enforce strict boundaries usingos.sep-appended comparisons. - Atomic File Renames: Replaced direct file write operations with atomic temporary file writes and renames to prevent state corruption during sudden process interruptions.
- Symlink Target Containment Validation: Added pre-flight realpath validation to ensure symlinks generated during
sprawl bindcannot escape the designated workspace boundary. - Subprocess Execution Timeouts: Enforced strict timeout boundaries across all background Git operations and CLI diagnostics to prevent indefinite terminal hangs on restricted enterprise networks.
- Automated CI Security Scans: Integrated automated Bandit AST security scanning (
bandit -c pyproject.toml) into the GitHub Actions CI pipeline, enforcing zero unresolved High/Medium security alerts onmain.
📦 Installation
pipx install git+https://github.com/sprawl-software/sprawl-cli.git@v2.0.1