From d38ebdc464a5dcfb422622e8652aadedd1e38263 Mon Sep 17 00:00:00 2001 From: Developer Date: Tue, 21 Apr 2026 20:04:59 -0400 Subject: [PATCH] Fix: Correct Maldet repository URL - was using wrong repo name Issue: All downloads failing because repository was 'rfxn/maldet' which doesn't exist on GitHub. The correct repository is 'rfxn/linux-malware-detect'. Testing confirmed: - Original rfxn.com URL: Returns 404 (not found) - Original GitHub paths: Repository doesn't exist - Correct repo: https://github.com/rfxn/linux-malware-detect (EXISTS and works) - Latest release: 1.6.6.1 (verified with API) - Download test: 84K successful tarball Solution: Updated download sources to use correct repository: 1. GitHub API: Direct to release 1.6.6.1 (primary) 2. GitHub main branch: Fallback to development version Removed non-functional rfxn.com URL (404 error). --- modules/security/malware-scanner.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/security/malware-scanner.sh b/modules/security/malware-scanner.sh index d4f49de..f31431f 100755 --- a/modules/security/malware-scanner.sh +++ b/modules/security/malware-scanner.sh @@ -287,10 +287,10 @@ install_maldet_only() { # Download sources in priority order # Format: "name|url|label" (using | as delimiter to avoid splitting https://) + # Note: Repository is rfxn/linux-malware-detect (not maldet) local sources=( - "rfxn|https://www.rfxn.com/downloads/maldetect-latest.tar.gz|rfxn.com (official)" - "github-api|https://api.github.com/repos/rfxn/maldet/archive/refs/heads/main.tar.gz|GitHub API" - "github|https://github.com/rfxn/maldet/archive/refs/heads/main.tar.gz|GitHub direct" + "github-api|https://api.github.com/repos/rfxn/linux-malware-detect/tarball/1.6.6.1|GitHub Release 1.6.6.1" + "github-main|https://github.com/rfxn/linux-malware-detect/archive/refs/heads/main.tar.gz|GitHub main branch" ) echo "Attempting to download from sources..."