fdclone

maintainer envolution · 7 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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