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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,14 @@ Changes are organized by date, with the most recent changes listed first.
6
6
7
7
## 2026-04-10
8
8
9
+
### 🔒 CI SECURITY HARDENING: run-install-step.sh
10
+
11
+
- Added install script path validation using `realpath` to prevent directory traversal attacks; the resolved canonical path must be within `scripts/ci/` and is used in place of the raw input when invoking `bash`.
12
+
- Added log path validation to restrict log files to the current working directory, block symlinks, and reject non-regular-file targets before `touch` is called.
13
+
- Added a pre-flight check for `sudo` availability and non-interactive sudo privileges before attempting any privileged commands, producing a clear error message if either requirement is not met.
- Removed a duplicate WordPress extraction block in `scripts/functions/vhost/vhost-import.sh` that re-ran archive extraction and wp-config path detection after those steps had already completed.
0 commit comments