treecomp
The package downloads source and icon files from the author's personal website, which is not on a standard host whitelist, but the content consists of a prebuilt Windows executable meant to be run under Wine and a GIF icon; the worst case of a swapped source would be code execution via the unverifiable binary, but this is the project's official distribution point and the package otherwise follows standard AUR practices for a freeware tool.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads source and icon files from the author's personal website, which is not on a standard host whitelist, but the content consists of a prebuilt Windows executable meant to be run under Wine and a GIF icon; the worst case of a swapped source would be code execution via the unverifiable binary, but this is the project's official distribution point and the package otherwise follows standard AUR practices for a freeware tool.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:11
source=("https://lploeger.home.xs4all.nl/TreeComp${pkgver}_noinstall.zip"
PKGBUILD
1 offending line(s) highlighted# Maintainer: mhaquila <mhaquila ad pharosmaris dot com>
pkgname=treecomp
pkgver=20191106
pkgrel=2
pkgdesc='Interactive utility to keep 2 directory trees and the files within the directories in sync'
arch=('any')
url='https://lploeger.home.xs4all.nl/TreeComp.htm'
license=('custom: Free to use and share (see: https://lploeger.home.xs4all.nl/TreeComp3.htm#freeware)')
depends=('wine'
'hicolor-icon-theme')
source=("https://lploeger.home.xs4all.nl/TreeComp${pkgver}_noinstall.zip"
"https://lploeger.home.xs4all.nl/TreeCompIcon.gif")
noextract=("TreeComp${pkgver}_noinstall.zip")
sha256sums=('367f5c28a8c86381c07fead7e295e73db426fb33c874e8eabf3bde326c11d55b'
'734918bc25db284cb788b81f2eab3cceee90cae2581d1941ad924cb5d8b16584')
prepare() {
cd "$srcdir/"
cat << 'EOF' > "$pkgname.desktop"
[Desktop Entry]
Version=$pkgver
Type=Application
Name=TreeComp
Name[en]=TreeComp
Name[fr]=TreeComp
Name[it]=TreeComp
GenericName=Directories trees comparator
GenericName[en]=Directories trees comparator
GenericName[fr]=Comparateur d'arborescences de répertoires
GenericName[it]=Comparatore di alberi di directory
Comment=$pkgdesc
Comment[en]=Interactive utility to keep 2 directory trees and the files within the directories in sync
Comment[fr]=Utilitaire interactif pour synchroniser 2 arborescences de répertoires et leurs fichiers
Comment[it]=Utilità interattiva per sincronizzare 2 alberi di directory e i loro file
Path=/opt/$pkgname
Exec=bash -c 'WINEARCH=win32 WINEPREFIX=$HOME/.config/$pkgname wine TreeComp.exe'
Icon=$pkgname
Keywords=folders;comparator;
Terminal=false
Categories=Utility;FileTools;
MimeType=inode/directory;
StartupNotify=false
Actions=help;
[Desktop Action help]
Name=TreeComp Help Topics
Name[en]=TreeComp Use Manual
Name[fr]=Guide d'utilisation de TreeComp
Name[it]=Manuale d'uso di TreeComp
Exec=bash -c 'WINEARCH=win32 WINEPREFIX=$HOME/.config/$pkgname wine TreeComp.chm'
EOF
unzip -o "TreeComp${pkgver}_noinstall.zip" -d "$pkgname"
}
package() {
mkdir -p "$pkgdir/usr/share/licenses/treecomp"
cat << 'EOF' > "$pkgdir/usr/share/licenses/treecomp/LICENSE.md"
# Use license
This licence is mentionned on the author site.
See https://lploeger.home.xs4all.nl/TreeComp3.htm#freeware
## Freeware note
If you like the program, pass it on to others! TreeComp is a closed source
(with the exception of "Part of the source" below) freeware program written
in Delphi.
## Part of the source
[Launch.pas](https://lploeger.home.xs4all.nl/Launch.htm) contains the part
of the source code of TreeComp that handles launching an application from
Delphi.
EOF
mkdir -p "$pkgdir/opt/$pkgname" \
"$pkgdir/usr/share/icons/hicolor/32x32/apps/" \
"$pkgdir/usr/share/applications/"
cp -afH "$srcdir/$pkgname/" \
"$pkgdir/opt/"
cp -afH "$srcdir/TreeCompIcon.gif" \
"$pkgdir/usr/share/icons/hicolor/32x32/apps/$pkgname.png"
cp -afH "$srcdir/$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |