Skip to content

feature(plugin, clamav): Adding layer-scanning functionality using clamav plugin - #510

Closed
ktsorensenWX wants to merge 4 commits into
developfrom
feature/clamav-layer-scanning
Closed

ktsorensenWX wants to merge 4 commits into
developfrom
feature/clamav-layer-scanning

Conversation

@ktsorensenWX

@ktsorensenWX ktsorensenWX commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary
Extends ClamAV scanning to GeoPackage layer uploads. The temp file is scanned before being copied into place, reusing the same shared hook pipeline — so the ClamAV plugin's enabled/disabled state controls this the same way it does avatars/icons.

Testing

  • Backend tests for GeoPackage scan reject/error/pass
  • Frontend spec for the new error branch
  • Manual: clean upload passes, EICAR-test GeoPackage is rejected and shown in the UI (Cannot manually test with files)

@ktsorensenWX
ktsorensenWX marked this pull request as draft September 21, 2026 21:55
@ktsorensenWX

ktsorensenWX commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor Author

NOTE: clamav currently does not support geopackage file types

May just have to close this or keep it as a draft. Integrating this wouldn't impact anything, but it would be essentially an unused piece of code.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant