Skip to content

core: _gitexec trusted-executable path validation untested (coverage-003) #322

Description

@SUaDtL

Branch: feat/pi-support · Tribunal run 2026-07-17-pi-support-branch · Finding: findings/coverage/coverage-003.json
core/pysrc/_gitexec.py:16-37 _trusted_environment_path has no direct unit test.

Activity

  1. added a commit that references this issue on Jul 17, 2026
    69e787b
  2. SUaDtL commented on Jul 20, 2026

    @SUaDtL
    CollaboratorAuthor

    Verified against PR #313 head 9ed248f4: plugins/ca/hooks/tests/test_gitexec.py directly exercises _gitexec._trusted_environment_path for missing, relative, nonexistent, non-file, non-executable, and valid executable paths. The cross-host hook matrix is green on Linux, macOS, and Windows. This finding is implemented on #313, which now carries Closes #322.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    sev:medTribunal/triage: medium severity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions