{"id":29190725,"url":"https://github.com/owncloud/files_antivirus","last_synced_at":"2025-07-02T00:11:03.124Z","repository":{"id":23241981,"uuid":"26599712","full_name":"owncloud/files_antivirus","owner":"owncloud","description":" :space_invader: virus scanner for ownCloud","archived":false,"fork":false,"pushed_at":"2025-06-26T12:06:46.000Z","size":1788,"stargazers_count":47,"open_issues_count":14,"forks_count":31,"subscribers_count":68,"default_branch":"master","last_synced_at":"2025-06-27T21:13:47.222Z","etag":null,"topics":["owncloud-app"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owncloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-11-13T17:40:58.000Z","updated_at":"2025-06-26T12:06:47.000Z","dependencies_parsed_at":"2024-03-25T12:29:21.328Z","dependency_job_id":"3d6934c1-a008-494b-bcb1-0bf34557e6d1","html_url":"https://github.com/owncloud/files_antivirus","commit_stats":null,"previous_names":[],"tags_count":180,"template":false,"template_full_name":null,"purl":"pkg:github/owncloud/files_antivirus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Ffiles_antivirus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Ffiles_antivirus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Ffiles_antivirus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Ffiles_antivirus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owncloud","download_url":"https://codeload.github.com/owncloud/files_antivirus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Ffiles_antivirus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263052430,"owners_count":23406106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["owncloud-app"],"created_at":"2025-07-02T00:11:02.305Z","updated_at":"2025-07-02T00:11:03.079Z","avatar_url":"https://github.com/owncloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ownCloud Antivirus App   \n\nfiles_antivirus is an antivirus app for [ownCloud](https://github.com/owncloud) based on [ClamAV](http://www.clamav.net).\n\n## Details\n\nThe idea is to check for virus at upload-time, notifying the user (on screen and/or email) and\nremove the file if it's infected.\n\n## QA metrics on master branch:\n\n[![Build Status](https://drone.owncloud.com/api/badges/owncloud/files_antivirus/status.svg?branch=master)](https://drone.owncloud.com/owncloud/files_antivirus)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=owncloud_files_antivirus\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=owncloud_files_antivirus)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=owncloud_files_antivirus\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=owncloud_files_antivirus)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=owncloud_files_antivirus\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=owncloud_files_antivirus)\n\n## Status\n\nThe App is not complete yet, the following works/is done:\n* It can be configured to work with the executable or the daemon mode of ClamAV\n* If used in daemon mode it can connect through network- or local file-socket\n* In daemon mode, it sends files to a remote/local server using INSTREAM command\n* When the user uploads a file, it's checked\n* If an uploaded file is infected, it's deleted and a notification is shown to the user on screen and an email is sent with details.\n* Tested in Linux only\n* Background Job to scan all files\n* Test uploading from clients\n* File size limit\n\n## ToDo\n\n* Configurations Tuneups\n* Other OS Testing\n* Look for ideas :P\n\n## Requirements\n\n* ClamAV (Binaries or a server running ClamAV in daemon mode)\n\n\n## Install\n\n* Install and enable the App\n* Go to Admin Panel and [configure](https://doc.owncloud.com/server/next/admin_manual/configuration/server/virus-scanner-support.html) the App\n\n## Enterprise Feature: ICAP Antivirus integration\n\nThe Files Antivirus app can support the [ICAP](https://tools.ietf.org/html/rfc3507) protocol if you are using the ownCloud Enterprise Edition.\n\nUsing the ICAP mode requires a valid enterprise license. If no license key is present, it will trigger the grace period to obtain a valid key.\nAfter the expiration of the grace period / license key, the files_antivirus app will be disabled.\n\n### Run with c-icap/clamav\n\nc-icap has a built-in clamav module see https://sourceforge.net/p/c-icap/wiki/ModulesConfiguration/\n\nAn out-of-the-box docker image  _for testing purpose_ is available at https://hub.docker.com/r/deepdiver/icap-clamav-service\n\nFor simple local testing run docker run -ti deepdiver/icap-clamav-service and get it's ip using docker inspect.\nThe IP address needs to be setup in the configuration - see above\n\nThe request service for clamav has to be set to 'avscan' and the response header to 'X-Infection-Found'\n\n\n### Run with Kaspersky\n\nKaspersky provides docker images as well (https://box.kaspersky.com/d/c8d8577dc2494256b45e/)\nFollow the instructions in Kaspersky ScanEngine for Kubernetes.7z\n\nAdditional configuration: \nEnable Allow204 - this is necessary to tell kav to not send back the file contents.\nsee https://support.kaspersky.com/ScanEngine/1.0/en-US/201151.htm\n\nThe request service for clamav has to be set to 'req' and the response header to 'X-Virus-ID'\n\n\nNOTE: The older versions of KAV did not send back the virus/infection name in an icap header.\n\nIn v2.0.0 the header to transport the virus can be configured. Default: No header is sent.\nsee https://support.kaspersky.com/ScanEngine/1.0/en-US/201214.htm\n\n\n### Run with FortiSandbox in ICAP Mode\n\nSelect 'Fortinet' from the dropdown.\n\nThe request service for FortiSandbox has to be set to 'respmod' and the response header to 'X-Virus-Name'.\n\nFortinet provides product trials of FortiSandbox, please have a look at [Fortinet](https://www.fortinet.com/de/products/sandbox/fortisandbox).\n\n\n### Run with McAfee Web Gateway 10.x and higher in ICAP Mode\n\nSelect 'McAfee Web Gateway 10.x and higher' from the dropdown.\n\nThe request service for McAfee has to be set to 'respmod' and the response header to 'X-Virus-Name'.\n\nMcAfee provides product trial for evaluation purposes. Have a look at [the McAfee Webpage](https://www.skyhighsecurity.com/en-us/products/secure-web-gateway.html) for the Web Gateway.\n\nNote: Product is now called 'Skyhigh Secure Web Gateway'\n\nAuthors:\n\n[Manuel Delgado López](https://github.com/valarauco/) :: manuel.delgado at ucr.ac.cr  \n[Bart Visscher](https://github.com/bartv2/)  \n[Viktar Dubiniuk](https://github.com/vicdeo/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowncloud%2Ffiles_antivirus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowncloud%2Ffiles_antivirus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowncloud%2Ffiles_antivirus/lists"}