fdclone

LOW
maintainer envolution 7 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium source=() URL on a non-standard host 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
1# Maintainer: envolution
2# Contributor: Daichi Shinozaki <dsdseg@gmail.com>
3# Contributor: jsteel <jsteel at vorx dot com>
4# Contributor: Heeru Kiyura <M8R-p9i5nh@mailinator.net>
5# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
6# Contributor: Nathan Owe <ndowens.aur at gmail dot com>
7# shellcheck shell=bash disable=SC2034,SC2154
8
9pkgname=fdclone
10pkgver=3.01j
11pkgrel=3
12pkgdesc="Ncurses file and directory management tool"
13arch=('i686' 'x86_64')
14url="https://musashien.sourceforge.net/userdoc/fd.shtml"
15license=('LicenseRef-custom')
16depends=('ncurses')
17makedepends=('sed')
18optdepends=(unzip lha p7zip tar)
19conflicts=('fd')
20backup=("etc/$pkgname/fd2rc")
21options=(!emptydirs)
22source=(http://www.unixusers.net/src/fdclone/FD-$pkgver.tar.gz
23 01_previous_changes.patch
24 10_bts436823_remove_strip_makefile.patch
25 30_makefilein_setting.patch
26)
27sha256sums=('fe5bb67eb670dcdb1f7368698641c928523e2269b9bee3d13b3b77565d22a121'
28 'f26a79673d2b2d5c861c097cf64af588c8e1a6e52a8ed8b71f62a7ae44a9fa88'
29 '7229d17d244afeb9a6eaff5fa3016c2e5814d6c90f59d126ecfe483b81b0369c'
30 'e2094de049233b85fd419ba3989025fbed9b58869f4ea6dbe25fbd32c6de1f1b')
31_pkgname=$(echo ${pkgname^^} | sed 's/CLONE//g')
32
33prepare() {
34 cd $srcdir/$_pkgname-$pkgver
35 patch -Np1 -i ../01_previous_changes.patch
36 patch -Np1 -i ../10_bts436823_remove_strip_makefile.patch
37 patch -Np1 -i ../30_makefilein_setting.patch
38}
39
40build() {
41 export CFLAGS="${CFLAGS} -fstack-protector-strong -D_FORTIFY_SOURCE=2"
42 export LDFLAGS="${LDFLAGS} -Wl,-z,relro,-z,now"
43 cd $srcdir/$_pkgname-$pkgver
44 make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=${pkgdir}/usr CONFDIR=/etc/$pkgname everything
45}
46
47package() {
48 cd $srcdir/$_pkgname-$pkgver
49 install -dm755 "$pkgdir"/usr/share/man/man1
50 make install PREFIX="$pkgdir"/usr DESTDIR="$pkgdir/" MANTOP=$pkgdir/usr/share/man JMANDIR=$pkgdir/usr/share/man/ja/man1
51 install -m755 ./fd{,b,n}sh "$pkgdir"/usr/bin
52 install -DTm644 ./LICENSES.eng "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
53 install -d "$pkgdir/etc/$pkgname"
54 install -d "$pkgdir/usr/share/doc/$pkgname"
55 cp -r FAQ* README* TECHKNOW* ToAdmin* $pkgdir/usr/share/doc/$pkgname/
56
57 # Update the config file
58 sed -e '/^#DISPLAYMODE=/{s/^#//;s/0/6/;}' \
59 -e '/^#ANSICOLOR=/{s/^#//;s/0/1/}' \
60 -e '/^#LANGUAGE=/{s/^#//;s/""/en/}' \
61 -e '/^#SORTTYPE=/{s/^#//;s/0/1/}' \
62 _fdrc >"$pkgdir/etc/$pkgname/fd2rc"
63}
64# vim:set ts=2 sw=2 et:
65

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion