This repository was archived by the owner on May 23, 2026. It is now read-only.
Repository navigation
v0.7.2 — Directory Traversal Fix
Security Fix
Fixes directory traversal bypass reported in code review follow-up.
- Root cause:
filepath.IsAbs()check allowed relative paths like../../../etc/passwdto skip allowlist validation - Fix: All candidate paths resolved to absolute via
filepath.Abs()before allowlist check, with separator-aware prefix matching to prevent partial directory name collisions
Full changelog: https://github.com/nlink-jp/shell-agent/blob/main/CHANGELOG.md