Skip to content

v7.3.1

Latest

Choose a tag to compare

@Jovancoding Jovancoding released this 04 Dec 01:46
· 1 commit to main since this release

Fixed

  • ClawHub skill: a symlinked data/ directory could redirect writes (SkillSpector Excessive Agency) — the Python scripts trusted data/ after resolving it, so if data/ itself was replaced by a symlink or junction, state and audit writes went wherever it pointed. All five writing scripts (blackboard.py, check_permission.py, context_manager.py, revoke_token.py, swarm_guard.py) now check containment without resolving links, refuse a symlink or junction at any directory from the project root down (including data/ and data/<env>/), and on Linux/macOS open each directory with O_NOFOLLOW, so a link swapped in mid-write is refused too. The same rules now cover every read (including validate_token.py), delete, rename, and directory creation, which previously used plain path calls. A state file with other hard links is refused before it is truncated or written, so a hard link (possible for other users' files on macOS) cannot redirect a write. test-skill-scripts.ts covers a linked data/, data/<env>/, and pending_changes/ for every script, plus hard-linked files, deletes, renames, and directory creation.

Full Changelog: v7.3.0...v7.3.1