Skip to content

[repo] Avoid CodeQL findings for read-only os.open calls - #594

Merged
sethwv merged 2 commits into
Dispatcharr:mainfrom
sethwv:fix-codeql-readonly-open
Nov 21, 2026
Merged

sethwv merged 2 commits into
Dispatcharr:mainfrom
sethwv:fix-codeql-readonly-open

Conversation

@sethwv

@sethwv sethwv commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

Excludes explicitly read-only os.open calls from the filesystem bypass finding while retaining findings for write-capable and unknown flags.

Adds regression tests and updates the security documentation.

Tested: all 17 CodeQL query tests pass.

Keep write-capable and unknown flags as review findings, and add
regression coverage for read-only directory locks.
@dispatcharr-plugins-bot dispatcharr-plugins-bot Bot added the Repo Update Scripts or other repository infrastructure. label Nov 21, 2026
@sethwv
sethwv merged commit 41a87af into Dispatcharr:main Nov 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Repo Update Scripts or other repository infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant