testdisk-wip
maintainer eugene
· 22 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is downloaded from the project's official domain (cgsecurity.org), which is plausibly the project's own infrastructure; the package builds from source and does not execute untrusted prebuilt binaries, making this a normal AUR packaging practice despite the non-whitelisted host and skipped checksum.
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 95%): The source is downloaded from the project's official domain (cgsecurity.org), which is plausibly the project's own infrastructure; the package builds from source and does not execute untrusted prebuilt binaries, making this a normal AUR packaging practice despite the non-whitelisted host and skipped checksum.
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:16
source=(https://www.cgsecurity.org/testdisk-$pkgver-WIP.tar.bz2)
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: Steven Honeyman <stevenhoneyman at gmail com>
2
3
pkgname=testdisk-wip
4
pkgver=7.3
5
pkgrel=1
6
pkgdesc="Checks and undeletes partitions. Includes PhotoRec signature based recovery tool. WIP version"
7
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
8
url="https://www.cgsecurity.org/wiki/TestDisk"
9
license=(GPL-2.0-or-later)
10
depends=('libjpeg' 'ntfsprogs')
11
optdepends=('libewf: support EnCase files'
12
'qt5-base: QPhotoRec GUI')
13
makedepends=('qt5-tools')
14
conflicts=('testdisk')
15
provides=('testdisk')
16
source=(https://www.cgsecurity.org/testdisk-$pkgver-WIP.tar.bz2)
17
#md5sums=('5d239865543019227c4ac5052066da6f')
18
md5sums=('SKIP') # they update the source without changing the filename...
19
20
prepare() {
21
cd "$srcdir/testdisk-$pkgver-WIP"
22
23
# Some fixes to make it Qt5 capable
24
sed -i '/<QWidget>/d' src/*.h src/*.cpp
25
}
26
27
build() {
28
cd "$srcdir/testdisk-$pkgver-WIP"
29
export QTGUI_LIBS="$(pkg-config Qt5Widgets --libs)"
30
export QTGUI_CFLAGS="-fPIC $(pkg-config Qt5Widgets --cflags)"
31
32
# add --disable-qt if you do not have qt5-base
33
./configure --prefix=/usr --enable-sudo
34
make
35
}
36
37
package() {
38
cd "$srcdir/testdisk-$pkgver-WIP"
39
make DESTDIR="$pkgdir" install
40
}
41
42
# vim:set ts=2 sw=2 et:
43
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |