Skip to content

fix(clamav): keep the full-scan file list private - #2908

Open
szaimen wants to merge 1 commit into
mainfrom
fix/clamav-private-scanlist
Open

szaimen wants to merge 1 commit into
mainfrom
fix/clamav-private-scanlist

Conversation

@szaimen

@szaimen szaimen commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

The weekly full scan wrote the list of every file on the system to a fixed, world-readable /tmp/scanlist, and left it behind whenever the scan pipeline failed. Any local user could read it. Create the list with mktemp so only root can read it, and remove it on exit.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

The weekly full scan wrote the list of every file on the system to a
fixed, world-readable /tmp/scanlist, and left it behind whenever the
scan pipeline failed. Any local user could read it. Create the list
with mktemp so only root can read it, and remove it on exit.

Assisted-by: Claude Code:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
@szaimen

szaimen commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator Author

@enoch85 is this ok for you?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant