fdclone
The source is a tarball from a non-whitelisted host, but it is the project's own source code being built; the worst case of a swapped source is building malicious code, but this is standard for AUR packages and not inherently malicious.
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 90%): The source is a tarball from a non-whitelisted host, but it is the project's own source code being built; the worst case of a swapped source is building malicious code, but this is standard for AUR packages and not inherently malicious.
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:22
source=(http://www.unixusers.net/src/fdclone/FD-$pkgver.tar.gz
PKGBUILD
1 offending line(s) highlighted# Maintainer: envolution
# Contributor: Daichi Shinozaki <dsdseg@gmail.com>
# Contributor: jsteel <jsteel at vorx dot com>
# Contributor: Heeru Kiyura <M8R-p9i5nh@mailinator.net>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Nathan Owe <ndowens.aur at gmail dot com>
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=fdclone
pkgver=3.01j
pkgrel=3
pkgdesc="Ncurses file and directory management tool"
arch=('i686' 'x86_64')
url="https://musashien.sourceforge.net/userdoc/fd.shtml"
license=('LicenseRef-custom')
depends=('ncurses')
makedepends=('sed')
optdepends=(unzip lha p7zip tar)
conflicts=('fd')
backup=("etc/$pkgname/fd2rc")
options=(!emptydirs)
source=(http://www.unixusers.net/src/fdclone/FD-$pkgver.tar.gz
01_previous_changes.patch
10_bts436823_remove_strip_makefile.patch
30_makefilein_setting.patch
)
sha256sums=('fe5bb67eb670dcdb1f7368698641c928523e2269b9bee3d13b3b77565d22a121'
'f26a79673d2b2d5c861c097cf64af588c8e1a6e52a8ed8b71f62a7ae44a9fa88'
'7229d17d244afeb9a6eaff5fa3016c2e5814d6c90f59d126ecfe483b81b0369c'
'e2094de049233b85fd419ba3989025fbed9b58869f4ea6dbe25fbd32c6de1f1b')
_pkgname=$(echo ${pkgname^^} | sed 's/CLONE//g')
prepare() {
cd $srcdir/$_pkgname-$pkgver
patch -Np1 -i ../01_previous_changes.patch
patch -Np1 -i ../10_bts436823_remove_strip_makefile.patch
patch -Np1 -i ../30_makefilein_setting.patch
}
build() {
export CFLAGS="${CFLAGS} -fstack-protector-strong -D_FORTIFY_SOURCE=2"
export LDFLAGS="${LDFLAGS} -Wl,-z,relro,-z,now"
cd $srcdir/$_pkgname-$pkgver
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=${pkgdir}/usr CONFDIR=/etc/$pkgname everything
}
package() {
cd $srcdir/$_pkgname-$pkgver
install -dm755 "$pkgdir"/usr/share/man/man1
make install PREFIX="$pkgdir"/usr DESTDIR="$pkgdir/" MANTOP=$pkgdir/usr/share/man JMANDIR=$pkgdir/usr/share/man/ja/man1
install -m755 ./fd{,b,n}sh "$pkgdir"/usr/bin
install -DTm644 ./LICENSES.eng "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
install -d "$pkgdir/etc/$pkgname"
install -d "$pkgdir/usr/share/doc/$pkgname"
cp -r FAQ* README* TECHKNOW* ToAdmin* $pkgdir/usr/share/doc/$pkgname/
# Update the config file
sed -e '/^#DISPLAYMODE=/{s/^#//;s/0/6/;}' \
-e '/^#ANSICOLOR=/{s/^#//;s/0/1/}' \
-e '/^#LANGUAGE=/{s/^#//;s/""/en/}' \
-e '/^#SORTTYPE=/{s/^#//;s/0/1/}' \
_fdrc >"$pkgdir/etc/$pkgname/fd2rc"
}
# vim:set ts=2 sw=2 et:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |