Skip to content

Commit 2fea361

Browse files
Cuneyt Ozturkclaude
andcommitted
docs: CHANGELOG for v2.0.1 (security hardening + 2 latent bug fixes)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent defd6d3 commit 2fea361

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## v2.0.1 — 2026-05-31
4+
5+
### Fixed
6+
7+
- **`manifest` / `guard` modes no longer crash on a clean run.** `HASH` / `PERMALINK` were unset in modes that do not anchor to the registry, so the step summary aborted with `unbound variable` under `set -u` even when verification passed. They are now initialised.
8+
- **TAMPER / FAIL results are now reported correctly.** GitHub runs composite `shell: bash` with `-e` (errexit). Because `falsify` returns exit 3 (TAMPER) and 10 (FAIL) by design, the verify line aborted the step before the exit code was captured and mapped, leaving `status=inconclusive`. The script now runs with `set +e -o pipefail` so those codes are mapped to `tamper` / `fail`.
9+
10+
### Security
11+
12+
- Removed `${{ }}` template interpolation from `run:` shell bodies: `falsify-version` now flows through an env var with a semver-format check, and `github.action_path` through an `ACTION_PATH` env var.
13+
- The locked-spec path is passed to `python` via `argv` instead of an f-string, so a claim name cannot break out of the inline script.
14+
- `registry-url` is validated as `https://`, and the registry's returned hash/permalink are validated (hex / https) and stripped of newlines before being written to `$GITHUB_OUTPUT`.
15+
- Pinned `actions/setup-python` to a commit SHA (v6.2.0).
16+
17+
### Added
18+
19+
- End-to-end integration self-test that runs the action via `uses: ./` in `manifest` mode (PASS and TAMPER), which is what surfaced the two fixes above.
20+
21+
### Notes
22+
23+
- No input or output changes. `@v2` consumers pick up these fixes automatically on the next run.
24+
325
## v2.0.0 — 2026-05-30
426

527
### Added

0 commit comments

Comments
 (0)